nuget-cli

Error NU5012 - nuget pack unable to find path (/bin/release/MyProject/bin/release)

隐身守侯 提交于 2020-08-03 14:08:17
问题 I'm trying to update my nuget package by running the command nuget pack -properties Configuration=Release but this gives me the following error: Unable to find 'bin/Release/{project-name}/bin/Release'. Mae sure the project has been built I'm not quite sure why it goes to my Release folder and then continues to go down to another Release folder as this doesn't exist? I'm quite lost here, and I'm not sure what to do. 回答1: TL;DR For the new <Project Sdk="Microsoft.NET.Sdk"> .csproj file format,

Access Is Denied error pushing package into my azure devops artifacts nuget feed

允我心安 提交于 2019-12-11 02:02:57
问题 In my question here I managed to push one package to my feed, however I now get an Access is denied error. According to this question I should be prompted for user name and password. This did occur for the package I managed to push, but it no longer occurs. What do I need to do? Studying the docs this issue on Git is relevant [Update] Something strange has happened to my folder. I get the error if I just type Nuget at the dos prompt. If I create a new folder and extract

How to debug a nuget package without WIP features using VS 15.7 and above

本小妞迷上赌 提交于 2019-12-08 10:52:40
问题 I've read this: How to debug into my nuget package deployed from TeamCity? but for some reason my project cannot be debugged, without asking me to specify for the location of the source file. Using the following commands i was able to properly create a package (without having to add any of it in the .csproj) with symbols The package in question is located on a local nuget feed. It will prompt me for the source file during debugging, despite the nupkg containing debugging symbols+sources it