As of Rider version 18.2 nupkg files are no longer create during build
Answered
As of Rider version 18.2 nupkg files are no longer create during build. Is there a new property or something that I need to set to get this to work. Is has been working for all of my dotnet core projects and just quit after the latest update. Any help is appreciated.
Please sign in to leave a comment.
Hi, Darren.
Thank you for contacting us.
By default "Build" command shouldn't create .nupkg files. To do that you need to use "Pack" command (Right Click Menu | Advanced Build Actions | Pack Selected Project).
Could you please send me some additional information:
1. what did you do to generate .nupkg. Did you just press the "Build" dutton or sth else?
2. please send a screenshot of "Preferences | Build, Execution, Deployment | Toolset and Build" in the 2018.1 and in 2018.2 Riders
3. MSBuild logs from 2018.1 and in 2018.2 Riders
4. Also I need your .csproj file (is there any custom target for generationg nupkg?).
Kind regards,
Sofia.
Sofia,
To generate the .nupkg files I am using the new dotnet core project files and setting the parameter <GeneratePackageOnBuild>True</GeneratePackageOnBuild>. With that set the .nupkg file automatically gets created during the build.
Please find attached the Preferences screen shots you requested.
Some instruction on how to provide the build logs you asked for would be appreciated.
Please find attached an image of a .csproj file from my project that no longer creates .nupkg files.
Please let me know if you need anything else to help.
Warm regards
Darren
Any update on this?
Hi,
Sorry for the delay in answer.
MSBuild Logs are located here
But first let's try to untick the checkbox "Use ReSharper Build" in "Preferences | Build, Execution, Deployment | Toolset and Build". After that, please, try to build your project again. If it does not help please, send me MSBuild logs.
Kind regards,
Sofia.