Answer the question
In order to leave comments, you need to log in
C# .Net 3.5 - Is there an option to not inject Interop generated .dll files?
I'm building an application that allows you to install important windows updates via wuapi.dll. When created on .Net 3.5, an Interop.wuapi.dll file is generated, which must be kept in the folder with the project and the program; on .Net 4.0, you can set the link property "Embed Interop Types" to true, and then it will be embedded in the .exe file.
I would like to create an application on .Net 3.5 and with just one .exe file. The forums suggest using ILMerge and the like. Is it possible to somehow embed the generated .dll into the project without using third-party libraries and solutions, or even do without creating this .dll?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question