How to disable Costura.Fody resources embedding in Debug mode?

前端 未结 3 1934
醉话见心
醉话见心 2021-02-07 19:49

I\'m using Costura.Fody to embed all dlls into my application assembly.

Is there any way to disable Costura.Fody in Debug build mode? How to make Costura.Fody to work o

3条回答
  •  醉话见心
    2021-02-07 20:08

    One solution might be to check your .csproj file and add a condition to the Fody-related lines. Something like this:

    
    
    
    

    Of course, this is mainly for simple use cases where you don't want any Fody extension to run in certain build environments.

提交回复
热议问题