在Visual Studio中卸载项目有什么意义? [英] What's the point of unloading project in Visual Studio?

查看:54
本文介绍了在Visual Studio中卸载项目有什么意义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读一本有关MVC ASP.NET的书,其中有一些隐藏的项目设置,您只能首先整个进行'unload'修改(然后所有结构消失),然后再进行点击'edit',更改xml标记值.

I'm reading a book about MVC ASP.NET, there are some hidden project setup that you can only modify by 'unload' the whole first(then all the structure gone), then after clicking 'edit', change the xml tag value.

这让我想起一个问题:为什么在修改配置文件之前需要卸载项目?有人可以告诉我卸载项目的意思吗?

That reminds me to ask: why we need to unload the project before we modify the config file? Can anybody tell me the meaning of unloading project?

为什么不只打开文件夹位置并通过记事本更改?

Why not just open the folder location and change by Notepad?

推荐答案

编辑项目文件并不是您经常要做的事情.通过使您在编辑项目之前卸载项目,他们使项目刻意变得困难.这样可以避免意外更改.

Editing your project file is not something you are going to do often. By making you unload the project before editing it, they are making it hard on purpose. This will keep you from accidentally changing something.

Microsoft试图养成一种保护我们免受自身伤害的习惯.例如

Microsoft tries to make a habit of protecting us from ourselves. For example

  1. 每个 case 必须在 switch break .
  2. 如果要进行指针操作,则需要
  3. unsafe 关键字.
  4. new 关键字可隐藏继承的成员.
  1. Each case must break in a switch.
  2. unsafe keyword is required if you are doing pointer manipulation.
  3. new keyword to hide inherited members.

这篇关于在Visual Studio中卸载项目有什么意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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