PowerShell/tools/packaging/projects/nuget/package.csproj
2021-02-08 17:13:33 -08:00

17 lines
696 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<!--
Due to https://github.com/dotnet/sdk/issues/1021
When packaging we must build something.
So, we are building an empty assembly called NotUsed, and discarding it.
-->
<PropertyGroup>
<AssemblyName>NotUsed</AssemblyName>
<Description>PowerShell nuget package with .NET CLI host including everything needed to run it.</Description>
<NuspecFile>powershell.nuspec</NuspecFile>
<NuspecProperties>runtime=$(RID);version=$(SemVer);PackageName=$(PackageName)</NuspecProperties>
<NuspecBasePath>$(StagingPath)</NuspecBasePath>
<IsTool>True</IsTool>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>