Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions eng/targets/Imports.targets
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@
<PropertyGroup Condition="'$(IsPackable)' == 'true' and '$(IsAnalyzer)' == 'true'">
<DevelopmentDependency>true</DevelopmentDependency>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeContentInPack>false</IncludeContentInPack>
</PropertyGroup>

Expand Down
9 changes: 6 additions & 3 deletions eng/targets/PackageProject.targets
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
<Project>
<!--
Include this targets file in project that build packages but no binaries.
Include this targets file in projects that build meta-packages.
-->

<!--
Projects in this directory do not produce useful binaries, they are only used to generate packages.
Build target only needs to build their project dependencies (via ResolveProjectReferences).
Projects that import this targets file do not produce binaries, they are only used to generate packages.
The Build target only needs to build the project's dependencies (via ResolveProjectReferences).
-->
<Target Name="CoreBuild" DependsOnTargets="ResolveProjectReferences">
<MakeDir Directories="$(IntermediateOutputPath)" ContinueOnError="True"/>
</Target>

<PropertyGroup>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>

<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
.NET Compiler Platform ("Roslyn") code style analyzers for C#.
</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>

<Target Name="_GetFilesToPackage">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
.NET Compiler Platform ("Roslyn") code style analyzers for Visual Basic.
</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>

<Target Name="_GetFilesToPackage">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<IsSourcePackage>true</IsSourcePackage>
<PackageId>Microsoft.CodeAnalysis.Debugging</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
Package containing sources of Microsoft .NET Compiler Platform ("Roslyn") debug information encoders and decoders.
</PackageDescription>
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<IsSourcePackage>true</IsSourcePackage>
<PackageId>Microsoft.CodeAnalysis.PooledObjects</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
Package containing sources of Microsoft .NET Compiler Platform ("Roslyn") pooled objects.
</PackageDescription>
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
Expand Down
2 changes: 0 additions & 2 deletions src/NuGet/Microsoft.CodeAnalysis.Compilers.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<IsPackable>true</IsPackable>
<PackageId>Microsoft.CodeAnalysis.Compilers</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
Compiler layer of the .NET Compiler Platform ("Roslyn").
Install this package to get both C# and Visual Basic support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<IsPackable>true</IsPackable>
<PackageId>Microsoft.CodeAnalysis.EditorFeatures</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
.NET Compiler Platform ("Roslyn") support for editor features inside the Visual Studio editor.
</PackageDescription>
Expand Down
4 changes: 2 additions & 2 deletions src/NuGet/Microsoft.CodeAnalysis.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<IsPackable>true</IsPackable>
<PackageId>Microsoft.CodeAnalysis</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
.NET Compiler Platform ("Roslyn").

Expand All @@ -19,6 +17,8 @@
- "Microsoft.CodeAnalysis.CSharp" (only the C# compiler)
- "Microsoft.CodeAnalysis.VisualBasic (only the VB compiler)
</PackageDescription>
<!-- Remove once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/NuGet/Microsoft.CodeAnalysis.Scripting.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<IsPackable>true</IsPackable>
<PackageId>Microsoft.CodeAnalysis.Scripting</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>
Microsoft .NET Compiler Platform ("Roslyn") CSharp and VB scripting package.
</PackageDescription>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<IsPackable>true</IsPackable>
<NuspecPackageId>Microsoft.NETCore.Compilers</NuspecPackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<DevelopmentDependency>true</DevelopmentDependency>
<PackageDescription>
CoreCLR-compatible versions of the C# and VB compilers for use in MSBuild.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<IsPackable>true</IsPackable>
<NuspecPackageId>Microsoft.Net.Compilers.Toolset</NuspecPackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<DevelopmentDependency>true</DevelopmentDependency>
<PackageDescription>
.NET Compilers Toolset Package.
Expand All @@ -17,7 +15,8 @@
$(RoslynPackageDescriptionDetails)
</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>
<NoWarn>$(NoWarn);NU5100</NoWarn>
<!-- Remove NU5128 once https://github.com/NuGet/Home/issues/8583 is fixed -->
<NoWarn>$(NoWarn);NU5100;NU5128</NoWarn>

<_DependsOn Condition="'$(TargetFramework)' == 'net472'">InitializeDesktopCompilerArtifacts</_DependsOn>
<_DependsOn Condition="'$(TargetFramework)' == 'netcoreapp2.1'">InitializeCoreClrCompilerArtifacts</_DependsOn>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<IsPackable>true</IsPackable>
<NuspecPackageId>Microsoft.Net.Compilers</NuspecPackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<DevelopmentDependency>true</DevelopmentDependency>
<PackageDescription>
.NET Compilers package.
Expand Down
2 changes: 0 additions & 2 deletions src/NuGet/VisualStudio/VS.ExternalAPIs.Roslyn.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<IsPackable>true</IsPackable>
<PackageId>VS.ExternalAPIs.Roslyn</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>CoreXT package for the VS build</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>

Expand Down
2 changes: 0 additions & 2 deletions src/NuGet/VisualStudio/VS.Tools.Roslyn.Package.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<IsPackable>true</IsPackable>
<PackageId>VS.Tools.Roslyn</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- https://github.com/NuGet/Home/issues/8583 -->
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<PackageDescription>CoreXT package for Roslyn compiler toolset.</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_GetFilesToPackage</TargetsForTfmSpecificContentInPackage>

Expand Down