Skip to content

No TypeScript files in VS2017 #7209

Closed
Closed

Description

@colltoaction

[moved from https://github.com/Microsoft/msbuild/issues/1354]

Just downloaded VS2017 and migrated my project.json-based project. This was created using the Angular 2 template that can be found in https://github.com/aspnet/JavaScriptServices.

Now my TypeScript files are not shown and there are many .js and .map.js files created automatically.

What would be the correct configuration to have what I had before this?


After posting the original question I found these settings are enough for my scenario, but the migration experience still wasn't complete and that's a bug in my opinion:

<PropertyGroup>
  <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
</PropertyGroup>

<ItemGroup>
  <None Include="ClientApp\**\*.scss" />
  <None Include="ClientApp\**\*.ts" />
</ItemGroup>

Thanks!

Activity

  1. TheRealPiotrP commented on Nov 19, 2016

    @TheRealPiotrP

    @mlorbetske I'm not familiar with this aspnet template. Thoughts on how we could migrate more effectively?

  2. SteveSandersonMS commented on Nov 21, 2016

    @SteveSandersonMS
    Member

    Seems like it should be possible to migrate:

    • Preserve the <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> value if it's is present in the .xproj that's being migrated
    • Ensure that all original files show up in solution explorer (.ts, .js, .json, .css, .less, .sass, .png, etc.), like they did with .xproj
  3. TheRealPiotrP commented on Nov 22, 2016

    @TheRealPiotrP

    @SteveSandersonMS thus far migration has been limited to project.json. We'll need to look at opportunities to selectively migrate xproj content for these projects.

  4. livarcocc commented on Jan 12, 2017

    @livarcocc
    Contributor

    @mlorbetske Is this something that the Web SDK is handling already?

  5. mlorbetske commented on Jan 12, 2017

    @mlorbetske
    Contributor

    The inclusion of the typescript files in the project is handled by the WebSDK. For the actual integration with the Typescript build, we're working with that team to complete the story.

  6. livarcocc commented on Jan 13, 2017

    @livarcocc
    Contributor

    Ok, seems like migration will get it for free then. I am closing this issue. If there is something else we should do as part of migration for this, please, re-activate.

  7. transferred this issue fromdotnet/clion Jan 31, 2020
  8. added this to the 1.0.0-rtm milestone on Jan 31, 2020
  9. added theissue type on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions