It seems to be a bug with VS2015 RTM. The project TypeScript settings are saved incorrectly to the .csproj file, so the TypeScript compiler isn't reading them.
To fix:
- Right-click the project, unload it, then right click again and edit it.
- Search for
<TypeScriptModuleKind>, and then locate the parent element, which should be called <PropertyGroup>.
- Look for the text "
Any CPU" in the Condition attribute value, change it to "AnyCPU" -- i.e. remove the space.
- Search again and repeat the change in case you have TypeScript settings for other build conditions.
Note that until this bug is fixed, you'll need to edit the .csproj file to modify TypeScript settings. If you try to make the change from the project settings area, it will just generate new settings in the project file with the wrong condition value again.
Also, you may be reading about using a tsconfig.json file instead for providing the settings in VS2015. However, it seems that this capability is currently only implemented for the Website project type and not for Web Application projects.