mardi 21 mai 2019

Set location of TypeBuilder.CreateType()?

Im creating c# class during runtime in .NET 4.7.2 by using the TypeBuilder. The problem is that the DLL for the type is stored in the root folder of current application. The problem is that often the user have no write access to the local root folder.

So how do I set the location where the assemblies should be saved and loaded? And what user folder would be fitting for this?

//Jimmy





Aucun commentaire:

Enregistrer un commentaire