0

I understand that by default Fody weaves assemblies as a post-build step in Visual Studio.

However I have a custom tool that directly compiles projects using csc.exe (Roslyn compiler). Is it possible to run Fody as an executable/service instead of a post-build step?

Something like this: fody.exe target.dll fody_settings.xml

Ilya Suzdalnitski
  • 49,863
  • 47
  • 128
  • 166
  • We needed this exact feature and developped https://www.nuget.org/packages/Fody.StandAlone/ Feel free to use it and please report any bugs that you find :) – Laurent Nguyen Apr 09 '17 at 11:35

1 Answers1

2

Try this

Disclaimer: while these classes are public this is not considered an exposed API. So in minor version releases these classes may change.

Simon
  • 30,844
  • 15
  • 120
  • 187