Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-21-2004, 03:32 PM
daveronson daveronson is online now
Registered User
 
Join Date: 11-14-2003
Posts: 12
VS.NET link file build problem

We have VS.NET C# project. This is a Class Library, not a web project, with only source code *.cs files.

The project was building successfully as part of a solution in VisualBuild Pro, using the “Make VS.NET” step.

Two new files were added to the C# project. These files are shared across the solution, so they were added as links to files outside of the project’s folder hierarchy (i.e. in VS.NET: “Add Existing Item” -> browse to file - > Use “Link File” command, instead of “Open”. VS.NET then compiles successfully.

However, when attempting to rebuild in VisualBuild Pro, the build would fail, with the following error:

Details:
Step: Build [projectname]
Status: 1
Output: Pre-processing...
[projectpath].csproj...setting properties...
[solutionfolder]..\..\..\[projectpath].csproj...setting properties...
Error pre-processing project file '[solutionfolder]\..\..\..\[projectpath]': Could not find file '[linkedfilepath].cs'.

Is this just a feature that isn't implemented in VisualBuild? We are going to use a source control workaround but it would be nice if this was supported.

...Dave
Reply With Quote
  #2  
Old 01-21-2004, 05:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
Is one of the linked files named AssemblyInfo.cs? It does appear that the VS.NET action does not currently handle that file being a linked file when updating properties or versions.
Reply With Quote
  #3  
Old 01-21-2004, 06:35 PM
daveronson daveronson is online now
Registered User
 
Join Date: 11-14-2003
Posts: 12
yes, the files are all *.assemblyinfo.cs.
Reply With Quote
  #4  
Old 01-23-2004, 11:34 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,758
The download has been updated with a fix for this (VisBuildDOTNET.dll version 5.2.0.5).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 08:03 PM.


Copyright © 1999-2019 Kinook Software, Inc.