Kaj Nelissen March 2016
One solution might be to check your
.csproj file and add a condition to the Fody-related lines. Something like this:
<Content Include="FodyWeavers.xml" Condition=" '$(Configuration)' == 'Release' " />
<Import Project="..\..\packages\Fody.1.29.4\build\dotnet\Fody.targets" Condition="Exists('..\..\packages\Fody.1.29.4\build\dotnet\Fody.targets') And '$(Configuration)' == 'Release' " />
Of course, this is mainly for simple use cases where you don't want any Fody extension to run in certain build environments.