需要天寒单声道3.0在Windows [英] Need Profile for Mono 3.0 on Windows

查看:140
本文介绍了需要天寒单声道3.0在Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有告诉你如何写单声道3.0,这样我可以用$ B $使用b微软Visual Studio 2010中的配置文件的教程?
背后同样的原因是,我的应用程序使用一个绑定列表中,当我尝试在单跑,我得到这个错误:
**(WindowsFormsApplication2.exe:608): WARNING **:类System.ComponentModel.BindingList`1无法加载,在系统,版本= 4.0.0.0使用



或情况一个配置文件已经写好,可以请你共享同一


解决方案

我创建了自己4.5个人资料3.0.1单为测试版基于的这个




  1. 创建一个文件夹,名为的

  2. 此文件夹中,创建一个名为的 RedistList

  3. 复制的下再夹:\Program文件(x86)\Mono -3.0.1\lib\mono\4.5 的成文件夹的

  4. 文件夹里面的 RedistList 的创建一个名为 FrameworkList.xml

  5. 以下内容粘贴到文件的 FrameworkList.xml



<预类=郎咸平的XML prettyprint-覆盖> <?XML版本=1.0编码=UTF-8>?;
<文件清单的Redist =Mono_3.0.1NAME =单声道3.0.1配置文件RuntimeVersion =4.5ToolsVersion =4.5>< /文件列表>




  1. 导航到的 C:\Program文件(x86) \Reference Assemblies\Microsoft\Framework\ .NETFramework\v4.5 的并创建一个名为的档案

  2. 文件夹复制您的文件夹的的成文件夹的档案

  3. 添加以下注册表停止Visual Studio的要求安装此配置文件的:

      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\SKUs\.NETFramework版本= V4.5,外形=单




现在你应该能够选择和编译反对此配置文件。这个步骤可能会在32位机器(见顶部链接)略有不同。


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.1\lib\mono\4.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 Assemblies\Microsoft\Framework\ .NETFramework\v4.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_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\SKUs\.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).

这篇关于需要天寒单声道3.0在Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆