如何编辑的.csproj文件 [英] how to edit .csproj file

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

问题描述

lable01不website01.csproj

when I am compiling my .csproj file using .NET framework 4.0 MSBUILD.EXE file I am getting an error "lable01" not found in the current context of "website01.csproj"

其实我需要每一个ASP.NET页面与code添加文件的参考后面,我做到了。其工作罚款......但上面的错误正在等待...

Actually I need to add every ASP.NET page with its Code Behind file's reference, I done it.. Its working fine... But the above error is pending...

希望这意味着我需要在.csproj的文件中添加表格名LABLE01但我不知道syxtax。有人请我提供的语法在.csproj的文件中添加表格名称...

Hope it mean that I need to add form name "LABLE01" in that .csproj file But I do not know the syxtax. Anybody please do provide me with the syntax to add form name in .csproj file...

推荐答案

的csproj 文件,以XML格式保存,存储所有项目的引用,包括你的编译选项。还有一个用于存储有关构成您的解决方案的项目信息的SLN文件。

The CSPROJ file, saved in XML format, stores all the references for your project including your compilation options. There is also a SLN file which stores information about projects that make up your solution.

如果您正在使用Visual Studio和有需要查看或修改的csproj 文件,而在Visual Studio中,您可以通过下面这些简单的步骤操作:

If you are using Visual Studio and have the need to view or edit your CSPROJ file while in Visual Studio you can do so by the following these simple steps:


  1. 右键在Solution Explorer中点击你的项目并选择卸载项目

  2. 右键单击该项目(标记为在Solution Explorer中不可用),然后单击编辑yourproj.csproj。这将打开你的csproj文件进行编辑。

  3. 让你想要的任何更改后,保存并关闭文件。完成后右侧的节点上再次单击并选择重新加载项目。

这篇关于如何编辑的.csproj文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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