Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-21-2006, 06:27 PM
pjaiswal pjaiswal is online now
Registered User
 
Join Date: 01-26-2006
Posts: 30
Problem in Make VS.NET

We are having problems in the build when using a "Make VS.NET" step for a solution which has C# and a C++ class library. Here are the details on what is being done:

1. The solution which has C# and C++ class library compiles without any error in Visual Studio 2005. The project dependencies are set such that the csproj is dependent on the C++ project and references the dll created by the c++ project.

2. In the build script, the Make VS.NET step fails, with the configuration set to Release.* & the Build Behavior set to "Rebuild". The step failure is caused because the C++ project does not get rebuild and hence the dll is not created which is being referenced by the C# project, causing the error.

My guess is that the problem is being caused by the the C++ project only having a Release| win32 configuration, So using Release.* Visual Builder Pro tries to build all projects first as "Release |Any CPU" first...which the C++ doesn't have but the C# does.

Are we doing anything wrong, is there anything else that needs to be set in the solution/ project properties or in the Make VS.NET step?

Just to reproduce the error, I have attached a sample solution which has the same problem and emailed it to support@kinook.com (The attachment was larger than allowed)

Thanks.
Reply With Quote
  #2  
Old 04-21-2006, 08:49 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Win32 solution configuration (Build | Configuration Manager in the IDE) is configured to only build the C++ project; the Any CPU sol cfg is configured to only build the C# project; the Mixed Platforms sol cfg does build both, so that is probably the config you want to build. Choosing the Release|Mixed Platforms configuration in your sample builds correctly.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:35 PM.


Copyright © 1999-2023 Kinook Software, Inc.