building web projects

Is there a way to build a web project to simulate the same structure as the "Publish Web Site" building in Visual Studio? Or would I have to create custom tasks to handle the files after compilation?
[209 byte] By [KeithChapman] at [2007-12-22]
# 1
Do you refer building it via Team Build?
LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
yes, sorry for not specifying.
KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3

If you have specified a "flavour" and platform to build which exists and is properly configured on the Web project, the Team Build has to create the structure, usually the the web default configuration is "Debug" and ".NET" platform.

LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4
I have tried that, but for some reason it only puts the log in the build directory, everything else is stored normally in the Sources directory, even though it "Completed Successfully".. This happens with Web Sites and Web Services using Debug/.Net and Release/.Net
KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
Have you checked the build log to see if there is raising any error?
LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6
Yes I have checked it.. Didn't find anything, and it succeeds with 0 Warnings and 0 Errors.. The log is quite small since I just created a test Web Service and Web Site to get the building correct..
KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 7
Hmm it's strange, usually when it doesn't compile it gives error there.
LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 8

Yea.. Here is the log after it gets all files:

Project "D:\Builds\eDiets\eDiets - Internal Service Interfaces\eDiets\eDiets - Internal Service Interfaces\BuildType\TFSBuild.proj" is building "D:\Builds\eDiets\eDiets - Internal Service Interfaces\eDiets\eDiets - Internal Service Interfaces\Sources\eDiets.Internal.ServiceInterfaces\eDiets.Internal.ServiceInterfaces.sln" (Build target(s)):

Target ValidateSolutionConfiguration:
Building solution configuration "Release|.NET".
Target GetChangeSetsAndUpdateWorkItems:
GenCheckinNotesUpdateWorkItems TeamFoundationServerUrl="http://dev1:8080/" CurrentLabel="LeDiets - Internal Service Interfaces_20060801.1@$/eDiets" LastLabel="LeDiets - Internal Service Interfaces_20060731.5@$/eDiets" UpdateWorkItems=True BuildId="eDiets - Internal Service Interfaces_20060801.1"
Querying the contents of label 'LeDiets - Internal Service Interfaces_20060731.5@$/eDiets'.
Querying the contents of label 'LeDiets - Internal Service Interfaces_20060801.1@$/eDiets'.
Analyzing labels LeDiets - Internal Service Interfaces_20060731.5@$/eDiets and LeDiets - Internal Service Interfaces_20060801.1@$/eDiets.
Querying item history.
Changeset '400' was included in this build.

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:10.84

KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 9
Have you tried, just for trying, compile it in Debug|.NET? maybe there is somthing wrong with the Release configuration
LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 10

Ok now that configuration is throwing an error:

Build FAILED.
ASPNETCOMPILER : error 1003: The directory 'D:\Builds\eDiets\eDiets\eDiets - Internal Service Interfaces\Sources\eDiets\eDiets.Internal.ServiceInterfaces\SomeService\' doesn't exist.
ASPNETCOMPILER : error 1003: The directory 'D:\Builds\eDiets\eDiets\eDiets - Internal Service Interfaces\Sources\eDiets\eDiets.Internal.ServiceInterfaces\WebSite1\' doesn't exist.
0 Warning(s)
2 Error(s)

But the sources are in:

D:\Builds\eDiets\eDiets\eDiets - Internal Service Interfaces\Sources\eDiets.Internal.ServiceInterfaces\

Why would it be adding the "eDiets" directory between 'Sources' and 'eDiets.Internal.ServiceInterfaces'?

KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 11
Hmmm that's strange, maybe you have some absolute path on your solution (when you added the projects) or something like that?, seems pretty strange to me
LuisFraile at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 12
There was a path in the solution that I didn't catch before. Thanks for your help.
KeithChapman at 2007-8-30 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified