I download profile Mono 2.8 fro开发者_StackOverflowm http://hurlman.com/greghurlman_com/attachments/monoprofile2_8.zip
Add in C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Mono
Create new Project Winforms (framework 4.0) in Visual Studio 2010.
In project change "Target framework" to Mono 2.8 Profiler.
end press "Startin debuging".
In this case an error occurs
How to do that would work?
from Greg Hurlman's Blog.
"Markus" posted :
I had the same problem, the error dialog telling me I should download “.NETFramework,Version=v4.0,Profile=Mono” in order to run my application.
The trick was to create registry key. For me, running Windows 7 x64, it was:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework,Version=v4.0,Profile=Mono
I suppose for x86 it’s
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework,Version=v4.0,Profile=Mono
(Where v4.0.30319 would be the version of the current 4.0 framework installed.)
Hope that helps!
精彩评论