Kinook Software Forum

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

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 08-18-2006, 01:05 PM
Albert Albert is online now
Registered User
 
Join Date: 08-18-2006
Posts: 9
Building a .net web application project

When you point the Make VS.NET task at a solution file if a web project is part of that solution it builds without error. However, if I point the Make VS.NET task directly at a web application's .vbproj file I get one of the two following errors. Why?

ERROR 1 (referencing the file using %PROJDIR%\dirname\filename):

8/18/2006 1:55:58 PM: --------------------Starting Build: 'Visual Build Pro Sample Build.bld'--------------------
8/18/2006 1:55:58 PM: Building project step 'Build VBPWebApp'...
Pre-processing...

Building configuration 'Release'...

Microsoft (R) Development Environment Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.

The project you are trying to open is a Web project. You need to open it by specifying its URL path.
Process completed with exit code 1
8/18/2006 1:56:02 PM: Step 'Build VBPWebApp' failed

8/18/2006 1:56:02 PM: Build ended.

ERROR 2 (using the URL):

8/18/2006 12:52:26 PM: Building project step 'Build VBPWebApp'...
Pre-processing...

Building configuration 'Release'...

Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.

The project has not been converted.
Process completed with exit code 1
8/18/2006 12:52:27 PM: Step 'Build VBPWebApp' failed

8/18/2006 12:52:28 PM: Build ended.
Reply With Quote
  #2  
Old 08-18-2006, 03:05 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The first error occurs because VS.NET 2003 does not support building of individual web projects by their local filename.

The second error occurs because you have both VS.NET 2003 and VS 2005 installed, and when building individual web projects (via their http address), the Make VS.NET action doesn't parse the project file for the version, so it invokes the most-recently-installed version of VS (2005 in this case), and VS 2005 refuses to build the project file because it is for an older version of VS. You can work around this by specifying the full path for the VS 2003 version of devenv.com (typically C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.com) in the Override field on the Options tab of the Make VS.NET action (or create a macro with that value and reference it in that field).
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 11:06 AM.


Copyright © 1999-2023 Kinook Software, Inc.