M
moondaddy
I'm using some sample code from the msdn sample project:
http://download.microsoft.com/downl...echnologies/Reflection/ReflectionEmit.zip.exe
I'm using the 'AssemblyBuilder.Save' method, however, it takes a file name
as a parameter and I dont see any documentaion on how to define the
path/target location to write the file to. Here's a snippet of my code:
Dim TCA As New TestCreateAssembly
Dim [assembly] As AssemblyBuilder
[assembly] = CType(TCA.CreateCallee(Thread.GetDomain(),
AssemblyBuilderAccess.Save).Assembly, AssemblyBuilder)
[assembly].Save("EmittedAssembly.dll")
How do I determin exactly where to write "EmittedAssembly.dll" to?
Thanks.
http://download.microsoft.com/downl...echnologies/Reflection/ReflectionEmit.zip.exe
I'm using the 'AssemblyBuilder.Save' method, however, it takes a file name
as a parameter and I dont see any documentaion on how to define the
path/target location to write the file to. Here's a snippet of my code:
Dim TCA As New TestCreateAssembly
Dim [assembly] As AssemblyBuilder
[assembly] = CType(TCA.CreateCallee(Thread.GetDomain(),
AssemblyBuilderAccess.Save).Assembly, AssemblyBuilder)
[assembly].Save("EmittedAssembly.dll")
How do I determin exactly where to write "EmittedAssembly.dll" to?
Thanks.