I have .csproj
项目,我想参考其他项目.xproj
,一切看起来都很好,但是当我尝试构建解决方案时,我却不能,因为 .dll 丢失了。当我引用.dll
from \bin\release\net452\...
本身那么一切都好。如何解决这个问题?
编辑:我不是在寻找解决方法 - 现在我将 gulp 与 gulp.move() 一起使用。效果不错,但是感觉很脏……
无法直接从 csproj 引用 xproj。
对此您有两种可能的解决方案。
A) 将 xproj 部署为 NuGet 包并在 csproj 中使用 NuGet 包。
B) 将您的 csproj 转换为 xproj。
注意:xproj 必须支持您使用的 .NET csproj。网451等
以下是引用 xproj NuGet 包的 csproj 示例
https://github.com/damienbod/ElasticsearchCRUD/tree/master/samples/ConsoleElasticsearchCrudExample https://github.com/damienbod/ElasticsearchCRUD/tree/master/samples/ConsoleElasticsearchCrudExample
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)