Commit Graph

9 Commits

Author SHA1 Message Date
Nikolaj
a6580cc3c5 Add documentation comments to RoslynCompiler and LoadContext 2020-09-08 12:24:34 +02:00
Nikolaj
5d12f99eaf SImplify roslyn compiler
Since the old assemblies actually gets deleted now  we no longer need to check if the old assembly file exists
2020-09-07 12:01:25 +02:00
Nikolaj
00365fc455 Clean roslyncompiler a bit
There's no reason to just return the saveLocation parameter
2020-09-07 11:47:46 +02:00
Mole
1000e19a20 Try and use AssemblyLoadContext to load and unload assemblies
This still doesn't work, since the old assembly never gets freed allowing it to be unloaded, my best guess is that there's some references to the types within in the old assembly somewhere which doesn't get cleared.
2020-09-04 10:38:37 +02:00
Nikolaj
1bbb6844ac Don't try to save a file that already exists 2020-09-03 13:30:34 +02:00
Nikolaj
624e57f304 Only add distrinct metadatareferences 2020-09-03 08:34:29 +02:00
Nikolaj
7f6f924da6 Remove duplicate metadatareferences 2020-09-03 08:25:23 +02:00
Nikolaj
1eb7e9c1eb Add further progress 2020-09-02 14:44:01 +02:00
Nikolaj
064acda304 First shake at RoslynCompiler 2020-09-02 10:17:33 +02:00