none
How to build with sub-application projects?

    Question

  • We have a web site project (don't ask) with two third-party web applications that live in directories under the root of the web site project (/, /forum and /ads).  I've been attempting to get TFS to build the main project, but it always dies when attempting to build the sub-projects.  (In TFS Source Control they are not identified as sub-projects, just sub-directories)...  (Maybe I need to change this?)

    At any rate, how can I get TFS Build (on a separate build server) to build this project?  It builds fine on my local machine, but dies on the build server.

    TIA,
    Owen

    • Edited by Owen37 Monday, November 19, 2012 5:18 PM added signature name
    Monday, November 19, 2012 5:18 PM

All replies

  • Hi Owen,

    Thanks for your post!

    Can you tell me if the web site project and the two sub-projects belong to one solution? Team build can build one solution.

    If yes, when you queue a build, in the Queue build dialog, select Parameters, and set the logging Verbosity to Diagnostic, and queue the build.

    Can you find some related errors in the build log?

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us


    Tuesday, November 20, 2012 7:26 AM
  • I THINK they're in the same solution.  Though, it is a web SITE project and NOT a web APPLICATION project....

    I ran the build queue with diagnostic and here's some error outputs:

    Summary
    Debug | Any CPU
     3 error(s), 2 warning(s)
    $/Main Content Site/ProjectFiles/dev.siteurl.com.sln - 3 error(s), 2 warning(s), View Log File
     ASPNETCOMPILER: Could not load file or assembly 'ads' or one of its dependencies. An attempt was made to load a program with an incorrect format.
     ASPNETCOMPILER: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\ads\' doesn't exist.
     ASPNETCOMPILER: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\forum\' doesn't exist.
     C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj: The project configuration for project "ads" was not specified in the solution file for the solution configuration "Debug|Any CPU".
     C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj: The project configuration for project "Forum" was not specified in the solution file for the solution configuration "Debug|Any CPU".
     $/Main Content Site/ProjectFiles/dev.siteurl.com.sln compiled
     No Test Results
     No Code Coverage Results
    Other Errors and Warnings
     1 error(s), 1 warning(s)
     TF270015: 'MSBuild.exe' returned an unexpected exit code. Expected '0'; actual '1'.
     The directory is not empty.

    I also clicked on the "View Log File" link, VERY SLOW TO LOAD....  In fact, VS2010 seems to have locked-up/crashed...


    • Edited by Owen37 Tuesday, November 20, 2012 2:32 PM rename folder...
    Tuesday, November 20, 2012 2:14 PM
  • Here's the logfile. Directory names and 3rd party app names changed to protect the guilty:

    Build started 11/20/2012 6:58:46 AM.
    Environment at start of build:
    MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath64 = C:\Program Files\MSBuild
    MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
    LOCALAPPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Local
    ALLUSERSPROFILE = C:\ProgramData
    APPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming
    BuildUri = vstfs:///Build/Build/566
    CommonProgramFiles = C:\Program Files\Common Files
    CommonProgramW6432 = C:\Program Files\Common Files
    COMPUTERNAME = TUC05DEV
    ComSpec = C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK = NO
    NUMBER_OF_PROCESSORS = 4
    OS = Windows_NT
    Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL = 6
    PROCESSOR_REVISION = 0f06
    ProgramData = C:\ProgramData
    ProgramFiles = C:\Program Files
    ProgramW6432 = C:\Program Files
    PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC = C:\Users\Public
    SystemDrive = C:
    SystemRoot = C:\Windows
    TeamFoundationServerUrl = http://tuc05dev:8080/tfs/Web%20Sites
    TEMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    TMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    USERDOMAIN = DOMAINNAME
    USERNAME = TUC05DEV$
    USERPROFILE = C:\Windows\ServiceProfiles\NetworkService
    VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir = C:\Windows

    Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" on node 1 (default targets).
    Initial Properties:
    ALLUSERSPROFILE = C:\ProgramData
    APPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming
    AspNetConfiguration = Debug
    BuildUri = vstfs:///Build/Build/566
    CommonProgramFiles = C:\Program Files\Common Files
    CommonProgramW6432 = C:\Program Files\Common Files
    COMPUTERNAME = TUC05DEV
    ComSpec = C:\Windows\system32\cmd.exe
    Configuration = Debug
    CurrentSolutionConfigurationContents = <SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>
    FP_NO_HOST_CHECK = NO
    FrameworkSDKRoot = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
    LOCALAPPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Local
    MSBuildBinPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath64 = C:\Program Files\MSBuild
    MSBuildNodeCount = 1
    MSBuildProgramFiles32 = C:\Program Files (x86)
    MSBuildProjectDefaultTargets = Build
    MSBuildProjectDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectDirectoryNoRoot = Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectExtension = .metaproj
    MSBuildProjectFile = dev.siteurl.com.sln.metaproj
    MSBuildProjectFullPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj
    MSBuildProjectName = dev.siteurl.com.sln
    MSBuildRuntimeVersion = 4.0.30319
    MSBuildStartupDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildToolsPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildToolsPath32 = C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    MSBuildToolsRoot = C:\Windows\Microsoft.NET\Framework64\
    MSBuildToolsVersion = 4.0
    NUMBER_OF_PROCESSORS = 4
    OS = Windows_NT
    OutDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\
    Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    Platform = Any CPU
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL = 6
    PROCESSOR_REVISION = 0f06
    ProgramData = C:\ProgramData
    ProgramFiles = C:\Program Files
    ProgramW6432 = C:\Program Files
    PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC = C:\Users\Public
    SDK35ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
    SDK40ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\
    SkipInvalidConfigurations = true
    SolutionDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\
    SolutionExt = .sln
    SolutionFileName = dev.siteurl.com.sln
    SolutionName = dev.siteurl.com
    SolutionPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln
    SystemDrive = C:
    SystemRoot = C:\Windows
    TargetFrameworkVersion = v4.0
    TeamFoundationServerUrl = http://tuc05dev:8080/tfs/Web Sites
    TEMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    TMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    USERDOMAIN = DOMAINNAME
    USERNAME = TUC05DEV$
    USERPROFILE = C:\Windows\ServiceProfiles\NetworkService
    VCBuildOverride = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.vsprops
    VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\
    VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir = C:\Windows

    Initial Items:
    ProjectReference
        C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj
            ToolsVersion = 4.0
            SkipNonexistentProjects = Build
            AdditionalProperties = Configuration=Debug; Platform=Any CPU
        C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj
            ToolsVersion = 4.0
            SkipNonexistentProjects = Build
            AdditionalProperties = Configuration=Debug; Platform=Any CPU
            Configuration = Debug
            Platform = AnyCPU
        C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj
            ToolsVersion = 4.0
            SkipNonexistentProjects = Build
            AdditionalProperties = Configuration=Debug; Platform=Any CPU

    Building with tools version "2.0".
    Target "ValidateSolutionConfiguration: (TargetId:2)" in file "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj" from project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (entry point):
    Task "Error" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' != 'true')) was evaluated as (('<SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>' == '') and ('true' != 'true')).
    Task "Warning" skipped, due to false condition; (('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' == 'true')) was evaluated as (('<SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>' == '') and ('true' == 'true')).
    Using "Message" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "Message" (TaskId:2)
      Building solution configuration "Debug|Any CPU". (TaskId:2)
    Done executing task "Message". (TaskId:2)
    Done building target "ValidateSolutionConfiguration" in project "dev.siteurl.com.sln".: (TargetId:2)
    Target "ValidateToolsVersions: (TargetId:3)" in file "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj" from project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (entry point):
    Task "Error" skipped, due to false condition; ('$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0' and '$(ProjectToolsVersion)' != '')) was evaluated as ('4.0' == '2.0' and ('' != '2.0' and '' != '')).
    Done building target "ValidateToolsVersions" in project "dev.siteurl.com.sln".: (TargetId:3)
    Target "ValidateProjects: (TargetId:4)" in file "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj" from project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (entry point):
    Task "Warning" skipped, due to false condition; ( ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ) was evaluated as ( ('Debug' == 'Release') and ('Any CPU' == 'Any CPU') ).
    Using "Warning" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "Warning" (TaskId:3)
    C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj : warning MSB4121: The project configuration for project "ads" was not specified in the solution file for the solution configuration "Debug|Any CPU". [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln]
    Done executing task "Warning". (TaskId:3)
    Task "Warning" skipped, due to false condition; ( ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ) was evaluated as ( ('Debug' == 'Release') and ('Any CPU' == 'Any CPU') ).
    Task "Warning" (TaskId:4)
    C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj : warning MSB4121: The project configuration for project "Forum" was not specified in the solution file for the solution configuration "Debug|Any CPU". [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln]
    Done executing task "Warning". (TaskId:4)
    Task "Warning" skipped, due to false condition; ( ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ) was evaluated as ( ('Debug' == 'Release') and ('Any CPU' == 'Any CPU') ).
    Done building target "ValidateProjects" in project "dev.siteurl.com.sln".: (TargetId:4)
    Target "Build: (TargetId:5)" in file "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj" from project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (entry point):
    Using "MSBuild" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "MSBuild" (TaskId:5)
      Global Properties: (TaskId:5)
        BuildingSolutionFile=true (TaskId:5)
        CurrentSolutionConfigurationContents=<SolutionConfiguration>
        <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
      </SolutionConfiguration> (TaskId:5)
        SolutionDir=C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ (TaskId:5)
        SolutionExt=.sln (TaskId:5)
        SolutionFileName=dev.siteurl.com.sln (TaskId:5)
        SolutionName=dev.siteurl.com (TaskId:5)
        SolutionPath=C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln (TaskId:5)
      Additional Properties for project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj": (TaskId:5)
        Configuration=Debug (TaskId:5)
        Platform=Any CPU (TaskId:5)
      Additional Properties for project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj": (TaskId:5)
        Configuration=Debug (TaskId:5)
        Platform=Any CPU (TaskId:5)
      Additional Properties for project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj": (TaskId:5)
        Configuration=Debug (TaskId:5)
        Platform=Any CPU (TaskId:5)
    Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (1) is building "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj" (2) on node 1 (default targets).
    Initial Properties:
    ALLUSERSPROFILE = C:\ProgramData
    APPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming
    AspNetConfiguration = Debug
    BuildUri = vstfs:///Build/Build/566
    CommonProgramFiles = C:\Program Files\Common Files
    CommonProgramW6432 = C:\Program Files\Common Files
    COMPUTERNAME = TUC05DEV
    ComSpec = C:\Windows\system32\cmd.exe
    Configuration = Debug
    CurrentSolutionConfigurationContents = <SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>
    FP_NO_HOST_CHECK = NO
    FrameworkSDKRoot = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
    LOCALAPPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Local
    MSBuildBinPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath64 = C:\Program Files\MSBuild
    MSBuildNodeCount = 1
    MSBuildProgramFiles32 = C:\Program Files (x86)
    MSBuildProjectDefaultTargets = Build
    MSBuildProjectDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectDirectoryNoRoot = Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectExtension = .metaproj
    MSBuildProjectFile = dev.siteurl.com.sln.metaproj
    MSBuildProjectFullPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj
    MSBuildProjectName = dev.siteurl.com.sln
    MSBuildRuntimeVersion = 4.0.30319
    MSBuildStartupDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildToolsPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildToolsPath32 = C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    MSBuildToolsRoot = C:\Windows\Microsoft.NET\Framework64\
    MSBuildToolsVersion = 4.0
    NUMBER_OF_PROCESSORS = 4
    OS = Windows_NT
    OutDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\
    Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    Platform = Any CPU
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL = 6
    PROCESSOR_REVISION = 0f06
    ProgramData = C:\ProgramData
    ProgramFiles = C:\Program Files
    ProgramW6432 = C:\Program Files
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetAPTCA =
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetDebug = True
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetDelaySign =
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetFixedNames = false
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetForce = true
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetKeyContainer =
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetKeyFile =
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetPhysicalPath = ..\dev\
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetTargetPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\dev\
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetUpdateable = true
    Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_AspNetVirtualPath = /dev.siteurl.com
    PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC = C:\Users\Public
    SDK35ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
    SDK40ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\
    SkipInvalidConfigurations = true
    SolutionDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\
    SolutionExt = .sln
    SolutionFileName = dev.siteurl.com.sln
    SolutionName = dev.siteurl.com
    SolutionPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln
    SystemDrive = C:
    SystemRoot = C:\Windows
    TargetFrameworkVersion = v4.0
    TeamFoundationServerUrl = http://tuc05dev:8080/tfs/Web Sites
    TEMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    TMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    USERDOMAIN = DOMAINNAME
    USERNAME = TUC05DEV$
    USERPROFILE = C:\Windows\ServiceProfiles\NetworkService
    VCBuildOverride = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.vsprops
    VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\
    VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir = C:\Windows

    Building with tools version "4.0".
    Target "GetFrameworkPathAndRedistList: (TargetId:6)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj" (target "Build" depends on it):
    Using "GetFrameworkPath" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "GetFrameworkPath" (TaskId:6)
    Done executing task "GetFrameworkPath". (TaskId:6)
    Using "CreateItem" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "CreateItem" (TaskId:7)
    Done executing task "CreateItem". (TaskId:7)
    Done building target "GetFrameworkPathAndRedistList" in project "dev_siteurl_com.metaproj".: (TargetId:6)
    Target "Build: (TargetId:7)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj" (entry point):
    Task "MSBuild" (TaskId:8)
    Done executing task "MSBuild". (TaskId:8)
    Task "CreateItem" (TaskId:9)
    Done executing task "CreateItem". (TaskId:9)
    Task "ReadLinesFromFile" skipped, due to false condition; ( '%(Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_References_RefreshFile.Identity)' != '' ) was evaluated as ( '' != '' ).
    Using "CombinePath" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "CombinePath" (TaskId:10)
    Done executing task "CombinePath". (TaskId:10)
    Using "Copy" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "Copy" (TaskId:11)
    Done executing task "Copy". (TaskId:11)
    Using "GetReferenceAssemblyPaths" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "GetReferenceAssemblyPaths" (TaskId:12)
    Done executing task "GetReferenceAssemblyPaths". (TaskId:12)
    Task "ResolveAssemblyReference" skipped, due to false condition; (Exists('%(Project_3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15_References.Identity)')) was evaluated as (Exists('')).
    Task "Copy" (TaskId:13)
    Done executing task "Copy". (TaskId:13)
    Using "AspNetCompiler" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "AspNetCompiler" (TaskId:14)

      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v /dev.siteurl.com -p ..\dev\ -u -f -d "C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\dev\\"  (TaskId:14)
      Utility to precompile an ASP.NET application (TaskId:14)
      Copyright (C) Microsoft Corporation. All rights reserved. (TaskId:14)
       (TaskId:14)
    ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'ads' or one of its dependencies. An attempt was made to load a program with an incorrect format. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj]
      The command exited with code 1. (TaskId:14)

    Done executing task "AspNetCompiler" -- FAILED. (TaskId:14)
    Done building target "Build" in project "dev_siteurl_com.metaproj" -- FAILED.: (TargetId:7)
    Done Building Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj" (default targets) -- FAILED.
    Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (1) is building "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj" (3) on node 1 (default targets).
    Initial Properties:
    ALLUSERSPROFILE = C:\ProgramData
    APPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming
    AspNetConfiguration = Debug
    BuildUri = vstfs:///Build/Build/566
    CommonProgramFiles = C:\Program Files\Common Files
    CommonProgramW6432 = C:\Program Files\Common Files
    COMPUTERNAME = TUC05DEV
    ComSpec = C:\Windows\system32\cmd.exe
    Configuration = Debug
    CurrentSolutionConfigurationContents = <SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>
    FP_NO_HOST_CHECK = NO
    FrameworkSDKRoot = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
    LOCALAPPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Local
    MSBuildBinPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath64 = C:\Program Files\MSBuild
    MSBuildNodeCount = 1
    MSBuildProgramFiles32 = C:\Program Files (x86)
    MSBuildProjectDefaultTargets = Build
    MSBuildProjectDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectDirectoryNoRoot = Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectExtension = .metaproj
    MSBuildProjectFile = dev.siteurl.com.sln.metaproj
    MSBuildProjectFullPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj
    MSBuildProjectName = dev.siteurl.com.sln
    MSBuildRuntimeVersion = 4.0.30319
    MSBuildStartupDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildToolsPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildToolsPath32 = C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    MSBuildToolsRoot = C:\Windows\Microsoft.NET\Framework64\
    MSBuildToolsVersion = 4.0
    NUMBER_OF_PROCESSORS = 4
    OS = Windows_NT
    OutDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\
    Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    Platform = Any CPU
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL = 6
    PROCESSOR_REVISION = 0f06
    ProgramData = C:\ProgramData
    ProgramFiles = C:\Program Files
    ProgramW6432 = C:\Program Files
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetAPTCA =
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetDebug = True
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetDelaySign =
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetFixedNames = false
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetForce = true
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetKeyContainer =
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetKeyFile =
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetPhysicalPath = ..\inetpub\wwwroot\Main Content Site\dev\ads\
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetTargetPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\ads\
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetUpdateable = true
    Project_B4424A1D-E098-4FE1-BA53-46880DA70061_AspNetVirtualPath = /ads
    PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC = C:\Users\Public
    SDK35ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
    SDK40ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\
    SkipInvalidConfigurations = true
    SolutionDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\
    SolutionExt = .sln
    SolutionFileName = dev.siteurl.com.sln
    SolutionName = dev.siteurl.com
    SolutionPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln
    SystemDrive = C:
    SystemRoot = C:\Windows
    TargetFrameworkVersion = v4.0
    TeamFoundationServerUrl = http://tuc05dev:8080/tfs/Web Sites
    TEMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    TMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    USERDOMAIN = DOMAINNAME
    USERNAME = TUC05DEV$
    USERPROFILE = C:\Windows\ServiceProfiles\NetworkService
    VCBuildOverride = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.vsprops
    VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\
    VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir = C:\Windows

    Building with tools version "4.0".
    Target "GetFrameworkPathAndRedistList: (TargetId:8)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj" (target "Build" depends on it):
    Task "GetFrameworkPath" (TaskId:15)
    Done executing task "GetFrameworkPath". (TaskId:15)
    Task "CreateItem" (TaskId:16)
    Done executing task "CreateItem". (TaskId:16)
    Done building target "GetFrameworkPathAndRedistList" in project "ads.metaproj".: (TargetId:8)
    Target "Build: (TargetId:9)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj" (entry point):
    Task "MSBuild" (TaskId:17)
    Done executing task "MSBuild". (TaskId:17)
    Task "CreateItem" (TaskId:18)
    Done executing task "CreateItem". (TaskId:18)
    Task "ReadLinesFromFile" skipped, due to false condition; ( '%(Project_B4424A1D-E098-4FE1-BA53-46880DA70061_References_RefreshFile.Identity)' != '' ) was evaluated as ( '' != '' ).
    Task "CombinePath" (TaskId:19)
    Done executing task "CombinePath". (TaskId:19)
    Task "Copy" (TaskId:20)
    Done executing task "Copy". (TaskId:20)
    Task "GetReferenceAssemblyPaths" (TaskId:21)
    Done executing task "GetReferenceAssemblyPaths". (TaskId:21)
    Task "ResolveAssemblyReference" skipped, due to false condition; (Exists('%(Project_B4424A1D-E098-4FE1-BA53-46880DA70061_References.Identity)')) was evaluated as (Exists('')).
    Task "Copy" (TaskId:22)
    Done executing task "Copy". (TaskId:22)
    Task "AspNetCompiler" (TaskId:23)

      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v /ads -p "..\inetpub\wwwroot\Main Content Site\dev\ads\\" -u -f -d "C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\ads\\"  (TaskId:23)
      Utility to precompile an ASP.NET application (TaskId:23)
      Copyright (C) Microsoft Corporation. All rights reserved. (TaskId:23)
       (TaskId:23)
    ASPNETCOMPILER : error 1003: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\ads\' doesn't exist. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj]
      The command exited with code 1. (TaskId:23)

    Done executing task "AspNetCompiler" -- FAILED. (TaskId:23)
    Done building target "Build" in project "ads.metaproj" -- FAILED.: (TargetId:9)
    Done Building Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj" (default targets) -- FAILED.
    Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (1) is building "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj" (4) on node 1 (default targets).
    Initial Properties:
    ALLUSERSPROFILE = C:\ProgramData
    APPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming
    AspNetConfiguration = Debug
    BuildUri = vstfs:///Build/Build/566
    CommonProgramFiles = C:\Program Files\Common Files
    CommonProgramW6432 = C:\Program Files\Common Files
    COMPUTERNAME = TUC05DEV
    ComSpec = C:\Windows\system32\cmd.exe
    Configuration = Debug
    CurrentSolutionConfigurationContents = <SolutionConfiguration>
      <ProjectConfiguration Project="{3E4F69CA-A3A3-4B94-B6C2-F3D562CF6C15}" AbsolutePath="C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\http://dev.siteurl.com" BuildProjectInSolution="True">Debug|AnyCPU</ProjectConfiguration>
    </SolutionConfiguration>
    FP_NO_HOST_CHECK = NO
    FrameworkSDKRoot = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\
    LOCALAPPDATA = C:\Windows\ServiceProfiles\NetworkService\AppData\Local
    MSBuildBinPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
    MSBuildExtensionsPath64 = C:\Program Files\MSBuild
    MSBuildNodeCount = 1
    MSBuildProgramFiles32 = C:\Program Files (x86)
    MSBuildProjectDefaultTargets = Build
    MSBuildProjectDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectDirectoryNoRoot = Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildProjectExtension = .metaproj
    MSBuildProjectFile = dev.siteurl.com.sln.metaproj
    MSBuildProjectFullPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj
    MSBuildProjectName = dev.siteurl.com.sln
    MSBuildRuntimeVersion = 4.0.30319
    MSBuildStartupDirectory = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles
    MSBuildToolsPath = C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    MSBuildToolsPath32 = C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    MSBuildToolsRoot = C:\Windows\Microsoft.NET\Framework64\
    MSBuildToolsVersion = 4.0
    NUMBER_OF_PROCESSORS = 4
    OS = Windows_NT
    OutDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\
    Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    Platform = Any CPU
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 15 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL = 6
    PROCESSOR_REVISION = 0f06
    ProgramData = C:\ProgramData
    ProgramFiles = C:\Program Files
    ProgramW6432 = C:\Program Files
    Project_07745916-630B-4D33-BC24-654836309871_AspNetAPTCA =
    Project_07745916-630B-4D33-BC24-654836309871_AspNetDebug = True
    Project_07745916-630B-4D33-BC24-654836309871_AspNetDelaySign =
    Project_07745916-630B-4D33-BC24-654836309871_AspNetFixedNames = false
    Project_07745916-630B-4D33-BC24-654836309871_AspNetForce = true
    Project_07745916-630B-4D33-BC24-654836309871_AspNetKeyContainer =
    Project_07745916-630B-4D33-BC24-654836309871_AspNetKeyFile =
    Project_07745916-630B-4D33-BC24-654836309871_AspNetPhysicalPath = ..\inetpub\wwwroot\Main Content Site\dev\forum\
    Project_07745916-630B-4D33-BC24-654836309871_AspNetTargetPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\forum\
    Project_07745916-630B-4D33-BC24-654836309871_AspNetUpdateable = true
    Project_07745916-630B-4D33-BC24-654836309871_AspNetVirtualPath = /Forum
    PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC = C:\Users\Public
    SDK35ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
    SDK40ToolsPath = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\
    SkipInvalidConfigurations = true
    SolutionDir = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\
    SolutionExt = .sln
    SolutionFileName = dev.siteurl.com.sln
    SolutionName = dev.siteurl.com
    SolutionPath = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln
    SystemDrive = C:
    SystemRoot = C:\Windows
    TargetFrameworkVersion = v4.0
    TeamFoundationServerUrl = http://tuc05dev:8080/tfs/Web Sites
    TEMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    TMP = C:\Windows\SERVIC~2\NETWOR~1\AppData\Local\Temp
    USERDOMAIN = DOMAINNAME
    USERNAME = TUC05DEV$
    USERPROFILE = C:\Windows\ServiceProfiles\NetworkService
    VCBuildOverride = C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.vsprops
    VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\
    VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
    windir = C:\Windows

    Building with tools version "4.0".
    Target "GetFrameworkPathAndRedistList: (TargetId:10)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj" (target "Build" depends on it):
    Task "GetFrameworkPath" (TaskId:24)
    Done executing task "GetFrameworkPath". (TaskId:24)
    Task "CreateItem" (TaskId:25)
    Done executing task "CreateItem". (TaskId:25)
    Done building target "GetFrameworkPathAndRedistList" in project "Forum.metaproj".: (TargetId:10)
    Target "Build: (TargetId:11)" in project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj" (entry point):
    Task "MSBuild" (TaskId:26)
    Done executing task "MSBuild". (TaskId:26)
    Task "CreateItem" (TaskId:27)
    Done executing task "CreateItem". (TaskId:27)
    Task "ReadLinesFromFile" skipped, due to false condition; ( '%(Project_07745916-630B-4D33-BC24-654836309871_References_RefreshFile.Identity)' != '' ) was evaluated as ( '' != '' ).
    Task "CombinePath" (TaskId:28)
    Done executing task "CombinePath". (TaskId:28)
    Task "Copy" (TaskId:29)
    Done executing task "Copy". (TaskId:29)
    Task "GetReferenceAssemblyPaths" (TaskId:30)
    Done executing task "GetReferenceAssemblyPaths". (TaskId:30)
    Task "ResolveAssemblyReference" skipped, due to false condition; (Exists('%(Project_07745916-630B-4D33-BC24-654836309871_References.Identity)')) was evaluated as (Exists('')).
    Task "Copy" (TaskId:31)
    Done executing task "Copy". (TaskId:31)
    Task "AspNetCompiler" (TaskId:32)

      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler.exe -v /Forum -p "..\inetpub\wwwroot\Main Content Site\dev\forum\\" -u -f -d "C:\Builds\1\Main Content Site\dev.siteurl.com\Binaries\_PublishedWebsites\forum\\"  (TaskId:32)
      Utility to precompile an ASP.NET application (TaskId:32)
      Copyright (C) Microsoft Corporation. All rights reserved. (TaskId:32)
       (TaskId:32)
    ASPNETCOMPILER : error 1003: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\forum\' doesn't exist. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj]
      The command exited with code 1. (TaskId:32)

    Done executing task "AspNetCompiler" -- FAILED. (TaskId:32)
    Done building target "Build" in project "Forum.metaproj" -- FAILED.: (TargetId:11)
    Done Building Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj" (default targets) -- FAILED.
    Done executing task "MSBuild" -- FAILED. (TaskId:5)
    Done building target "Build" in project "dev.siteurl.com.sln" -- FAILED.: (TargetId:5)
    Done Building Project "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (default targets) -- FAILED.

    Project Performance Summary:
          153 ms  C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj   1 calls
          155 ms  C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj   1 calls
         3897 ms  C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj   1 calls
         5399 ms  C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln   1 calls

    Target Performance Summary:
            1 ms  ValidateToolsVersions                      1 calls
           49 ms  GetFrameworkPathAndRedistList              3 calls
           66 ms  ValidateProjects                           1 calls
          148 ms  ValidateSolutionConfiguration              1 calls
         8353 ms  Build                                      4 calls

    Task Performance Summary:
            2 ms  Copy                                       6 calls
            6 ms  CombinePath                                3 calls
           16 ms  Message                                    1 calls
           18 ms  GetFrameworkPath                           3 calls
           31 ms  GetReferenceAssemblyPaths                  3 calls
           46 ms  CreateItem                                 6 calls
           60 ms  Warning                                    2 calls
         4048 ms  AspNetCompiler                             3 calls
         4234 ms  MSBuild                                    4 calls

    Build FAILED.

    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (default target) (1) ->
    (ValidateProjects target) ->
      C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj : warning MSB4121: The project configuration for project "ads" was not specified in the solution file for the solution configuration "Debug|Any CPU". [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln]
      C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln.metaproj : warning MSB4121: The project configuration for project "Forum" was not specified in the solution file for the solution configuration "Debug|Any CPU". [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln]


    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (default target) (1) ->
    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj" (default target) (2) ->
    (Build target) ->
      ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'ads' or one of its dependencies. An attempt was made to load a program with an incorrect format. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev_siteurl_com.metaproj]


    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (default target) (1) ->
    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj" (default target) (3) ->
      ASPNETCOMPILER : error 1003: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\ads\' doesn't exist. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\ads.metaproj]


    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\dev.siteurl.com.sln" (default target) (1) ->
    "C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj" (default target) (4) ->
      ASPNETCOMPILER : error 1003: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\forum\' doesn't exist. [C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\ProjectFiles\Forum.metaproj]

        2 Warning(s)
        3 Error(s)

    Time Elapsed 00:00:05.55

    Tuesday, November 20, 2012 2:37 PM
  • Hi

    Please try to this:

    1. open the solution in your IDE
    2. View solution explorer
    3. expand the references
    4. right click on your referenced file.
    5. Change "copy local" to true.
     

    For more information, please refer to the similar links as follows: 

    http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/cc00faa4-f379-47d2-a613-f402faf862d6/#79662a3a-9dc3-48bc-96c8-c752eb9ea20b

    http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/46387634-ed10-4d3e-8d63-294a498140f8

    http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/74bb16ab-5fe6-4c00-951b-666afd639864

    Hope it helps!

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, November 21, 2012 9:09 AM
  • Hi

    Please try to this:

    1. open the solution in your IDE
    2. View solution explorer
    3. expand the references
    4. right click on your referenced file.
    5. Change "copy local" to true.
     


    Hmmm. I don't know where "expand the references" is referring.
    Remember, this is a WEB SITE PROJECT, not a web application project. At any rate, I don't see anyting called "references" in the Solution Explorer.

    --Owen

    Wednesday, November 21, 2012 3:50 PM
  • Plus, now that I think about it; the sub-web-sites are third-party applications that I really DON'T Want to build with my TFS Build server. They should just be there and provide whatever it is my top-level web-site project needs in the way of syntax or whatever so that it will build.

    FWIW...

    Wednesday, November 21, 2012 5:31 PM
  • Hi Owen37,

    Thanks for your feedback!

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
     
    Thank you for your understanding and support.


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, November 22, 2012 7:06 AM
  • Hi,

    From this error:

    ASPNETCOMPILER : error 1003: The directory 'C:\Builds\1\Main Content Site\dev.siteurl.com\Sources\wwwroot\Main Content Site\inetpub\wwwroot\Main Content Site\dev\ads\' doesn't exist.

    I believe your workspace setting is incorrect, please use default setting in Build Agent Folder.

    "ASPNETCOMPILER : error ASPCONFIG: Could not load file or assembly 'ads' or one of its dependencies."

    Above error indicates dependency assembly was not built, not found. This could be resulted from first mentioned error. After you fixed first one, the solution should build.

    with regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Friday, November 23, 2012 2:35 PM
  • Hi Owen,

    Do you get some progress?

    with regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, November 26, 2012 3:34 AM
  • Where is that setting?
    Monday, November 26, 2012 3:18 PM
  • OK. Thanks.

    I have no references.  This is a WEB SITE PROJECT, not a Web application project...

    Monday, November 26, 2012 10:16 PM
  • The build agent folder setting is in the TFS build definition > workspace tab. Can you find it and modify as I suggest?

    Regards,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, November 26, 2012 11:33 PM
  • How do I specify a "default".  If I leave the "Build Agent Folder" blank, then I get an error saying "Please specify a local folder".

    What is there now is: "$(SourceDir)\wwwroot\Main Content Site", etc...

    Thanks,
    Owen

    Tuesday, November 27, 2012 1:01 PM
  • Sorry for delay response.

    As I understand, there's solution that contains the web site, and two web application under the solution. You build all of these by building the root level solution.

    Website and web application should be built separately, (/, /forum and /ads) In build definition>workspace setting, make sure they are all mapped.

    In build definition > Process tab, make sure the "Item to Build" has three entries: /forum project, /ads project and the web site solution,

    In my case, I set below msbuild arguments, as I have only website to build. No more sub web application. The arguments are:

    /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:MSDeployPublishMethod=InProc /p:CreatePackageOnPublish=True /p:DeployIisAppPath="Default Web Site/website" /p:MsDeployServiceUrl=localhost

    Hope these helps.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Friday, November 30, 2012 3:36 PM
  • Hmmm. Not sure how to do what you've suggested.  The forum project is just a directory in the root of our website project (I think it's a website project as well with a couple of compiled DLLs in the bin directory of the subproject).  The ads project might be a web application project, but I've never built it: just copied certain files to certain directories (per vendor instructions) and loaded our website.  As far as I know there is no solution file for either sub-project. 

    I did try to build them (by creating a project), but there seem to be missing items because they both fail with cryptic (and very many) errors.

    I'll look at them again and see what I can do...


    • Edited by Owen37 Friday, November 30, 2012 4:50 PM punctuation.
    Friday, November 30, 2012 4:49 PM
  • Hi,

    I captured the screenshot of settings in my side, FYI.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, December 03, 2012 9:46 AM
  • In your TFS build definition, your setting is to build the solution file. Can you try to use msbuild to build this solution file in your local machine or build controller successfully?


    Thanks, Ray Lin

    Sunday, December 16, 2012 6:38 PM
  • I'll see what I can do. Never used msbuild before...
    Monday, December 17, 2012 2:36 PM