TFS 2018 Build Fails with Core 2.1 and Microsoft.Windows.Compatibility 2.0.1

大憨熊 提交于 2019-12-14 03:28:25

问题


On prem TFS 2018 Build fails - New .Net Core 2.1 MVC project. add this package PM: Install-Package System.DirectoryServices -Version 4.5.0 Use TFS 2018 Build Agent: Build Fails.


回答1:


After much research, the cproj file is hidden and you can only edit it via the menu in Visual Studio. Anyway, this file did not get Updated in TFS 2018 after adding the System.DirectoryServices package. Therefore, what the TFS 2018 Build server did was correct - looked at the cproj file and found assembly missing. I went to the Server and edited the cproj file to add the assembly and solved the problem.



来源:https://stackoverflow.com/questions/53660049/tfs-2018-build-fails-with-core-2-1-and-microsoft-windows-compatibility-2-0-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!