mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 12:15:34 -06:00
Forgot to save
parent
aa0e8f31e5
commit
99b337a2b4
@ -2,8 +2,22 @@ Using TypeScript with ASP.NET v5 requires that you setup your project in a speci
|
||||
|
||||
# Project setup
|
||||
|
||||
We start by creating a new empty ASP.NET v5 project in Visual Studio 2015, of you're not familiar with ASP.NET v5 follow [the tutorial](http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html) for more information.
|
||||
We start by creating a new empty ASP.NET v5 project in Visual Studio 2015, of you're not familiar with ASP.NET v5 follow [this tutorial](http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html) for more information.
|
||||
|
||||

|
||||
|
||||
Next add a *scripts* folder to the root of the project, this is where we'll add the TypeScript files and the [tsconfig.json](tsconfig.json.md) file to set the compiler options.
|
||||
|
||||

|
||||
|
||||
Finally we have to add the following option to the *"compilerOptions"* node in the *tsconfig.json* file to redirect the compiler output to the *wwwroot* folder:
|
||||
````json
|
||||
"outDir": "../wwwroot/"
|
||||
````
|
||||
Now if you build your project, you notice the *app.js*, and the *app.js.map* files are created in the root of the *wwwroot* folder.
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user