You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I been looking through the Source extensively and it might be a usecase you don't expect but I thought i'd to make sure.
I'm trying to add some instructions to a Assembly-CSharp.dll and it also requires a LocalVariable:
varimporter=new Importer(assembly)vartypeToUse=typeof(System.Exception);// Will come from System.Private.CoreLib.varimportedType= importer.Import(typeToUse);varlocal=new Local(importedType.ToTypeSig())
then add that to the method, however my issue is that this is resolved to System.Private.CoreLib in my .NET folder, and i want it to resolve to mscorelib in a directory i provide.
Is this currently possible?
Is there a way to "exclude" directories?
Just to add also, im coming from using MonoCecil and they have a way to add and remove Directories in their AssemblyResolver if that helps explain where im coming from.
thanks
The text was updated successfully, but these errors were encountered:
CWXDEV
changed the title
Ability to Exclude Directories
Ability to Exclude Directories?
Aug 10, 2024
Heya,
I been looking through the Source extensively and it might be a usecase you don't expect but I thought i'd to make sure.
I'm trying to add some instructions to a
Assembly-CSharp.dll
and it also requires a LocalVariable:then add that to the method, however my issue is that this is resolved to
System.Private.CoreLib
in my .NET folder, and i want it to resolve tomscorelib
in a directory i provide.Is this currently possible?
Is there a way to "exclude" directories?
Just to add also, im coming from using MonoCecil and they have a way to add and remove Directories in their AssemblyResolver if that helps explain where im coming from.
thanks
The text was updated successfully, but these errors were encountered: