1
Vote

mosacl Uses Wrong .NET Framework Folder On Win64 When mosacl Executes As AnyCpu

description

If mosacl can't find an mscorlib in the current folder, it checks a number of paths including the current Framework folder which is the Framework64 folder when mosacl is running in x64 mode. mosacl compiles code incorrectly when using Framework64 mscorlib for reference purposes - and it is arguable both that we shouldn't be using PE32+ assemblies for 32-bit targetted compiles, and that we shouldn't be using the .NET mscorlib for reference anyway.
 
The assembly loader's search paths need to be thought out a bit more and changed.

comments