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

Azure Pipelines build error nuget command failed with exit code(1) and error(Error NU5012: Unable to find... Make sure the project has been built

$
0
0

I have been wrestling with Azure pipelines to build some nuget packages into an artifact feed but I cannot get past the "Nuget Pack" job I have set up for the pipeline. It is failing when trying to find the NCrunch.Framework.dll. The other .ddl's were packaged fine based on the job logs but something about NCrunch and azure is not agreeing and I cannot find any resources about this. I have opened the project and built it, and the "vs build" job previous to the pack job runs successfully. A few other lines I am not sure if relevant to this issue:

WARNING: NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:Add a dependency group for .NETFramework4.8 to the nuspecSuccessfully created package 'D:\a\1\a\ourbox.nupkg'.Attempting to pack file: D:\a\1\s\repo\packages\NCrunch.Framework.3.3.0.6\NCrunch.Framework.csprojC:\hostedtoolcache\windows\NuGet\5.8.1\x64\nuget.exe pack D:\a\1\s\repo\packages\NCrunch.Framework.3.3.0.6\NCrunch.Framework.csproj -NonInteractive -OutputDirectory D:\a\1\a -Properties Configuration=release;Platform=AnyCpu;version=1.0; -Verbosity DetailedError NU5012: Unable to find 'D:\a\1\s\repo\packages\ClientBinaries\Release\NCrunch.Framework.dll'. Make sure the project has been built.

Viewing all articles
Browse latest Browse all 3067

Trending Articles



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