0

Hi I have created WPF(XBAP) application. In that for the referred assemblies Build Action is specified as Embedded Resource. But still the .NET will look for the actual assemblies. Is there any way to tell the .NET that assembly is embedded resource.

e.g. MyApp.dll is the XBAP which uses Comp.dll I have added Comp.dll as item in MyApp project. However In execution MyApp look for Comp.dll instead it should look in the resources.

meetjaydeep
  • 1,752
  • 4
  • 25
  • 39

1 Answers1

0

These links might answer your queries to embed DLL's as resource in your exe -

Embedding DLLs in a compiled executable

C#: How to embed DLL into resourcefile (no dll copy in program directory)

Merge .dll into C# Assembly?

Community
  • 1
  • 1
Rohit Vats
  • 79,502
  • 12
  • 161
  • 185