使用清单而不是配置在.NET 4.0上运行.NET 2.0应用程序? [英] Running .NET 2.0 app on .NET 4.0 using manifest instead of config?
问题描述
大家好,
我有一个在VS2010中为.NET 2.0编译的应用程序.我想允许此应用程序在从2003 SP1(.NET 2.0)到Win8(.NET 4.0)的平台上运行.我们已将app.config修改用于其他进程(supportedRuntime = ..).然而, 我希望该实用程序可以独立下载给我们的客户.有没有一种方法可以在清单中完成与app.config中通常所做的相同的工作?我已经阅读了有关clickonce项目的信息,但是我的应用程序是一个简单的Windows窗体应用程序,因此不会 似乎是正确的方法.
I have an application which is compiled for .NET 2.0 in VS2010. I want to allow this application to run on platforms from 2003 SP1 (.NET 2.0) to Win8 (.NET 4.0). We have used the app.config modification for other processes(supportedRuntime=..). However, I want this utility to be a stand-alone download for our customers. Is there a way to do the same work in my manifest as what is usually done in the app.config? I have read about clickonce projects, however my app is a simple windows forms app, so that doesn't seem like the right approach.
先谢谢了,
尼克
Thanks in advance,
Nick
推荐答案
嗨尼克,
欢迎来到MSDN论坛.
Welcome to the MSDN Forum.
请查看程序集清单中的内容: http: //msdn.microsoft.com/zh-CN/library/1w45z383(v=vs.100).aspx
Please take a look at the assembly manisest content: http://msdn.microsoft.com/en-us/library/1w45z383(v=vs.100).aspx
没有用于指定此运行时版本的字段.
There is no field to specify this runtime version.
最好的问候
这篇关于使用清单而不是配置在.NET 4.0上运行.NET 2.0应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!