Severity Code Description Project File Line Suppression State
Error Could not locate
C:\Users\me\Source\Repos\TT\Windows\MyCommonLibrary\packages.config.
Ensure that this project has Microsoft.Bcl.Build installed and
packages.config is located next to the project
file. MyApp
‘MyApp’有一个项目参考’MyCommonLibrary’.
什么是奇怪的是,即使它被显示为一个构建’错误’.这不影响我构建“MyApp”或“MyCommonLibrary”的能力!
它也不会阻止我在本地或其他方面部署和运行我的应用程序.看到这个列表是一个构建错误,当它不会打破构建时,这只是一个烦人的事情!
Correct,the problem is most of the packages out there that use it also don’t know about UWP either and if they update for UWP we want them to drop this dependency rather than make it work. The package isn’t needed at all for UWP or any framework that supports project.json.
To work around the error with the old package do the following:
Add <SkipValidatePackageReferences>true</SkipValidatePackageReferences> to the at the top of your csproj/vbproj