How to do large builds for C# projects?

  • Thread starter Thread starter Bleedledeep
  • Start date Start date
B

Bleedledeep

Ok, newbie to .NET, C# here.

I have multiple solutions/projects. How do I do a "build" across
these?

Also, I have some .resx files that must be converted to .resources
files, and I have been unable to find a mechanism inside of the .NET
build mechanism to do this. (been doing it by hand with resgen) Note
that I am using ResourceReader and really do need a .resources file.
I have tried setting the build options on the .resx file to "embedded
resource" with no luck.

Any help in this area is greatly apprecied.
 
To build the projects/solutions, use the commands under the Build menu.

..resx files are automatically converted to .resource files during the build
and when embedded. The original file will stay a .resx though.
 
As far the as the .resx -> .resources conversion. No .resources files
are generated for me during the build process. Is there some setting I
am missing?
 
That is good for any one solution with the projects it contains, but I
need to build across multiple solutions.
 
Stephen said:
That is good for any one solution with the projects it contains, but I
need to build across multiple solutions.

You can build a VS.NET solution from the command line using the devenv
command. Issue a "devenv /?" at the command line to get a summary of
the syntax.

You can drive a multi-solution build by placing invocations to devenv in
a standard makefile (or batch file if your needs are simple).

Some people use a tool called "NAnt" to build .NET projects. I have no
experience with it since makefiles are what I use, but it might be worth
looking into. It seems similar to the MSBuild technology that Microsoft
is moving to in Whidbey/Longhorn.
 
Back
Top