-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show error when using nuget.exe to pack SDK csproj #7778
Comments
This is the only logical solution, since the NuGet team apparently isn't interested in adding critical functionality to their app - merely making it look like it works when it actually doesn't, then ignoring the fact that it doesn't actually work for the next two-and-a-half years. |
It is not supported and doesn't work, see [Show error when using nuget.exe to pack SDK csproj](NuGet/Home#7778)
@rrelyea @anangaur Thoughts? This is a "breaking" change but would greatly help newcomers. For example: NuGet/docs.microsoft.com-nuget#1700 |
The problem with "nuget pack" is known since 2017. @microsoft: Will you please do something about it? |
Proposal for this change is out in #12088. |
Updated documentation to show depreciated pack command on Nuget CLI Show error when using nuget.exe to pack SDK csproj #7778 NuGet/Home#7778
According to this and this discussions, NuGet.exe is not supported for packing SDK projects. The current experience is confusing as it seems like NuGet.exe pack "works" but ignores properties set in the project. Instead, NuGet.exe should show a helpful error message that guides users to use dotnet.exe instead.
Design - #12088
The text was updated successfully, but these errors were encountered: