An open API service indexing awesome lists of open source software.

https://github.com/f2calv/vs-nuget-issue

demo of nuget annoyances in vs
https://github.com/f2calv/vs-nuget-issue

Last synced: about 1 month ago
JSON representation

demo of nuget annoyances in vs

Awesome Lists containing this project

README

          

# Annoyances in Visual Studio 2019/2022

## Directory.Build.props

- VS finds outdated NuGet dependencies in Directory.Build.props - GREAT :)
- When you attempt to update that outdated dependency instead of updating the `Directory.Build.props` file VS adds the new dependency version to all CSPROJ files instead - NOT GREAT :(

[GitHub Issue](https://github.com/NuGet/Home/issues/10850)

## Unable to ignore outdated dependencies

MyLibrary.csproj has multiple target frameworks, a package reference for the netstandard2.0 target is deliberately old due to breaking changes in newer versions;

```xml


netstandard2.0;net5.0;net6.0
enable








```

Every time you use NuGet package explorer in VS it will attempts to update the older dependency which is annoying :(
There is no way to `ignore` or `skip` the older package version... or is there?