{"id":21823468,"url":"https://github.com/f2calv/vs-nuget-issue","last_synced_at":"2026-05-06T21:39:52.733Z","repository":{"id":98598417,"uuid":"397874924","full_name":"f2calv/vs-nuget-issue","owner":"f2calv","description":"demo of nuget annoyances in vs","archived":false,"fork":false,"pushed_at":"2021-08-19T08:52:22.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T11:36:41.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/f2calv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-19T08:41:25.000Z","updated_at":"2021-08-19T08:52:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4122b18-829a-4779-94c8-3cd97f796dc7","html_url":"https://github.com/f2calv/vs-nuget-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/f2calv/vs-nuget-issue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2Fvs-nuget-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2Fvs-nuget-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2Fvs-nuget-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2Fvs-nuget-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f2calv","download_url":"https://codeload.github.com/f2calv/vs-nuget-issue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2calv%2Fvs-nuget-issue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T17:32:16.771Z","updated_at":"2026-05-06T21:39:52.717Z","avatar_url":"https://github.com/f2calv.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Annoyances in Visual Studio 2019/2022\n\n## Directory.Build.props\n\n- VS finds outdated NuGet dependencies in Directory.Build.props - GREAT :)\n- 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 :(\n\n[GitHub Issue](https://github.com/NuGet/Home/issues/10850)\n\n## Unable to ignore outdated dependencies\n\nMyLibrary.csproj has multiple target frameworks, a package reference for the netstandard2.0 target is deliberately old due to breaking changes in newer versions;\n\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n\n  \u003cPropertyGroup\u003e\n    \u003cTargetFrameworks\u003enetstandard2.0;net5.0;net6.0\u003c/TargetFrameworks\u003e\n    \u003cNullable\u003eenable\u003c/Nullable\u003e\n  \u003c/PropertyGroup\u003e\n\n  \u003cItemGroup Condition=\"'$(TargetFramework)' == 'netstandard2.0'\"\u003e\n    \u003cPackageReference Include=\"MessagePack\" Version=\"1.9.11\" /\u003e\n  \u003c/ItemGroup\u003e\n  \u003cItemGroup Condition=\"'$(TargetFramework)' == 'net5.0' OR '$(TargetFramework)' == 'net6.0'\"\u003e\n    \u003c!--breaking changes in MessagePack v2, see https://github.com/neuecc/MessagePack-CSharp/issues/744 --\u003e\n    \u003cPackageReference Include=\"MessagePack\" Version=\"2.3.75\" /\u003e\n    \u003cPackageReference Include=\"MessagePackAnalyzer\" Version=\"2.3.75\" /\u003e\n  \u003c/ItemGroup\u003e\n\n\u003c/Project\u003e\n```\n\nEvery time you use NuGet package explorer in VS it will attempts to update the older dependency which is annoying :(\nThere is no way to `ignore` or `skip` the older package version... or is there?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2calv%2Fvs-nuget-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff2calv%2Fvs-nuget-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2calv%2Fvs-nuget-issue/lists"}