https://stackoverflow.com/questions/34147484/unable-to-restore-remove-update-a-nuget-package-because-the-mentioned-versio
https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -Version 2.0.1
https://www.nuget.org/packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -Version 2.0.1
You can manually remove the dependency by:
- Close Visual Studio (not a hard requirement, but helpful)
- In text editor, remove dependency from packages.config
- Remove package from packages/ directory
- In text editor, remove all references to package from .csproj file
- Start Visual Studio
- Reinstall package through NuGet