/ / VS 2015 + vNext + Azure: publikowanie działa, ale wdrożenie SCM nie? - lazurowy, wdrożenie, Visual-studio-2015, asp.net-core

VS 2015 + vNastępny + Azure: Publikowanie działa, ale wdrożenie SCM nie działa? - lazur, wdrożenie, visual-studio-2015, asp.net-core

tło

Praca nad witryną sieci Web ASP.NET vNext / 5, którą chcę wdrożyć na platformie Azure.

Witryna jest statycznym kodem HTML z wyjątkiem oprogramowania pośredniczącego w IApplicationBuilder który obsługuje pliki .less jako tekst / css.

Problem

Podczas wdrażania za pośrednictwem publikowania z programu Visual Studio moja witryna jest wyświetlana zgodnie z oczekiwaniami na platformie Azure.

Kiedy zatwierdzam przez Bitbucks i narzędzie do zarządzania SCM je odbiera, wydaje się, że działa poprawnie (bez błędów ani ostrzeżeń w dziennikach), ale na stronie widzę:

wprowadź opis obrazu tutaj

Dzienniki (w celach informacyjnych)

Dziennik generowania skryptów wdrażania:

Using cached version of deployment script (command: "azure -y --no-dot-deployment -r "D:homesiterepository" -o "D:homesitedeploymentstools" --aspNet5 "D:homesiterepositorysrcappJanelSipala.Web2project.json"").

Sam dziennik wdrożenia:

Command: "D:homesitedeploymentstoolsdeploy.cmd"
Handling ASP.NET 5 Web Application deployment.
KRE-CLR-x86.1.0.0-beta1 already installed.
Adding D:localUserProfile.krepackagesKRE-CLR-x86.1.0.0-beta1bin to process PATH
Restoring packages for D:homesiterepositorysrcappJanelSipala.Web2project.json
Resolving complete, 653ms elapsed
Restore complete, 669ms elapsed
Copying to output path D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9
Using Package dependency Microsoft.AspNet.Server.IIS 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Server.IIS1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Server.IIS1.0.0-beta2
File: Microsoft.AspNet.Server.IIS.nuspec
Using Package dependency Microsoft.AspNet.StaticFiles 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.StaticFiles1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.StaticFiles1.0.0-beta2
File: Microsoft.AspNet.StaticFiles.nuspec
File: libaspnet50Microsoft.AspNet.StaticFiles.dll
Using Package dependency Microsoft.AspNet.Loader.IIS.Interop 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Loader.IIS.Interop1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Loader.IIS.Interop1.0.0-beta2
File: Microsoft.AspNet.Loader.IIS.Interop.nuspec
Using Package dependency Microsoft.AspNet.Loader.IIS 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Loader.IIS1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Loader.IIS1.0.0-beta2
File: Microsoft.AspNet.Loader.IIS.nuspec
File: libaspnet50Microsoft.AspNet.Loader.IIS.dll
Using Package dependency Microsoft.AspNet.Http 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Http1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Http1.0.0-beta2
File: Microsoft.AspNet.Http.nuspec
File: libaspnet50Microsoft.AspNet.Http.dll
Using Package dependency Microsoft.AspNet.Http.Extensions 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Http.Extensions1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Http.Extensions1.0.0-beta2
File: Microsoft.AspNet.Http.Extensions.nuspec
File: libaspnet50Microsoft.AspNet.Http.Extensions.dll
Using Package dependency Microsoft.Framework.Logging 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.Logging1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.Logging1.0.0-beta2
File: Microsoft.Framework.Logging.nuspec
File: libaspnet50Microsoft.Framework.Logging.dll
Using Package dependency Microsoft.AspNet.Hosting 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.Hosting1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.Hosting1.0.0-beta2
File: Microsoft.AspNet.Hosting.nuspec
File: libaspnet50Microsoft.AspNet.Hosting.dll
Using Package dependency Microsoft.Framework.DependencyInjection 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.DependencyInjection1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.DependencyInjection1.0.0-beta2
File: Microsoft.Framework.DependencyInjection.nuspec
File: libaspnet50Microsoft.Framework.DependencyInjection.dll
Using Package dependency Microsoft.Framework.Logging.Interfaces 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.Logging.Interfaces1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.Logging.Interfaces1.0.0-beta2
File: Microsoft.Framework.Logging.Interfaces.nuspec
File: libaspnet50Microsoft.Framework.Logging.Interfaces.dll
Using Package dependency Microsoft.AspNet.FileSystems 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.FileSystems1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.FileSystems1.0.0-beta2
File: Microsoft.AspNet.FileSystems.nuspec
File: libaspnet50Microsoft.AspNet.FileSystems.dll
Using Package dependency Microsoft.AspNet.PipelineCore 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.PipelineCore1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.PipelineCore1.0.0-beta2
File: Microsoft.AspNet.PipelineCore.nuspec
File: libaspnet50Microsoft.AspNet.PipelineCore.dll
Using Package dependency Microsoft.Framework.OptionsModel 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.OptionsModel1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.OptionsModel1.0.0-beta2
File: Microsoft.Framework.OptionsModel.nuspec
File: libaspnet50Microsoft.Framework.OptionsModel.dll
Using Package dependency Newtonsoft.Json 6.0.6
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesNewtonsoft.Json6.0.6
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesNewtonsoft.Json6.0.6
File: Newtonsoft.Json.nuspec
File: libnet45Newtonsoft.Json.dll
Using Package dependency Microsoft.Framework.ConfigurationModel 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.ConfigurationModel1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.ConfigurationModel1.0.0-beta2
File: Microsoft.Framework.ConfigurationModel.nuspec
File: libaspnet50Microsoft.Framework.ConfigurationModel.dll
Using Package dependency Microsoft.AspNet.FileSystems.Interfaces 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.FileSystems.Interfaces1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.FileSystems.Interfaces1.0.0-beta2
File: Microsoft.AspNet.FileSystems.Interfaces.nuspec
File: libaspnet50Microsoft.AspNet.FileSystems.Interfaces.dll
Using Package dependency Microsoft.AspNet.FeatureModel 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.FeatureModel1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.FeatureModel1.0.0-beta2
File: Microsoft.AspNet.FeatureModel.nuspec
File: libaspnet50Microsoft.AspNet.FeatureModel.dll
Using Package dependency Microsoft.AspNet.HttpFeature 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.HttpFeature1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.HttpFeature1.0.0-beta2
File: Microsoft.AspNet.HttpFeature.nuspec
File: libaspnet50Microsoft.AspNet.HttpFeature.dll
Using Package dependency Microsoft.AspNet.WebUtilities 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.AspNet.WebUtilities1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.AspNet.WebUtilities1.0.0-beta2
File: Microsoft.AspNet.WebUtilities.nuspec
File: libaspnet50Microsoft.AspNet.WebUtilities.dll
Using Package dependency Microsoft.Framework.Runtime.Interfaces 1.0.0-beta2
Copying files for Asp.Net,Version=v5.0
Source: D:localUserProfile.kpmpackagesMicrosoft.Framework.Runtime.Interfaces1.0.0-beta2
Target: D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotpackagesMicrosoft.Framework.Runtime.Interfaces1.0.0-beta2
File: Microsoft.Framework.Runtime.Interfaces.nuspec
File: libaspnet50Microsoft.Framework.Runtime.Interfaces.dll
Using Project dependency JanelSipala.Web2 1.0.0 for Asp.Net,Version=v5.0
Copying source code from Project dependency JanelSipala.Web2
Source D:homesiterepositorysrcappJanelSipala.Web2project.json
Target D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9approotsrcJanelSipala.Web2
Packing runtime KRE-CLR-x86.1.0.0-beta1
Copying contents of Project dependency JanelSipala.Web2 to D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9wwwroot
Source D:homesiterepositorysrcappJanelSipala.Web2wwwroot
Target D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9wwwroot
Time elapsed 00:00:12.6399350
KuduSync.NET from: "D:localTemp8969a71d-4e0c-4748-ba17-0ab37477e0d9" to: "D:homesite"
Copying file: "approotglobal.json"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1KRE-CLR-x86.1.0.0-beta1.nupkg"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1KRE-CLR-x86.1.0.0-beta1.nupkg.sha512"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1KRE-CLR-x86.nuspec"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1bink.cmd"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.cmd"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.exe"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.host.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.net45.config"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.net45.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binklr.net45.managed.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binkpm.cmd"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.CodeAnalysis.CSharp.Desktop.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.CodeAnalysis.CSharp.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.CodeAnalysis.Desktop.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.CodeAnalysis.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.Framework.ApplicationHost.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.Framework.Runtime.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.Framework.Runtime.Loader.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binMicrosoft.Framework.Runtime.Roslyn.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binNewtonsoft.Json.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binSystem.Collections.Immutable.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binSystem.Reflection.Metadata.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binlibMicrosoft.Framework.DesignTimeHostMicrosoft.Framework.DesignTimeHost.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binlibMicrosoft.Framework.PackageManagerMicrosoft.Framework.PackageManager.dll"
Copying file: "approotpackagesKRE-CLR-x86.1.0.0-beta1binlibMicrosoft.Framework.ProjectMicrosoft.Framework.Project.dll"
Copying file: "approotsrcJanelSipala.Web2project.json"
Copying file: "wwwrootweb.config"
Copying file: "wwwrootassetscsssb-admin-2.css"
Copying file: "wwwrootassetscsssite.css"
Copying file: "wwwrootassetscsstimeline.css"
Copying file: "wwwrootassetsjsflot-data.js"
Copying file: "wwwrootassetsjsmorris-data.js"
Copying file: "wwwrootlibangularangular.js"
Copying file: "wwwrootlibangular-mocksangular-mocks.js"
Copying file: "wwwrootlibangular-routeangular-route.js"
Copying file: "wwwrootlibbootstrapbootstrap.css"
Copying file: "wwwrootlibbootstrapbootstrap.js"
Copying file: "wwwrootlibbootstrapbootstrap.less"
Copying file: "wwwrootlibbootstrapglyphicons-halflings-regular.svg"
Copying file: "wwwrootlibbootstrap-socialbootstrap-social.css"
Copying file: "wwwrootlibdatatablesjquery.dataTables.css"
Copying file: "wwwrootlibdatatablesjquery.dataTables.js"
Copying file: "wwwrootlibdatatables-plugins.bower.json"
Copying file: "wwwrootlibdatatables-pluginsmake.sh"
Copying file: "wwwrootlibdatatables-pluginsREADME.md"
Copying file: "wwwrootlibdatatables-pluginsapiaverage().js"
Copying file: "wwwrootlibdatatables-pluginsapicolumn().title().js"
Copying file: "wwwrootlibdatatables-pluginsapicolumns().order().js"
Omitting next output lines...
Finished successfully.

Odpowiedzi:

0 dla odpowiedzi № 1

Wygląda na to, że w tym przypadku rozwiązaniem jest przeniesienie wszystkiego z powrotem do wersji beta1.

W ustawieniach aplikacji projektu:

wprowadź opis obrazu tutaj

I w project.json plik:

wprowadź opis obrazu tutaj

Kiedy już to zrobiłem, wdrożenie platformy Azure z SCM działało dobrze.