Question

I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and I'm getting this error

"Solution format of file 'C:\test\Project\src\project.sln' is not supported."

Any Solution to overcome from it

Was it helpful?

Solution

I don't know from what you posted if this will work, but if you're trying to run the solution using a the Nant Msbuild task, you might be able to get away with substituting that for a an exec task that calls the most recent version of msbuild as an executable. For example:

<exec program="msbuild.exe" 
      basedir="C:\windows\microsoft.net\Framework\v3.5\" 
      commandline="C:\test\Project\src\project.sln"/>

OTHER TIPS

If you are using the Exec approach just chain them together so that you get all your solutions in the order you need like so:

<exec program="msbuild.exe"       basedir="C:\windows\microsoft.net\Framework\v3.5\"       commandline="C:\test\Project\src\project1.sln"/>

On a side note based on your first message it sounds like you were trying to use the solution task which currently only supports up to vs2005 as far as I'm aware (could be wrong).

The other alternative is to do something like what a lot of open source projects do (check out the castle project http://castleproject.org) where you have multiple build files 1 per project, a common file, and a master file which allows you to control all the build orders and specifics around each and every project file if you wanted to.

This is how we do it at my place of work.

Hope that helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top