I'm trying to deploy to Microsoft Azure this ASP.NET MVC project, the template of which I got from Xamarin. I've spent, literally, 20 hours trying to figure out why deployments keep failing. I've tried both
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
and
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets" Condition="true" />
for the Import
s, as per suggestions on the web. I've also added
<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
</configuration>
and I've toggled between Classic
and Integrated
for Azure's Managed Pipeline Version
setting. I've toggled between .NET versions 3.5
and 4.5
for Azure's .NET Framework Version
setting (Xamarin doesn't tell me which version I'm using).
You can actually look here and see all my commits where I've messed with configuration settings to try and get this damn thing to work. It's like Microsoft is trying to force me to publish through Visual Studio rather than GitDeploy (what I'm trying to do).
The error I'm getting right now is
error MSB4057: The target "pipelinePreDeployCopyAllFilesToOneFolder" does not exist in the project.
Anyways, I'm out of ideas, unless you guys have any.
Aucun commentaire:
Enregistrer un commentaire