New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET: Updating NuGet packages through packages.config breaks project files (.csproj/.vbproj/etc) #1422
Labels
F: configuration-file
F: language-support
Issues specific to a particular language or ecosystem; may be paired with an L: label.
L: dotnet:nuget
NuGet packages via nuget or dotnet
T: bug 🐞
Something isn't working
Comments
skolima
changed the title
.NET: Updating Microsoft.Net.Compilers through packages.config skips updating projects
.NET: Updating NuGet packages through packages.config skips updating projects
Oct 2, 2019
skolima
changed the title
.NET: Updating NuGet packages through packages.config skips updating projects
.NET: Updating NuGet packages through packages.config breaks project files (.csproj/.vbproj/etc)
Oct 2, 2019
feelepxyz
added
T: feature-request
Requests for new features
T: bug 🐞
Something isn't working
and removed
T: feature-request
Requests for new features
labels
Oct 23, 2019
This comment was marked as outdated.
This comment was marked as outdated.
We are also seeing this on our projects. |
infin8x
added
F: language-support
Issues specific to a particular language or ecosystem; may be paired with an L: label.
P1
labels
Jul 20, 2020
Here's an example where I ran into this. I keep having to add my own manual commits to make the build work |
ahwm
added a commit
to ahwm/svn-manager
that referenced
this issue
Aug 21, 2020
Disabling due to dependabot/dependabot-core#1422
I do not think they will fix this. Migrating to the SDK style project format (independent of target framework) should be a workable solution, though. Or use nukeeper. |
Reported in 2019 and still broken. |
xvitaly
added a commit
to xvitaly/mhed
that referenced
this issue
Jul 23, 2022
See also: dependabot/dependabot-core#1422 This reverts commit 209dc05.
This was referenced Jun 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
F: configuration-file
F: language-support
Issues specific to a particular language or ecosystem; may be paired with an L: label.
L: dotnet:nuget
NuGet packages via nuget or dotnet
T: bug 🐞
Something isn't working
In "legacy" .NET Classic Framework, using NuGet reference format
packages.config
, NuGet will automatically update the.csproj
files to import.props
files included in the package. Dependabot does not follow this behaviour currently, leading to broken imports - the import is left as it was, pointing to the previous version of the package.Sample package using this behaviour: https://www.nuget.org/packages/Microsoft.Net.Compilers
Sample diff when upgrading via Visual Studio:
Longer explanation how the
.props
files are handled - on Stack Overflowrelates to #541
The text was updated successfully, but these errors were encountered: