Cotura.Fody无法在JetBrains Rider EAP中工作 [英] Cotura.Fody Not Working In JetBrains Rider EAP

查看:168
本文介绍了Cotura.Fody无法在JetBrains Rider EAP中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个项目上,它使用了一些库(RestSharp,Newtonsoft.Json,CsQuery),并且我不想将exe与同一目录中的所有dll一起使用,因此我也安装了Costura .Fody,当我使用Visual Studio时该方法起作用,但是现在我使用的是JetBrains Rider EAP,并且输出exe文件不包含嵌入式dll/如果我移动它,它会崩溃,并显示诸如无法加载CsQuery"之类的信息.

I'm working on a project, and it uses a few libraries (RestSharp, Newtonsoft.Json, CsQuery) and I didn't want to use the exe with all the dlls in the same directory, so I also installed Costura.Fody, and that worked when I used Visual Studio, but now I'm using JetBrains Rider EAP, and the output exe file does not include the embedded dlls/ If I move it, It crashes saying something like "Cant load CsQuery" etc.

我正在运行64位版本的Windows 10,Visual Studio 2015社区更新3和Rider EAP 15.

I'm running a 64 bit version of Windows 10, Visual Studio 2015 Community Update 3, and Rider EAP 15.

还有其他人遇到问题/知道如何解决吗?

Anyone else having thing problem/know how to fix it?

推荐答案

看起来像一个使Costura.Fody在使用Rider EAP时无用的错误.切换到Visual Studio 2015社区并在项目中重新安装Costura.Fody并进行编译后-一切正常,并且dll被嵌入.

Looks like a bug which makes Costura.Fody useless while using Rider EAP. After switching to Visual Studio 2015 Community and re-installing Costura.Fody in project and compiling - everything works fine and dll's are embedded.

使用Rider EAP进行编译不会嵌入任何dll.

Compiling with Rider EAP doesn't embed any dll's.

这篇关于Cotura.Fody无法在JetBrains Rider EAP中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆