Skip to content

Commit 3011705

Browse files
committed
Updated with easier starting instructions.
1 parent 8b64885 commit 3011705

22 files changed

+48
-34
lines changed

.gitignore

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,11 @@ typings
33
**/app/**/*.map
44
node_modules
55
jspm_packages
6-
bower_components
6+
bower_components
7+
8+
.vs
9+
**/*.sou
10+
**/*.user
11+
bin
12+
obj
13+
packages

APM - Start VS 2015 ASP 4x/APM/APM.csproj renamed to APM - Start VS 2015 ASP 4x/APMSolution/APM/APM.csproj

+5-25
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ProductVersion>
1111
</ProductVersion>
1212
<SchemaVersion>2.0</SchemaVersion>
13-
<ProjectGuid>{869A7A30-A879-401C-8864-DD113417EF84}</ProjectGuid>
13+
<ProjectGuid>{E9341B25-83E0-483C-953F-0FE73115BEE9}</ProjectGuid>
1414
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
1515
<OutputType>Library</OutputType>
1616
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -73,6 +73,7 @@
7373
<Content Include="app\home\welcome.component.js.map" />
7474
<Content Include="app\main.js.map" />
7575
<Content Include="package.json" />
76+
<Content Include="tsconfig.json" />
7677
<Content Include="typings.json" />
7778
<None Include="Web.Debug.config">
7879
<DependentUpon>Web.config</DependentUpon>
@@ -96,6 +97,7 @@
9697
<Compile Include="Properties\AssemblyInfo.cs" />
9798
</ItemGroup>
9899
<ItemGroup>
100+
<TypeScriptCompile Include="app\app.component.ts" />
99101
<TypeScriptCompile Include="app\home\welcome.component.ts" />
100102
<TypeScriptCompile Include="app\main.ts" />
101103
</ItemGroup>
@@ -107,23 +109,6 @@
107109
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
108110
</PropertyGroup>
109111
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
110-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
111-
<TypeScriptOutFile />
112-
<TypeScriptOutDir />
113-
<TypeScriptMapRoot />
114-
<TypeScriptSourceRoot />
115-
<TypeScriptTarget>ES5</TypeScriptTarget>
116-
<TypeScriptJSXEmit>None</TypeScriptJSXEmit>
117-
<TypeScriptCompileOnSaveEnabled>True</TypeScriptCompileOnSaveEnabled>
118-
<TypeScriptNoImplicitAny>False</TypeScriptNoImplicitAny>
119-
<TypeScriptModuleKind>System</TypeScriptModuleKind>
120-
<TypeScriptRemoveComments>False</TypeScriptRemoveComments>
121-
<TypeScriptGeneratesDeclarations>False</TypeScriptGeneratesDeclarations>
122-
<TypeScriptNoEmitOnError>True</TypeScriptNoEmitOnError>
123-
<TypeScriptSourceMap>True</TypeScriptSourceMap>
124-
<TypeScriptModuleResolution>NodeJs</TypeScriptModuleResolution>
125-
<TypeScriptExperimentalDecorators>true</TypeScriptExperimentalDecorators>
126-
</PropertyGroup>
127112
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
128113
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
129114
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
@@ -133,9 +118,9 @@
133118
<WebProjectProperties>
134119
<UseIIS>True</UseIIS>
135120
<AutoAssignPort>True</AutoAssignPort>
136-
<DevelopmentServerPort>7897</DevelopmentServerPort>
121+
<DevelopmentServerPort>16712</DevelopmentServerPort>
137122
<DevelopmentServerVPath>/</DevelopmentServerVPath>
138-
<IISUrl>http://localhost:7897/</IISUrl>
123+
<IISUrl>http://localhost:16712/</IISUrl>
139124
<NTLMAuthentication>False</NTLMAuthentication>
140125
<UseCustomServer>False</UseCustomServer>
141126
<CustomServerUrl>
@@ -159,9 +144,4 @@
159144
<Target Name="AfterBuild">
160145
</Target>
161146
-->
162-
<Target Name="FixTsBuildConfiguration" BeforeTargets="CompileTypeScript">
163-
<PropertyGroup>
164-
<TypeScriptBuildConfigurations>$(TypeScriptBuildConfigurations.Replace("--moduleResolution NodeJs", "--moduleResolution node"))</TypeScriptBuildConfigurations>
165-
</PropertyGroup>
166-
</Target>
167147
</Project>

APM - Start VS 2015 ASP 4x/APM/Properties/AssemblyInfo.cs renamed to APM - Start VS 2015 ASP 4x/APMSolution/APM/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: ComVisible(false)]
2121

2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("869a7a30-a879-401c-8864-dd113417ef84")]
23+
[assembly: Guid("e9341b25-83e0-483c-953f-0fe73115bee9")]
2424

2525
// Version information for an assembly consists of the following four values:
2626
//
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export class AppComponent {
2+
}

APM - Start VS 2015 ASP 4x/APM/app/main.ts renamed to APM - Start VS 2015 ASP 4x/APMSolution/APM/app/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
///<reference path="../typings/browser.d.ts"/>
21
import { bootstrap } from 'angular2/platform/browser';
32

43
// Our main component

APM - Start VS 2015 ASP 4x/APM/index.html renamed to APM - Start VS 2015 ASP 4x/APMSolution/APM/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</head>
3636

3737
<body>
38-
Starter files for Angular2: Getting Started.
38+
Starter files for Angular2: Getting Started
3939
</body>
4040

4141
</html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
1) Open a command prompt in the project's root directory (APM - Start)
2+
3+
2) Type: `npm install`
4+
This installs the dependencies as defined in the package.json file.
5+
6+
3) Type: `npm start`
7+
This launches the TypeScript compiler (tsc) to compile the application and wait for changes.
8+
It also starts the lite-server and launches the browser to run the application.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "system",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"emitDecoratorMetadata": true,
8+
"experimentalDecorators": true,
9+
"removeComments": false,
10+
"noImplicitAny": false
11+
},
12+
"compileOnSave": true,
13+
"exclude": [
14+
"node_modules",
15+
"typings/main",
16+
"typings/main.d.ts"
17+
]
18+
}

APM - Start VS 2015 ASP 4x/APMSolution.sln renamed to APM - Start VS 2015 ASP 4x/APMSolution/APMSolution.sln

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.25123.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APM", "APM\APM.csproj", "{869A7A30-A879-401C-8864-DD113417EF84}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "APM", "APM\APM.csproj", "{E9341B25-83E0-483C-953F-0FE73115BEE9}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{869A7A30-A879-401C-8864-DD113417EF84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{869A7A30-A879-401C-8864-DD113417EF84}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{869A7A30-A879-401C-8864-DD113417EF84}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{869A7A30-A879-401C-8864-DD113417EF84}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{E9341B25-83E0-483C-953F-0FE73115BEE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{E9341B25-83E0-483C-953F-0FE73115BEE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{E9341B25-83E0-483C-953F-0FE73115BEE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{E9341B25-83E0-483C-953F-0FE73115BEE9}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)