一旦包含 postsharp 库,我就无法更改分支

I can not change branches once the postsharp library is included

当我尝试更改我的 postsharp 分支时(我在我的项目中使用免费许可证 porbando 这个扩展)并且它给了我 git 这个错误,我可以说它可以是

无法 rmdir 'C: /Users/johanAdmin/Repos/ProcessEDT/packages/PostSharp.4.3.33/lib/net35-client/PostSharp.xml': 访问被拒绝。

我的猜测是这与 Postsharp 无关,而是与 Nuget 包中的 xml 文件有关。根据此 https://github.com/microsoft/visualfsharp/issues/57,在 VS2013 和后面使用带有 XML 文件的 Nuget 包的 C# 和 F# 项目存在问题。所以你应该升级到 VS2017。