Albert
08-23-2006, 10:57 AM
My solution has many projects having project references to other projects in my solution. The solution builds successfully when built from Visual Studio 2003 and also from Visual Build Pro 6.1. However, while building projects individually (in the correct order of dependency of course) in Visual Build Pro, once I reach the first project that has a project reference to a previously build assembly I get the following Error:
8/23/2006 11:38:03 AM: Building project step 'Build Utility'...
Pre-processing...
Building configuration 'Release'...
Microsoft (R) Development Environment Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Build started: Project: Utility, Configuration: Release .NET ------
Preparing resources...
Updating references...
Performing main compilation...
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(2,7): error CS0246: The type or namespace name 'Web' could not be found (are you missing a using directive or an assembly reference?)
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(3,7): error CS0246: The type or namespace name 'WG' could not be found (are you missing a using directive or an assembly reference?)
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(5,7): error CS0246: The type or namespace name 'WG' could not be found (are you missing a using directive or an assembly reference?)
Build complete -- 3 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Process completed with exit code 1
8/23/2006 11:38:07 AM: Step 'Build Utility' failed
8/23/2006 11:38:07 AM: Build ended.
Can anyone tell my why? I presume that when the project is using a relative reference and that as long as the dependent project is in the same relative location it will find the dll. In my case that would be something like ..\<dependent project dir>\obj\release\<ass.dll>
Thank You!
8/23/2006 11:38:03 AM: Building project step 'Build Utility'...
Pre-processing...
Building configuration 'Release'...
Microsoft (R) Development Environment Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Build started: Project: Utility, Configuration: Release .NET ------
Preparing resources...
Updating references...
Performing main compilation...
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(2,7): error CS0246: The type or namespace name 'Web' could not be found (are you missing a using directive or an assembly reference?)
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(3,7): error CS0246: The type or namespace name 'WG' could not be found (are you missing a using directive or an assembly reference?)
C:\Documents and Settings\Albert\My Documents\Visual Studio 2003 Projects\The Sporn Group\Visual Build Pro\Source\Utility\TimeUtil.cs(5,7): error CS0246: The type or namespace name 'WG' could not be found (are you missing a using directive or an assembly reference?)
Build complete -- 3 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
Process completed with exit code 1
8/23/2006 11:38:07 AM: Step 'Build Utility' failed
8/23/2006 11:38:07 AM: Build ended.
Can anyone tell my why? I presume that when the project is using a relative reference and that as long as the dependent project is in the same relative location it will find the dll. In my case that would be something like ..\<dependent project dir>\obj\release\<ass.dll>
Thank You!