Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8790447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:39:19+00:00 2026-06-13T22:39:19+00:00

I only want to include the .ts and .js files in the .csproj. The

  • 0

I only want to include the .ts and .js files in the .csproj. The format currently used is:

<Content Include="Scripts\FooterItems\EnableAccount.js">
  <DependentUpon>EnableAccount.ts</DependentUpon>
</Content>
<TypeScript Include="Scripts\FooterItems\EnableAccount.ts" />

(I have a custom build target file that targets TypeScript elements during build).

I’ve installed Web Essentials, which has some features that help with TypeScript development, particularly the “Compile TS to JS on save”. However, it’s generating both the .js and the .js.map source map file. It also adds the .js.map file to the .csproj, which is the annoying bit. Note that this is with the “Generate Source Map” setting set to False.

Anyone else spotted this, and has run into a similar issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:39:21+00:00Added an answer on June 13, 2026 at 10:39 pm

    Our custom build targets seem to have exposed a bug in Web Essentials 2012 TypeScript features.

    Web Essentials compiled the .ts to .js, but we already had a .js.map generated by the curtom build targets as well. Web Essentials ended up including the .js.map in the csproj and TFS source control.

    Removing the .js.map files and making sure we don’t generate them in our build targets fixed the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to require/include a content from database record, but require/include only accepts files.
Starting with a .csproj which defines various xml Content files. Have code generation Target
How do you do this? Given several build files, I only want to include
I want to include a header file only if a certain function body is
I'm building an as3 only web application and want to be able to include
I only want log4net to keep let's say 10 days-worth of log files as
I only want this function to run if .toolbar li does not have the
So, I have log4net configuration in log4net.config file and I don't want to include
Is it possible to create jquery widget include files that ONLY contain one specific
I want to dynamically include .xhtml files at runtime, what you might call the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.