Error Copying Typescript files when packaging Azure project - Visual Studio 2015 Update1

Jude Fisher

After updating to VS 2015 Update 1 (including Typescript 1.7) and the Azure SDK 2.8, I am unable to package my Azure application for deployment because of an error in the path the packager is trying to copy the js output file to:

Error Unable to copy file "D:\X\XX\XXX\App\services\editor\ruler-manager.js" to "D:\X\XX\XXX\obj\Debug\PE.Web\D:\X\XX\XXX\App\services\editor\ruler-manager.js". The given path's format is not supported. PE.Architecture C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.8\Microsoft.WindowsAzure.targets 2787

Note that the directory has been included twice, causing an illegal colon in the middle of the output path.

It seems likely this is related to TFS Build error after installing Visual Studio 2015 Update 1 and https://social.msdn.microsoft.com/Forums/en-US/300a59bc-0f23-41a4-927a-05ae9978f3a4/unable-to-build-project-with-tyepscript-since-upgrading-to-vs-2015-update-1?forum=msbuild&prof=required and https://github.com/Microsoft/TypeScript/issues/5894

Update: The following workaround has been suggested, but we were still unable to publish after implementing it:

We worked around it by manually adding ContinueOnError="WarnAndContinue" to the Copy task within the CopyWebRoleFiles target, within Microsoft.WindowsAzure.targets.

(Source: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-162261090)

Does anyone have any workarounds or fixes other than the ones suggested in the linked threads?

Jude Fisher

This was a bug in the Typescript 1.7 tooling. Fixes have been released:

For VS 2015 (TS 1.7.6)

For VS 2013 (TS 1.7.5)

Details here: https://github.com/Microsoft/TypeScript/issues/5894#issuecomment-163798025

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Visual Studio Community 2015 Update1ビルドの問題

分類Dev

Visual Studio 2015 Update1用のMicroUpdate1.1

分類Dev

Visual Studio 2015 Update1およびXAMLビルドテンプレート

分類Dev

Visual Studio 2015 Update1に現在のGitブランチが表示されない

分類Dev

Internal Compiler Error with C++ in Visual Studio 2015 Update 1

分類Dev

Visual Studio 2015 Update1はgitリポジトリインターフェイスを壊しました

分類Dev

Visual Studio 2015 Update1をインストールした後のTFSビルドエラー

分類Dev

Visual Studio 2015 Update1でモジュール 'angular2 / core'が見つかりません

分類Dev

Copying application files with visual studio for debugging

分類Dev

Visual Studio 2015 + TypeScript 1.6.3 + JQuery

分類Dev

getting typescript to work with visual studio 2015 rc?

分類Dev

Error when running Docker Compose in Visual Studio project for RabbitMQ container

分類Dev

Visual Studio 2015 (C++) : Stop compile on first build error (not first project)

分類Dev

IIS Express 10 (64 bit) errors when starting web project in Visual Studio 2015

分類Dev

Visual Studio 2015 freezes when adding a new Controller in Azure Mobile Service

分類Dev

Visual Studio 2013 Update1とWINDOWS8.1 Pro Update1がTFSに接続できない

分類Dev

How to upgrade Visual Studio 2015 Update 1 to Update 2?

分類Dev

Visual Studio 2015 Update 1スパムlocalhost

分類Dev

Visual Studio 2015 Update 1、clangエラー

分類Dev

Visual Studio 2015 MVC Project Template Access Denied

分類Dev

How does CMake specify "Platform Toolset" for a Visual Studio 2015 project?

分類Dev

Visual Studio 2015 Cordova Ionic 2 not updating html files on build

分類Dev

Azure.CloudService 2.7 incompatible with Visual Studio 2015

分類Dev

Visual Studio 2017: Error when compiling project in MinimumRecommendedRules.ruleset file

分類Dev

Visual Studio 2015

分類Dev

SSMS 2016 16.3 (13.0.15700.28) Visual Studio 2015 Shell error

分類Dev

Visual studio 2015 high cpu consumption when idle

分類Dev

Microsoft visual studio 2015 community crash when start installing

分類Dev

Azureプロジェクトのパッケージ化時にTypescriptファイルのコピー中にエラーが発生しました-VisualStudio 2015 Update1

Related 関連記事

  1. 1

    Visual Studio Community 2015 Update1ビルドの問題

  2. 2

    Visual Studio 2015 Update1用のMicroUpdate1.1

  3. 3

    Visual Studio 2015 Update1およびXAMLビルドテンプレート

  4. 4

    Visual Studio 2015 Update1に現在のGitブランチが表示されない

  5. 5

    Internal Compiler Error with C++ in Visual Studio 2015 Update 1

  6. 6

    Visual Studio 2015 Update1はgitリポジトリインターフェイスを壊しました

  7. 7

    Visual Studio 2015 Update1をインストールした後のTFSビルドエラー

  8. 8

    Visual Studio 2015 Update1でモジュール 'angular2 / core'が見つかりません

  9. 9

    Copying application files with visual studio for debugging

  10. 10

    Visual Studio 2015 + TypeScript 1.6.3 + JQuery

  11. 11

    getting typescript to work with visual studio 2015 rc?

  12. 12

    Error when running Docker Compose in Visual Studio project for RabbitMQ container

  13. 13

    Visual Studio 2015 (C++) : Stop compile on first build error (not first project)

  14. 14

    IIS Express 10 (64 bit) errors when starting web project in Visual Studio 2015

  15. 15

    Visual Studio 2015 freezes when adding a new Controller in Azure Mobile Service

  16. 16

    Visual Studio 2013 Update1とWINDOWS8.1 Pro Update1がTFSに接続できない

  17. 17

    How to upgrade Visual Studio 2015 Update 1 to Update 2?

  18. 18

    Visual Studio 2015 Update 1スパムlocalhost

  19. 19

    Visual Studio 2015 Update 1、clangエラー

  20. 20

    Visual Studio 2015 MVC Project Template Access Denied

  21. 21

    How does CMake specify "Platform Toolset" for a Visual Studio 2015 project?

  22. 22

    Visual Studio 2015 Cordova Ionic 2 not updating html files on build

  23. 23

    Azure.CloudService 2.7 incompatible with Visual Studio 2015

  24. 24

    Visual Studio 2017: Error when compiling project in MinimumRecommendedRules.ruleset file

  25. 25

    Visual Studio 2015

  26. 26

    SSMS 2016 16.3 (13.0.15700.28) Visual Studio 2015 Shell error

  27. 27

    Visual studio 2015 high cpu consumption when idle

  28. 28

    Microsoft visual studio 2015 community crash when start installing

  29. 29

    Azureプロジェクトのパッケージ化時にTypescriptファイルのコピー中にエラーが発生しました-VisualStudio 2015 Update1

ホットタグ

アーカイブ