Build a C# solution

Hi,

I’m trying to build a C# solution without having visual studio installed on my computer. I want to use C# Compiler to build the solution. Or use C# Compiler Project.

The problem of using C# Compiler Project is that some projects have reference with others projects (dll library) from other projects in the same solution.

So what i want is to compile without visual studio all the projects which have references to other projects.

If it’s not clear tell me, i’ll give an example.

Thank You,

To use C# project compiler what is needed?

.net framework installed?
visual studio installed?



It depends on which version of .net you are using. You can build vs2003 c# projects using the C# project actions, or vs2003 solutions using the msbuild action.

.NET framework and .NET SDK


Hi,

I'll change my question a little bit :

Can you tell me the best way to build .net solution, not project by project. I want to build only the solution, that will build all projects.

Also, i want to know if it is possible to build the solution without having any microsoft visual studio installed. But only frameworks.


I want to know that, because we want the build system to have a minimal requirement. Like having only finalbuilder tool and the .net framework.

Thanks a lot

Alexis

Hi Alex


To build a 2003 solution you need VS2003 installed, no way around that. To build a 2005 solution, you need the .net 2.0 framework and the .net 2.0 sdk installed, and use the msbuild action (msbuild knows how to build vs2005 solutions).