Click here to Skip to main content
15,911,039 members

Comments by Member 11763476 (Top 2 by date)

Member 11763476 8-Jan-16 17:04pm View    
the dynamic version is the one cut off,I don't understand why you say I'm saving twice,as I see it the dynamic dll is saved only when Save is called,
I think that surely you right but I've tried a lot of options, wich include saving in the applications directory an using different name patterns and I cant find the right one
Member 11763476 8-Jan-16 16:38pm View    
thank you Sergey:I think that to generate a single module assembly you have to use the same file name when creating the ModuleBuilder ,second parameter ,that when you call AssemblyBuilder.Save and provide an assembly filename,SimpleDyn.dll in this case.I have also tried to use other overloaded appDomain.DefineDynamicAssembly without passing a string dir, in this case the dll is created in the application's base directory and the problem persists.