Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Cannot generate a Nuget package (.nupkg file)

$
0
0

I have a class library project and I can build and rebuild the project properly. When I try to create a pack for my project, I get an error saying :

The file 'C:\Users\Test\..\Debug\netstandard2.0\MyApi\MyApi.dll' to be packed was not found on the disk.

My .csproj file looks like this :

<Project Sdk = "Microsoft.NET.Sdk"><PropertyGroup><TargetFramework>netstandard2.0</TargetFramework><OutDir>$(DIstributionDir)</OutDir><ProductReferenceAssemblyInOutDir>true</ProductReferenceAssemblyInOutDir></PropertyGroup></Project>

I have the nuget.exe of version v6.2.0


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>