Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Is it time to give up trying to deploy an ASP.NET project

  1. Jun 27, 2015 #1
    on a Hackintosh to the Azure Cloud? I thought this might be a futile effort, and I've spent about 12 hours on it (It took me about 30 seconds to do using Visual Studio on my work PC haha). But damn, I'm so close.

    What I'm doing is pushing my ASP.NET MVC project, which, right now, is the template generated for a single-page ASP.NET MVC project in Xamarin for Mac, to GitHub, and am setting up Continuous Deployment in Azure so that my site is re-published every time I commit and sync changes. The project can be seen https://github.com/jamkin/ClassicSnakeGame [Broken].

    The Activity Log for the failed step in my deployment is

    Command: "D:\home\site\deployments\tools\deploy.cmd"
    Handling .NET Web Application deployment.
    All packages listed in packages.config are already installed.
    ClassicSnakeGame -> D:\home\site\repository\ClassicSnakeGame\bin\ClassicSnakeGame.dll
    D:\home\site\repository\ClassicSnakeGame\ClassicSnakeGame.csproj : error MSB4057: The target "pipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.
    Failed exitCode=1, command="D:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "D:\home\site\repository\ClassicSnakeGame\ClassicSnakeGame.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\436ebd68-2a09-411c-9608-896e423a4708";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="D:\home\site\repository\.\\"
    An error has occurred during web site deployment.
    Handling .NET Web Application deployment.
    All packages listed in packages.config are already installed.
    ClassicSnakeGame -> D:\home\site\repository\ClassicSnakeGame\bin\ClassicSnakeGame.dll
    D:\home\site\repository\ClassicSnakeGame\ClassicSnakeGame.csproj : error MSB4057: The target "pipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.
    Failed exitCode=1, command="D:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" "D:\home\site\repository\ClassicSnakeGame\ClassicSnakeGame.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\436ebd68-2a09-411c-9608-896e423a4708";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="D:\home\site\repository\.\\"
    An error has occurred during web site deployment.
    C:\Program Files (x86)\SiteExtensions\Kudu\45.40617.1623\bin\scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
     
    Last edited by a moderator: May 7, 2017
  2. jcsd
  3. Jun 27, 2015 #2
  4. Jun 27, 2015 #3
  5. Jun 27, 2015 #4
    So, after changing the Imports to

    <ImportProject="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets"Condition="'$(VSToolsPath)' != ''"/><ImportProject="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets"Condition="true"/>


    I'm getting the error

    error MSB4057: The target "Build" does not exist in the project.


    Hey, that's somewhat of an improvement -- getting a different error.
     
  6. Jun 29, 2015 #5
    Success! I've never felt so happy.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Is it time to give up trying to deploy an ASP.NET project
Loading...