Currently, I am facing a challenge while attempting to utilize SystemJS modules in Visual Studio 2013 with TypeScript. The issue arises when Visual Studio displays errors regarding my setup.
Here is the configuration I have:
- Installed TypeScript Tools for Microsoft Visual Studio 2013 version 1.8.5.0
- Removed any older versions of TypeScript
My project file (since VS 2013 does not support tsconfig.json):
<TypeScriptToolsVersion>1.8</TypeScriptToolsVersion> <TypeScriptModuleKind >system</TypeScriptModuleKind> <TypeScriptTarget>es5</TypeScriptTarget>
This is what I observe:
- The project compiles without any issues
- AngularJs functions correctly in the browser
- However, within Visual Studio, I notice squiggly lines that indicate 'expression statement is not assignment or call' when hovered over:
https://i.sstatic.net/D1jDJ.png
The problem resembles one discussed in this query, but the suggested solution there is to switch to VS 2015, which is not feasible in my situation.
Is there a viable method to incorporate SystemJS with TypeScript in Visual Studio 2013? It doesn't necessarily need to adhere to ES6-style modules, any approach combining SystemJS and TypeScript would be greatly appreciated. Thank you!