Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Publish to Azure fails #133

Closed
Closed

Description

@doczoidberg

I have problem with publishing to Azure (Angular2). I publish via VS2015 Update 3 RC.

DOTNET_CONFIGURE_AZURE=1
Path=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git
C:\Program Files\dotnet\dotnet.exe publish "C:\temp\aspnetu" --framework netcoreapp1.0 --output "C:\Users\danie\AppData\Local\Temp\PublishTemp\Aspnetu29" --configuration Release --no-build
Publishing aspnetu for .NETCoreApp,Version=v1.0
ERROR: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Publishing.targets(154,5): Error : ts-loader: Using typescript@1.8.10 and C:\temp\aspnetu\tsconfig.json
....
No executable found matching command "dotnet-publish-iis"
publish: Published to C:\Users\danie\AppData\Local\Temp\PublishTemp\Aspnetu29
..
2>Publish failed due to build errors. Check the error list for more details.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

Activity

  1. mattschwartz commented on Jun 17, 2016

    @mattschwartz

    I have the same issue with VS2015 Update 2 when attempting to upload the ReactGrid project.

  2. SteveSandersonMS commented on Jun 22, 2016

    @SteveSandersonMS
    Member

    Thanks for reporting this. A lot of stuff related to publishing changed between RC1 and RC2, and not all of the updates made it into the templates.

    I've been through and updated a fair bit of the deployment-related config in the templates so they now match the output from generator-aspnet, plus fixed how webpack gets executed during publish, so that it's compatible with Azure.

    Please try with the latest generator (version 0.1.9), which you can update to by running npm install -g generator-aspnetcore-spa. Out of the box, the generated projects will deploy and run successfully on Azure. I've verified this both with Git-based publishing (kudu) and from VS via MsDeploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions