简体   繁体   English

如何使我的应用程序在带有oa配置文件的.NET 4.0和.NET 3.5上运行?

[英]how do I get my app to run on .NET 4.0 and .NET 3.5 w/o a config file?

I've .NET 3.5 based project with app.config and I can run this .exe on .NET 4+ and 3.5, but problem is that I need to transfer app.config files to everywhere to run on .NET 4+ 我使用app.config创建了基于.NET 3.5的项目,并且可以在.NET 4+和3.5上运行此.exe,但是问题是我需要将app.config文件传输到任何地方,以便在.NET 4+上运行

how do I get my app to run on .NET 4.0 and .NET 3.5 w/oa config file?" Is there any good bundler to bundle this two files .exe and .config to one .exe? 我如何让我的应用程序在带有.oa 4.0配置文件的.NET 4.0和.NET 3.5上运行?”是否有任何好的捆绑程序将这两个文件.exe和.config捆绑为一个.exe?

Target the latest version of the framework that your application will support and include the bootstrapper package for that version of the framework. 定位您的应用程序将支持的框架的最新版本,并包括该框架版本的引导程序包。 This way, you won't have to worry about what version of the framework is included with the client's operating system. 这样,您就不必担心客户端的操作系统包含什么版本的框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM