Visual Studio .NET 2003 Build Action - Configuration Issue?

Hi -

We have a Visual Studio .NET 2003 solution containing 53 projects. Ten of the projects are ASP .NET Web Services.  The remaining projects are class libraries (simply dll files).

 When I use a 'Build VS .NET Solution Action' the solution builds fine.  Except, many of the projects build in Debug mode even though Release mode is selected

  The Apply To All Projects in Solution radio button is selected.

  Attached zip file is the output from a build.  

  I did a little research on the internet and did not find any issues with devenv.com, which FB uses to build VS solutions. 

  Thanks -

   Rob

BuildLog.zip (4.265 KB)

Hi Rob

At a guess, I would suspect that the Release config is missing in the project files, which is why the debug config is being used. The config names in the solution file and the project files (csproj, vbproj etc) need to match. Looking at your log output, finalbuilder is definitely passing the correct config to devenv.

Hi Vincent -

Thanks for the reply.  I looked at the .csproj files and they had a debug and release config section. 

I then checked the solution file (.sln).   It had several properties marked as follows...

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Debug.ActiveCfg = Debug|.NET

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Debug.Build.0 = Debug|.NET

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Release.ActiveCfg = Debug|.NET

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Release.Build.0 = Debug|.NET

As you can see, the Release builds are set to Debug.  I modified the file and changed them to the following...

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Release.ActiveCfg = Release|.NET

{E8D3067A-6D9D-4384-9923-EE34C887873A}.Release.Build.0 = Release|.NET

It is working now.

Thanks for your input.  I knew this was not a problem with FinalBuilder.  I assumed it might have been an issue with devenv.com.  Alas, it was a problem in the solution configuration file.  Ok, maybe it was a problem with me.  .

You can also modify these settings in Visual Studio via Build-->Configuration Manager menu item. 

Thanks -

Rob