Re: Problems building from command line when custom IIS directories used
- From: "Alin Constantin [MSFT]" <cnila@xxxxxxxxxxxxx>
- Date: Mon, 20 Feb 2006 22:57:09 -0800
Hi Stephen,
To build from command line you need to open first from source control the
solution using the IDE.
The paths you introduce in the SetProjectLocation dialog are saved by the
IDE in the <solution>.suo file and are later needed to locate the project -
make sure you don't delete by mistake this file.
Building from command line should work if you use "devenv /build". The IDE
should read the web projects translations stored in the suo paths and should
locate the project correctly.
If you use other tools to build (like msbuild), they will not read the suo
translations, and will try to use directly the paths from the sln file,
which most likely point to a path that doesn't exist, and will cause the
message you describe to be displayed and the build to fail.
--
Alin Constantin
This posting is provided "AS IS" with no warranties, and confers no rights.
"Stephen Ahn" <noaddress_at_noaddress.com> wrote in message
news:e0kq6YbNGHA.3944@xxxxxxxxxxxxxxxxxxxxxxx
Using Visual Studio.NET 2003, dotnet 1.1 sp 1, VSS 6.0c.
I have a simple solution with a few web projects in them. It builds fine
from both the VS IDE and when calling devenv from command line for
automated builds.
The problems start when I try to map the web projects to custom IIS
directories. i.e. when using Open From Source Control, and using a non
standard location in the "Enter Working Copy Location Here" box. eg. say
the default location is : http://localhost/HelloWorldWebService, and I
change it to : http://localhost/HelloWorldWebService_v1
This will build ok from within the IDE, but when built from the command
line, the web projects give errors such as :
Visual Studio .NET cannot create or open the application. The likeliest
problem is that required components are not installed on the local Web
server. Run Visual Studio .NET setup and add the Web Development
component.
TIA,
Stephen
.
- Follow-Ups:
- Re: Problems building from command line when custom IIS directories used
- From: Stephen Ahn
- Re: Problems building from command line when custom IIS directories used
- References:
- Problems building from command line when custom IIS directories used
- From: Stephen Ahn
- Problems building from command line when custom IIS directories used
- Prev by Date: Re: syncing deleted files between VS2005 Web Project and VSS2005
- Next by Date: Re: Failed to access IIS Meatbase
- Previous by thread: Problems building from command line when custom IIS directories used
- Next by thread: Re: Problems building from command line when custom IIS directories used
- Index(es):
Relevant Pages
|