Skip to content

Compilation result is not being provided to Visual Studio app context #7146

@saschanaz

Description

@saschanaz

Environment: Visual Studio 2015 Update 1, Windows 10 Insider Preview 14257, TS 1.8.0-beta

Repro:

  1. Create a new project

  2. Add a blank TypeScript file named file.ts

  3. Add a reference to file.js in default.htm before /js/default.js

    <link href="/css/default.css" rel="stylesheet" />
    <script src="file.js"></script>
    <script src="/js/default.js"></script>
  4. Write var homu = "homu" on file.ts

  5. Build and deploy the app by clicking "Local Machine"

  6. It should launch with no error

  7. Close the app

  8. Click "Local Machine" again

  9. Now it says 0x800a1391 - JavaScript runtime error: 'homu' is undefined

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptVisual StudioIntegration with Visual Studio

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions