Open dazinator opened 6 years ago
Pack this project file:
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>netstandard20</TargetFramework> <IncludeBuildOutput>false</IncludeBuildOutput> </PropertyGroup> <ItemGroup> <Content Include="foo.txt"> </Content> </ItemGroup> </Project>
(You will need to create the foo.txt file in the project directory).
Directory contents:
/ - foo.txt
Command line
msbuild /t:pack
Nuget package does not have any dependencies.
The nuspec file in the produced nuget package expresses the following dependency:
<dependencies> <group targetFramework=".NETStandard2.0" /> </dependencies>
msbuild /version output: 15.5.180.51428
msbuild /version
OS info: windows 10
Two years and still no resolution?
Steps to reproduce
Pack this project file:
(You will need to create the foo.txt file in the project directory).
Directory contents:
Command line
Expected behavior
Nuget package does not have any dependencies.
Actual behavior
The nuspec file in the produced nuget package expresses the following dependency:
Environment data
msbuild /version
output: 15.5.180.51428OS info: windows 10