473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Compiling single Project in a Solution

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

Jul 10 '06 #1
4 1368
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.

Anbu wrote:
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
Jul 10 '06 #2
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.

Jul 10 '06 #3
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.

Anbu wrote:
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.
Jul 10 '06 #4
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.
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.
Jul 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Dmitri Shvetsov | last post by:
Hi All, Did somebody have a problem compiling some solution in VS2003? I get the error every time that some files are locked and are using by another process. I repeat compiling again and again...
3
by: raghavendra | last post by:
while compiling windows service Project configuration skipped because it is not selected in this solution configuration Regards, Raghavendra
1
by: Mike Hutton | last post by:
I need some help. I am trying to set up our development environment so as to make life easy for my fellow developers (none of whom have used ASP.NET or VS.NET before). We are developing our...
6
by: George M. Garner Jr. | last post by:
VC8.0 crashes while compiling boost-1.33.1 serialization library (or any other library that includes the serialization headers) if code analysis (/analyze) is enabled. This problem did not occur...
9
by: jojobar | last post by:
In vs.net 2005 you can build the entire website, entire solution or a single page. The project I am working on has more than 1000 pages spread over 50-60 directories. We work on one or two of the...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
1
by: matt.merchant | last post by:
All, When publishing a site with the "Used Fixed Naming and Single Page Assemblies" option checked, only one of my two App_Code folders are compiled into .DLL's. The original code (DotNetNuke...
5
by: Brent | last post by:
Ok everyone i have dealing with this problem for a week and its starting to get on my nerve. I am pretty new to the asp.net world. I am not new to .Net only asp.net. So i hate a snag. right now im...
4
by: Dean Slindee | last post by:
I have a project with many References to other projects of mine (data access layer projects, for instance). When I compile a data access layer project, the Reference in the parent project goes...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.