使用visual studio 2012在我的asp.net 4.5中创建一个.Proj文件 [英] Create a .Proj file in my asp.net 4.5 using visual studio 2012

查看:75
本文介绍了使用visual studio 2012在我的asp.net 4.5中创建一个.Proj文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai all,



如何使用visual studio 2012在我的asp.net 4.5中创建.Proj文件..任何帮助..

Hai all,

How can i Create a .Proj file in my asp.net 4.5 using visual studio 2012..any Help..

推荐答案

没有名为* .proj且与Visual Studio关联的标准文件类型。许多不同的项目文件(但不是全部)基于相同的格式(MSBuild,在MSBuild的文档中描述),但它们是根据语言命名的,例如* .csproj,* .vbproj等。 />


通常,它们是在Visual Studio中添加新项目时创建的,或者是另一个可用的项目模板。但是,更熟练的开发人员可以手动创建它们或使用Visual Studio XML编辑器(或其他一些XML编辑器),可以编写一些使用MSBuild API操作此类文件的实用程序,等等。特别是,您可以使用适当的命名方案(例如* .proj)定义自己的文件类型,在系统中注册并用于构建项目,解决方案,合并第三方工具和其他高级构建技术。



如果你真的想深入研究它(你确定你能做到并能够吗?),你可以从以下开始学习这门课程:

http://msdn.microsoft.com/en-us/library/ wea2sca5%28v = vs.90%29.aspx [ ^ ],

http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx [ ^ ]。



-SA
There is no such thing as a standard file type named as *.proj and associated with Visual Studio. Many different project files (but not all of them) are based on the same format (MSBuild, described in documentation for MSBuild), but they are named based on the language, such as *.csproj, *.vbproj, etc.

Normally, they are created when you add a new project in Visual Studio from on or another available project template. However, a more skillful developer can create them manually or using Visual Studio XML editor (or some other XML editor), can write some utilities manipulating such files using MSBuild API or not, and so on. In particular, you can define your own file type with appropriate naming scheme (such as *.proj), register it in your system and use for building project, solution, incorporating 3rd-party tools and other advanced building techniques.

If you really want to delve into it (are you sure you do and will be able to?), you can learn the subject starting from:
http://msdn.microsoft.com/en-us/library/wea2sca5%28v=vs.90%29.aspx[^],
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

—SA


好的,好像你已经删除了(我想不出其他方式你可以错过它你的项目文件并希望得到它。



你将不得不创建一个新的解决方案并添加所有右键单击解决方案并选择添加 - >项目中的文件到该解决方案现有项目'。



如果有帮助请告诉我!
Okay, it seems you have deleted (I cannot think of other way you can "miss" it) your project file and want to get that back.

You will have to create a new solution and add all the files in your project to that solution by right clicking the solution and selecting 'Add -> Existing Item'.

Let me know if that helps!


这篇关于使用visual studio 2012在我的asp.net 4.5中创建一个.Proj文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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