问题
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.
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?
回答1:
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.
Compiling with Rider EAP doesn't embed any dll's.
来源:https://stackoverflow.com/questions/41478072/cotura-fody-not-working-in-jetbrains-rider-eap