Compiling single Project in a Solution

A

Anbu

Hi All,

I'm creating an ASP.NET 2.0 web solution using VS 2005. The solution
(.sln) contains 4 projects, one depends on another. I need to compile
the project files using automated process, which will call the
compilation process project by project.

How can i compile a project alone from the solution??

In earlier version of VS, the project information was stored in a
project file like .csproj or .vbproj, which allowed to compile the
project based on our need.

Any help would be appreciated.

Thanks,
Anbu
 
F

Flinky Wisty Pomm

The info is still in a csproj and that csproj is now an xml file.
Bonus. You can modify that file if required, or set up build options
through VS.

If you want to call the build from a command line with some more
options and fancified doodads, investigate MsBuild.exe which can be
used to compile a project or solution as you wish, and set up compile
time options.

It's just like NAnt, only wordier.

see http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx for an
overview.
 
A

Anbu

Flinky,

Thanks for your reply.
The info is still in a csproj and that csproj is now an xml file.
Still I wonder, I could not find any .csproj or any xml formatted files
for the web site applications. I have only solutions and used File
System option for development activities. Also I learnt that VS 2005
does not provide project files for web site applications. is it
true????
options and fancified doodads, investigate MsBuild.exe which can be
used to compile a project or solution as you wish, and set up compile
time options.

I'm also considering to look into msbuild.exe for integration. But the
project file would be very handy to handle any kind of builds, i hope.
 
F

Flinky Wisty Pomm

I'm not sure I understand you. If you only have a website project (no,
there is no csproj by default) why do you want to build a single
project? Can you give me more information on what you're trying to do?

IIRC website deployment projects have a .csproj, but I'm far from
expert with Visual Studio.
 
A

Anbu

Flinky

Main idea to compile every project individual was, having multiple
solution files with interdependent project. For example project a in
solution x would also be used in solution y.

Also i have some more problem while implementing httphandlers to handle
soaprequests.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top