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 01-04-2006, 02:42 PM
DavidBoucher DavidBoucher is online now
Registered User
 
Join Date: 10-21-2005
Posts: 1
.NET sln

I'm new with VisualBuild. We have the version 6.0a and we use VB6 and C# VS2005 projects.

All VB6 components and projects are compiled with a group. I create this group dynamically depending projects from SourceSafe.

I would like to do the same for all C# projects. Is it possible to create dynamically a solution with all projects? How should do that?

Is there another solution that I could use instead?

Thanks for your answer!

David

Last edited by DavidBoucher; 01-04-2006 at 02:44 PM.
Reply With Quote
  #2  
Old 01-05-2006, 10:02 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Creating a full-fledged VS2005 solution file (one that the VS IDE will recognize) would be a lot of work. You could create a minimal one that only Visual Build Pro could parse and process, but this sounds like overkill because to create it you will probably need something like a Process Files step to iterate over the projects to include: instead of iterating to create a solution file, you could simply build each suitable project directly.

I recommend you use a Process Files step to iterate over *.csproj and exclude any specific projects that you don't want to build, then use a child Make VS.Net step to build each project as you iterate. That way you never build up a partially valid .sln file, reducing the complexity of the build while achieving the desired result.

See the Recurse.bld sample for some steps demonstrating use of the Process Files action.
Reply With Quote
  #3  
Old 02-03-2006, 09:04 AM
rsmoke rsmoke is online now
Registered User
 
Join Date: 02-02-2006
Location: Charlotte, NC
Posts: 1
We would like to use the process files algorithm you're suggesting to remove our dependency on solution files during the build process. However, because our .NET Project files have project references to other .NET Projects we are getting build errors when we implement the Process Files step as described above.

Is it possible to (successfully) build just a project that has other project references (without using a solution file). Are we missing a configuration step? Any help as to whether this is feasible would be appreciated. Thanks,

Ryan

[EDIT] To clarify we are using VS.NET 2003, not VS.NET 2005.
Reply With Quote
  #4  
Old 02-03-2006, 10:09 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You must build using the solution file when using project references. One alternative would be to use file references. See http://msdn.microsoft.com/library/de...l/tdlg_ch3.asp for details.
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 01:15 AM.


Copyright © 1999-2023 Kinook Software, Inc.