Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Terry Clancy 204 posts 944 karma points
    Oct 30, 2014 @ 07:57
    Terry Clancy
    0

    Build can not find Examine.pdb

    I am using the following at the VS 2013 command prompt to kick off a MS Web Deploy of my Umbraco Solution to a remote Server:

    msbuild.exe
    C:\Clancy\A_ClancyCom\Dev\ClancyCom2\ClancyCom2\ClancyCom2.csproj
    /p:VisualStudioVersion=12.0 /p:DeployOnBuild=true
    /p:PublishSettingsFile=C:\Clancy\A_ClancyCom\Dev\ClancyCom2\ClancyCom2\Properties\PublishProfiles\ClancySvrVM1_Test.pubxml 
    /p:WebPublishPipelineCustomizeTargetFile=C:\Clancy\A_ClancyCom\Dev\ClancyCom2\ClancyCom2\ClancyCom2.wpp.targets
    /p:AutoParameterizationWebConfigConnectionStrings=False

    However Build does not seem to be able to  find Examine.pdb, I get th following error:

     

    Build FAILED.

    "C:\Clancy\A_ClancyCom\Dev\ClancyCom2\ClancyCom2\ClancyCom2.csproj" (default target) (1) ->
    (CopyAllFilesToSingleFolderForMsdeploy target) ->
      C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(2584,5): error : Copying file bin\Examine.pdb to obj\Debug\Package\PackageTmp\bin\Examine.pdb failed. Could not find file 'bin\Examine.pdb'. [C:\Clancy\A_ClancyCom\Dev\ClancyCom2\ClancyCom2\ClancyCom2.csproj]

        0 Warning(s)
        1 Error(s)

    Any help would be appreciated .

    Terry Clancy

  • Mike Chambers 636 posts 1253 karma points c-trib
    Oct 30, 2014 @ 10:57
    Mike Chambers
    0

    Perhaps if you are deploying, change the build to release from debug then you shouldn't require the pdb?

Please Sign in or register to post replies

Write your reply to:

Draft