需要 Windows 上 Mono 3.0 的配置文件

Need Profile for Mono 3.0 on Windows(需要 Windows 上 Mono 3.0 的配置文件)
本文介绍了需要 Windows 上 Mono 3.0 的配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Is there a tutorial that tells how to write a profile for mono 3.0 so that I can use it with Microsoft Visual studio 2010 ? The reason behind the same is that my application makes use of a Binding List and when I try to run in Mono , I get this error : ** (WindowsFormsApplication2.exe:608): WARNING **: The class System.ComponentModel.BindingList`1 could not be loaded, used in System, Version=4.0.0.0,

or in case a profile is already written , can you please share the same

解决方案

I created my own 4.5 Profile for Mono 3.0.1 Beta for VS 2012 on a Windows 8 64-bit machine based on this.

  1. Create a folder called Mono
  2. Inside this folder, create another folder called RedistList
  3. Copy C:Program Files (x86)Mono-3.0.1libmono4.5 into folder Mono
  4. Inside folder RedistList, create a file called FrameworkList.xml
  5. Paste the following into file FrameworkList.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <FileList Redist="Mono_3.0.1" Name="Mono 3.0.1 Profile" RuntimeVersion="4.5" ToolsVersion="4.5"></FileList>

  1. Navigate to C:Program Files (x86)Reference AssembliesMicrosoftFramework .NETFrameworkv4.5 and create a folder called Profile
  2. Copy your folder Mono into folder Profile
  3. Add the following to registry to stop Visual Studio asking for installation of this profile:

    HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoft.NETFrameworkv4.0.30319SKUs.NETFramework,Version=v4.5,Profile=Mono
    

Now you should be able to select and compile against this profile. This steps might be slightly different on 32-bit machines (see link at top).

这篇关于需要 Windows 上 Mono 3.0 的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)