简体   繁体   English

在 Visual Studio 中升级 nuget 时出现奇怪的行为

[英]Strange behavior when upgrading nuget in Visual Studio

Using Visual Studio IDE and working with .NET Core 3.1.使用 Visual Studio IDE 并使用 .NET Core 3.1。

When I upgrade any nuget, sometimes I see it in the git changes and sometimes not.当我升级任何 nuget 时,有时我会在 git 更改中看到它,有时则不会。 I don't understand why?我不明白为什么? When does git tracks the changes? git 什么时候跟踪变化? Might it be related to the git ignore file?可能与 git ignore 文件有关吗? I tried to do it in different nugets and it looks like it doesn't relate to which nuget I upgrade.我尝试在不同的 nuget 中执行此操作,看起来它与我升级的 nuget 无关。

Using Visual Studio IDE and working with .NET Core 3.1.使用 Visual Studio IDE 并使用 .NET Core 3.1。

When I upgrade any nuget, sometimes I see it in the git changes and sometimes not.当我升级任何 nuget 时,有时我会在 git 更改中看到它,有时则不会。 I don't understand why?我不明白为什么? When does git tracks the changes? git 什么时候跟踪变化? Might it be related to the git ignore file?可能与 git ignore 文件有关吗? I tried to do it in different nugets and it looks like it doesn't relate to which nuget I upgrade.我尝试在不同的 nuget 中执行此操作,看起来它与我升级的 nuget 无关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM