NuGet包恢复不提取构建目标程序集(工具) [英] NuGet Package Restore does not fetch Build Target Assemblies (Tools)
问题描述
我在我的解决方案中添加了 Fody ProperyChanged 两个项目。在解决方案上启用软件包还原。但是,TFS Build Service失败构建时出现以下错误:
I added Fody ProperyChanged to two projects in my solution. Package Restore is enabled on the solution. However, the TFS Build Service fails building with the following error:
WindowsUI.csproj(443):导入的项目
找不到SolutionDir\Tools\Fody\Fody.targets。确认声明中的
路径正确,并且该文件在磁盘上存在
。
WindowsUI.csproj (443): The imported project "SolutionDir\Tools\Fody\Fody.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
文件夹确实不存在。我可以检查它源代码控制,显然。但是,如果不是由NuGet包恢复填充?
The folder is indeed not there. I could check it into source control, obviously. However, should it not be populated by the NuGet Package Restore? Or am I misunderstanding what NuGet Package Restore does?
推荐答案
自1.13.0.0版本发布(2013年3月23日发布)Fody is一个100%nuget部署的工具,因此它将与包恢复工作。
As of version 1.13.0.0 (released March 23, 2013) Fody is a 100% nuget deployed tool and as such it will work with package restore.
https://nuget.org/packages/Fody/
当你安装Fody Nuget时会出现
< a href =https://github.com/Fody/Fody/blob/master/NuGet/readme.txt =nofollow> https://github.com/Fody/Fody/blob/master/NuGet/ readme.txt
This will appear when you install the Fody Nuget https://github.com/Fody/Fody/blob/master/NuGet/readme.txt
这篇关于NuGet包恢复不提取构建目标程序集(工具)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!