Skip to content

Targeting Mono Profile on Visual Studio

Binod edited this page Sep 15, 2013 · 1 revision

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.

Copying Directory

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\

Creating a Registry Entry

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\

Hey, that's it. You've done it!

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.