-
Notifications
You must be signed in to change notification settings - Fork 383
Targeting Mono Profile on Visual Studio
This article explains on preparing your environment to target the Mono 2.8 Profile instead of ".Net Framework 4.0" on your favorite IDE Visual Studio. Here you go.
The solution folder consists of required Mono .net libraries under the directory Dependencies
.
Depending upon your operating system, copy the directory Dependencies\Mono
to the following:
32-bit Windows
C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\
64-bit Windows
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\
This should not be an issue in the first place, but keeping a backup of your registry beforehand is always a nice idea if you happen to screw things up.
Depending upon your operating system, create a new register key
.NETFramework,Version=v4.0,Profile=Mono
under the following
32-bit Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs\
64-bit Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\SKUs\
If you followed everything correctly, you should now see:
Mono 2.8 Profile
on
Project Properties --> Application --> Target Framework
for each project in the solution.