Updating nuget packages removes item group condition.

When I use rider to update my nuget packages it removes the packages from their current item group and adds it to a new one, removing a conditional that I have setup.

I have packages that I don't want including in a release build, but updating the package puts them back in. Is this a bug or is there some obscure option I can set to prevent this?

<ItemGroup Condition="'$(Configuration)' != 'Release'">
1 comment
Comment actions Permalink

Hello Carl, could you please reproduce the issue, collect Logs right after that via Help | Collect Logs, copy csproj file before and after the change and send the information to us with a new issue on tracker for further investigation. Thank you in advance!

0

Please sign in to leave a comment.