It looks like you have to resolve this
error when using MSBuild:
] ASPNETCOMPILER :
error ASPRUNTIME: The precompilation target directory
(C:\Progra~1\omegaweb\src\ASP\Customermail\PrecompiledWeb\Customermail\) cannot
be in the same tree as the source application directory
(C:\Progra~1\omega\web\src\ASP\Customermail\).
I assume you are using a Web Site project not a Web Application?
Can you build the Web Site in Visual Studio without a problem?
From: Kumar .S
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 25, 2006
1:03 PM
To: Bob Archer
Subject: Re: [NAnt-users] Hello
everyone I am trying to compile a webproject in VS2005. I am getting an error.
When I remove the .webinfo line from my project this is the error I am
getting
Buildfile:
file:///d:/fifth.xml
Target framework: Microsoft .NET Framework 2.0
[exec] Microsoft (R) Build Engine Version 2.0.50727.42
[exec] [Microsoft .NET Framework, Version
2.0.50727.42]
[exec] Copyright (C) Microsoft Corporation 2005. All
rights reserved.
[exec] Build started 10/25/2006 9:54:19 AM.
[exec] __________________________________________________
[exec] Project
"C:\Proga~1\omega\web\src\ASP\CaptureCustomerEmail\Customermail.sln"
(Build target(s)):
[exec] Target ValidateSolutionConfiguration:
[exec] Building solution
configuration "Release|.NET".
[exec] Target Build:
[exec] Target http://localhost/CaptureCustomerEmail/
:
[exec]
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v
/Customermail -p ..\Customermail\ -u -f PrecompiledWeb\Customermail\
[exec]
ASPNETCOMPILER : error ASPRUNTIME: The precompilation target directory
(C:\Progra~1\omegaweb\src\ASP\Customermail\PrecompiledWeb\Customermail\) cannot
be in the same tree as the source application directory
(C:\Progra~1\omega\web\src\ASP\Customermail\).
[exec] Done building target
"http://localhost/Customermail/"
in project "Customermail.sln" -- FAILED.
[exec] Done building target "Build" in
project " Customermail.sln" -- FAILED.
[exec] Done building project
"CaptureCustomerEmail.sln" -- FAILED.
[exec] Build FAILED.
[exec] ASPNETCOMPILER : error ASPRUNTIME: The
precompilation target directory
(C:\Progra~1\oemga\web\src\ASP\Customermail\PrecompiledWeb\Customermail\)
cannot be in the same tree as the source application directory
(C:\Progra~1\omega\web\src\ASP\CaptureCustomerEmail\).
[exec] 0 Warning(s)
[exec] 1 Error(s)
[exec] Time Elapsed 00:00:00.14
BUILD
FAILED
d:\fifth.xml(8,2):
External Program Failed:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe (return code was 1)
Total
time: 0.3 seconds.
This
is the error message I am getting when I removed the .webinfo. Please rectifiy
me what am I doing wrong. Please
Regards,
Kumar
On 10/25/06, Bob
Archer <[EMAIL PROTECTED]>
wrote:
So, you are specifying .sln and .webinfo as you project
files. You only should be indicating the sln argument as the project name.
BOb
From: Kumar .S [mailto: [EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2006
12:31 PM
To: Bob Archer
Subject: Re:
[NAnt-users] Hello everyone I am trying to compile a webproject in VS2005. I am
getting an error.
The error
message which I am getting while compiling a web project is
Buildfile:
file:///d:/second.xml
Target framework: Microsoft .NET Framework 2.0
[exec] Microsoft (R) Build Engine Version 2.0.50727.42
[exec] [Microsoft .NET Framework, Version
2.0.50727.42]
[exec] Copyright (C) Microsoft Corporation 2005. All
rights reserved.
[exec] MSBUILD : error MSB1008: Only one project can
be specified.
[exec] Switch:
C:\Progra~1\omega\web\src\ASP\Customermail\Customermail.sln
[exec] For switch syntax, type "MSBuild
/help"
BUILD
FAILED
d:\second.xml(8,2):
External Program Failed:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe (return code was 1)
Total
time: 0.2 seconds.
On
10/25/06, Bob Archer < [EMAIL PROTECTED]>
wrote:
It helps to see the nant log output.
Hello I
have a question about compiling the web projects.. but I am not able to compile
it. I dont know what am I doing wrong can any one tell me please. I request you
guys. To correct me. Down is the code which I am trying to compile for a .net
web project.
<exec
program="c:\winnt\microsoft\framework\msbuild.exe" >
<arg
value="/property:Configuration=Release" />
<arg
value="/target:Build" />
<arg
value="C:\progra~1\omega\web\asp\capturemail\_vti_cnf\capturemail.csproj.webinfo"
/>
<arg
value="C:\progra~1\omega\web\asp\capturemail\capturemail.sln" />
Please
any one of you help me out in this please.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users