Copied to clipboard

Flag this post as spam?

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


  • Stephen Davidson 216 posts 392 karma points
    Jun 23, 2015 @ 20:12
    Stephen Davidson
    0

    Publish to Azure direct from VS2013

    I keep getting the following error when publishing to azure. I have checked the location of the web config file and it is there...do i even need this folder to go with a deploy?

    Error 1 Could not open Source file: Could not find a part of the path 'C:\websites\XXXXX\hrMutual\umbraco\Xslt\Web.config;\umbraco\Xslt\Web.config'. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets 2292 5 hrMutual

  • Kevin Jump 2174 posts 13823 karma points MVP 6x c-trib
    Jun 23, 2015 @ 20:54
    Kevin Jump
    100

    Hi,

    if you're not using any xslt then i don't think you need to deploy the folder.

    you can also just remove the web.config from the folder, or in visual studio you can change the build action on the file in visual studio.

    go to the properties of the file and find Build Action - it should say "compile" change it to "none"

  • Stephen Davidson 216 posts 392 karma points
    Jun 23, 2015 @ 22:29
    Stephen Davidson
    0

    Thanks Kevin, each time i removed problem files from the project another one popped up...managed to get them all in the end so marked yours as the answer. Thanks for the input.

    S

Please Sign in or register to post replies

Write your reply to:

Draft