Click here to Skip to main content
15,921,646 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hai all,

How can i Create a .Proj file in my asp.net 4.5 using visual studio 2012..any Help..
Posted
Comments
Ankur\m/ 30-Jul-13 1:02am    
Create a new project, that will automatically create a .proj file. What is it exactly that you want?
Sam Path 30-Jul-13 1:13am    
Actually i missed that file in my project..so that how can i create that file in my current project. thanks for your reply.. :-)
Sergey Alexandrovich Kryukov 30-Jul-13 1:15am    
You hardly can miss such thing — please see my answer. I'm afraid you are just confused something.
—SA
Sergey Alexandrovich Kryukov 30-Jul-13 1:15am    
Not exactly. Such file type does not exist as a standard Visual Studio file type. Actually, there is a deeper level of working with project file, but I doubt OP needs is, I suspect he is just confused. I described this aspect, in addition to my basic answer, please see.
—SA
Ankur\m/ 30-Jul-13 1:35am    
I think he meant project file (could be .csproj / .vbproj). He has probably deleted it and want it back.

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
 
Share this answer
 
Comments
Sam Path 30-Jul-13 1:19am    
Actually i missed that file in my project..so that how can i create that file in my current project.my client is asked that file.. thanks for your reply.. :-)
Sergey Alexandrovich Kryukov 30-Jul-13 1:22am    
I just explained: there is no such file type in standard VS project types. You either lost not only this file, but also it's naming scheme, or it could be the file type for some 3rd-party project type. I used such naming myself, but that was my own type I developed for out company's advanced build process...
—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!
 
Share this answer
 
Comments
Sam Path 30-Jul-13 1:36am    
k thanks :-)
Ankur\m/ 30-Jul-13 1:41am    
It seems you can even drag and drop the files at once. That will be faster.
Sergey Alexandrovich Kryukov 30-Jul-13 1:58am    
Right, 5ed.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900