문제

I've found many blog posts mentioning that ILMerge only works on Windows, and a couple that seem to suggest that ILMerged assemblies only work on Windows.

I don't care about actually running ILMerge in Mono, I'm just interested in using the merged assembly under Mono; has anyone successfully done this?

thanks!

도움이 되었습니까?

해결책

I've verified that ILMerged assemblies will run under Mono. It was necessary to update the ILMerge command line option to:

/targetplatform:"v4,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0"

(as described in this SO post)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top