App.config文件 - VS 2010 [英] App.config file - VS 2010

查看:217
本文介绍了App.config文件 - VS 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将所有项目从VS 2008 / .NET 3.5转换为VS 2010 / .NET 4.但现在我在所有项目中都有App.config文件。如果我删除此文件,MS生成失败。这个文件是什么?如何摆脱它?


 


<?xml version =" 1.0"?> ; $
< configuration>

< startup>< supportedRuntime version =" v4.0" sku =" .NETFramework,Version = v4.0" />< / startup>< / configuration>


MP

解决方案

App.config保存应用程序配置设置。你转换了哪些类型的项目在VS 2008中没有app.config现在在VS 2010中有一个?


您可能会发现以下内容很有趣。


http://msdn.microsoft.com/en-us/library/a65txexh.a​​spx


http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/381b7d2f-11ca-4c2c-9bae-5a8062b94336


I converted all my projects from VS 2008/.NET 3.5 to VS 2010/.NET 4. But now I have the App.config file in all projects. If I remove this file, MS build fails. What is this file and how do I get rid of it?

 

<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>


MP

解决方案

App.config holds application configuration settings. What kind of projects did you convert that did not have an app.config in VS 2008 that now have one in VS 2010?

You might find the following interesting.

http://msdn.microsoft.com/en-us/library/a65txexh.aspx

http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/381b7d2f-11ca-4c2c-9bae-5a8062b94336


这篇关于App.config文件 - VS 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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