diff options
Diffstat (limited to 'src/ILLink.Tasks/ILLink.Tasks.csproj')
-rw-r--r-- | src/ILLink.Tasks/ILLink.Tasks.csproj | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/ILLink.Tasks/ILLink.Tasks.csproj index 401706729..73501b1bf 100644 --- a/src/ILLink.Tasks/ILLink.Tasks.csproj +++ b/src/ILLink.Tasks/ILLink.Tasks.csproj @@ -1,17 +1,15 @@ <Project Sdk="Microsoft.NET.Sdk"> - <Import Project="$(MSBuildThisFileDirectory)../../eng/Versions.props" Condition=" '$(ArcadeBuild)' != 'true' " /> <PropertyGroup> - <TargetFrameworks>netcoreapp2.0;net472</TargetFrameworks> - <TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp2.0</TargetFrameworks> + <TargetFrameworks>netcoreapp3.0;net472</TargetFrameworks> <EnableDefaultCompileItems>false</EnableDefaultCompileItems> - <BaseOutputPath>bin/</BaseOutputPath> - <PackageOutputPath>$(BaseOutputPath)nupkgs</PackageOutputPath> <IsPackable>true</IsPackable> <PackageLicenseExpression>MIT</PackageLicenseExpression> <Description>MSBuild tasks for running the IL Linker</Description> <!-- Don't include the build output. Instead, we want to include the TargetFramework-specific publish output. --> <IncludeBuildOutput>false</IncludeBuildOutput> + <!-- Suppress NuGet warning for package which sets IncludeBuildOutput=false, see https://github.com/NuGet/Home/issues/8583 --> + <NoWarn>$(NoWarn);NU5128</NoWarn> <!-- We want to package the tasks package together with its transitive dependencies and the linker, without marking them as dependencies in the tasks package. @@ -77,7 +75,7 @@ </Target> <ItemGroup> - <ProjectReference Include="../linker/Mono.Linker.csproj" PrivateAssets="All" Condition=" '$(TargetFramework)' == 'netcoreapp2.0' " /> + <ProjectReference Include="../linker/Mono.Linker.csproj" PrivateAssets="All" /> <ProjectReference Include="../../external/cecil/Mono.Cecil.csproj" PrivateAssets="All" /> </ItemGroup> @@ -90,5 +88,6 @@ <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" PrivateAssets="All" ExcludeAssets="Runtime" /> <PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" Condition=" '$(TargetFramework)' == 'net472' " PrivateAssets="All" Publish="True" /> + <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" /> </ItemGroup> </Project> |