Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit cd98bc9

Browse files
steveschmittwardbell
authored andcommitted
Minor changes after my testing. Feel free to edit/revert. I'm using VS 2015 Update 2.
- line 47: I'm using node 4.4.5, and it works fine. Most people will have 4.x since it's the Long Term Support version. - line 89: .csproj file - line 115: I almost missed the "not" - line 127: I had to restart VS after juggling my $(PATH) and $(DevEnvDir), else it was still using the old nodejs - line 134>139: I missed the part about restarting VS. Not sure if moving this line makes it better or worse.
1 parent dd29e1d commit cd98bc9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

public/docs/ts/latest/cookbook/visual-studio-2015.jade

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ h2#prereq Prerequisite: Node.js
4444
if they are not already on your machine.
4545
.l-sub-section
4646
:marked
47-
**Verify that you are running node `v5.x.x` and npm `3.x.x`**
47+
**Verify that you are running node version `4.4.x` - `5.x.x`, and npm `3.x.x`**
4848
by running `node -v` and `npm -v` in a terminal/console window.
4949
Older and newer versions produce errors.
5050

@@ -86,7 +86,7 @@ h2#create-project Step 3: Create the Visual Studio ASP.NET project
8686
h2#copy Step 4: Copy the QuickStart files into the ASP.NET project folder
8787

8888
:marked
89-
Copy the QuickStart files downloaded from github to the folder containing the `.csproj` folder.
89+
Copy the QuickStart files downloaded from github to the folder containing the `.csproj` file.
9090
Include the files in the project as follows:
9191

9292
* Click the `Show All Files` button in Solution Explorer to show all of the hidden files in the project.
@@ -112,7 +112,7 @@ h2#restore Step 5: Restore the required packages
112112
* When the restore is finished, you should see a message that states: `npm command completed with exit code 0`.
113113
<br>You may also see some warnings which can be ignored.
114114
* Click the `Refresh` icon in Solution Explorer and you should see the node_modules as a hidden folder in the project. (It is recommended that you do
115-
*not* including this folder in the project using `Include in Project`.)
115+
**not** including this folder in the project using `Include in Project`.)
116116

117117
.alert.is-important
118118
:marked
@@ -124,16 +124,19 @@ h2#restore Step 5: Restore the required packages
124124
* On the right, move the `$(PATH)` entry above the `$(DevEnvDir`) entries. This tells Visual Studio to
125125
use the external tools (such as npm) found in your path before using its own version of the external tools.
126126
* Click OK to close the dialog.
127+
* You may need to restart Visual Studio for this change to take effect.
127128

128129
.l-main-section
129130
h2#edit-config Step 6: Edit the TypeScript configuration file
130131

131132
:marked
132133
There is one additional option in the TypeScript configuration (`tsconfig.json`) file that is not required when using other editors,
133-
but is required if using Visual Studio 2015. Add line 13 to the `tsconfig.json` file as shown here. After making this change
134-
exit Visual Studio and reopen it to reload the project.
134+
but is required if using Visual Studio 2015. Add line 13 to the `tsconfig.json` file as shown here.
135135

136136
+makeJson('cb-visual-studio-2015/ts/tsconfig.json', null, 'tsconfig.json (scripts)')
137+
138+
:marked
139+
After making this change, **exit** Visual Studio and reopen it to reload the project.
137140

138141
.l-main-section
139142
h2#build-and-run Step 7: Build and run the app

0 commit comments

Comments
 (0)