Skip to content

Commit a4c26fc

Browse files
committed
Updating WinJSTodo sample for RTM
1 parent e70d48b commit a4c26fc

40 files changed

+9544
-339
lines changed

todo-winjs/WinJSTodo/WinJsTodo.jsproj

Lines changed: 115 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,117 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
4-
<ItemGroup Label="ProjectConfigurations">
5-
<ProjectConfiguration Include="Debug|Android">
6-
<Configuration>Debug</Configuration>
7-
<Platform>Android</Platform>
8-
</ProjectConfiguration>
9-
<ProjectConfiguration Include="Debug|iOS">
10-
<Configuration>Debug</Configuration>
11-
<Platform>iOS</Platform>
12-
</ProjectConfiguration>
13-
<ProjectConfiguration Include="Debug|Windows-AnyCPU">
14-
<Configuration>Debug</Configuration>
15-
<Platform>Windows-AnyCPU</Platform>
16-
</ProjectConfiguration>
17-
<ProjectConfiguration Include="Debug|Windows-x64">
18-
<Configuration>Debug</Configuration>
19-
<Platform>Windows-x64</Platform>
20-
</ProjectConfiguration>
21-
<ProjectConfiguration Include="Debug|Windows-x86">
22-
<Configuration>Debug</Configuration>
23-
<Platform>Windows-x86</Platform>
24-
</ProjectConfiguration>
25-
<ProjectConfiguration Include="Debug|Windows-ARM">
26-
<Configuration>Debug</Configuration>
27-
<Platform>Windows-ARM</Platform>
28-
</ProjectConfiguration>
29-
<ProjectConfiguration Include="Debug|Windows Phone 8">
30-
<Configuration>Debug</Configuration>
31-
<Platform>Windows Phone 8</Platform>
32-
</ProjectConfiguration>
33-
<ProjectConfiguration Include="Debug|Windows Phone (Universal)">
34-
<Configuration>Debug</Configuration>
35-
<Platform>Windows Phone (Universal)</Platform>
36-
</ProjectConfiguration>
37-
<ProjectConfiguration Include="Release|Android">
38-
<Configuration>Release</Configuration>
39-
<Platform>Android</Platform>
40-
</ProjectConfiguration>
41-
<ProjectConfiguration Include="Release|iOS">
42-
<Configuration>Release</Configuration>
43-
<Platform>iOS</Platform>
44-
</ProjectConfiguration>
45-
<ProjectConfiguration Include="Release|Windows-AnyCPU">
46-
<Configuration>Release</Configuration>
47-
<Platform>Windows-AnyCPU</Platform>
48-
</ProjectConfiguration>
49-
<ProjectConfiguration Include="Release|Windows-x64">
50-
<Configuration>Release</Configuration>
51-
<Platform>Windows-x64</Platform>
52-
</ProjectConfiguration>
53-
<ProjectConfiguration Include="Release|Windows-x86">
54-
<Configuration>Release</Configuration>
55-
<Platform>Windows-x86</Platform>
56-
</ProjectConfiguration>
57-
<ProjectConfiguration Include="Release|Windows-ARM">
58-
<Configuration>Release</Configuration>
59-
<Platform>Windows-ARM</Platform>
60-
</ProjectConfiguration>
61-
<ProjectConfiguration Include="Release|Windows Phone 8">
62-
<Configuration>Release</Configuration>
63-
<Platform>Windows Phone 8</Platform>
64-
</ProjectConfiguration>
65-
<ProjectConfiguration Include="Release|Windows Phone (Universal)">
66-
<Configuration>Release</Configuration>
67-
<Platform>Windows Phone (Universal)</Platform>
68-
</ProjectConfiguration>
69-
</ItemGroup>
70-
<ItemGroup>
71-
<Service Include="{4a0dddb5-7a95-4fbf-97cc-616d07737a77}" />
72-
</ItemGroup>
73-
<PropertyGroup Label="Globals">
74-
<ProjectGuid>f758a60e-f1e8-4993-89bd-fe483ae97ccb</ProjectGuid>
75-
</PropertyGroup>
76-
<PropertyGroup>
77-
<DefaultReferenceGroup>Implicit (Multi-Device Apps)</DefaultReferenceGroup>
78-
</PropertyGroup>
79-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
80-
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0'">
81-
<VisualStudioVersion>12.0</VisualStudioVersion>
82-
</PropertyGroup>
83-
<PropertyGroup>
84-
<TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
85-
<DefaultReferenceGroup>Implicit (Multi-Device Apps)</DefaultReferenceGroup>
86-
</PropertyGroup>
87-
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
88-
<TypeScriptCompileOnSaveEnabled>false</TypeScriptCompileOnSaveEnabled>
89-
<TypeScriptRemoveComments>false</TypeScriptRemoveComments>
90-
<TypeScriptSourceMap>true</TypeScriptSourceMap>
91-
</PropertyGroup>
92-
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
93-
<TypeScriptCompileOnSaveEnabled>false</TypeScriptCompileOnSaveEnabled>
94-
<TypeScriptRemoveComments>true</TypeScriptRemoveComments>
95-
<TypeScriptSourceMap>false</TypeScriptSourceMap>
96-
</PropertyGroup>
97-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.TypeScript.MDA.targets" />
98-
<PropertyGroup>
99-
<ProjectUISubcaption>Tools for Apache Cordova</ProjectUISubcaption>
100-
</PropertyGroup>
101-
<PropertyGroup>
102-
<TargetPlatformIdentifier>MDD</TargetPlatformIdentifier>
103-
</PropertyGroup>
104-
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets" />
105-
<Target Name="EnsureBuildPrerequisites">
106-
<!-- These errors will trigger if building from inside Visual Studio and requirements could not be determined -->
107-
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(NodeJsDir) == ''" Text="Path to NodeJs could not be determined. Please check that NodeJs has been installed." />
108-
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(MDAVsixDir) == ''" Text="Path to the Visual Studio Extension for Tools for Apache Cordova could not be determined. Please check that the extension has been installed." />
109-
<!-- These errors will trigger if building from outside Visual Studio (e.g. command line) and environment variables have not been set -->
110-
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(NodeJsDir) == ''" Text="Path to NodeJs has not been specified. Please check that NodeJs has been installed and set the NodeJsDir environment variable before building." />
111-
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(MDAVsixDir) == ''" Text="Path to Visual Studio Extension for Tools for Apache Cordova has not been specified. Please install it and set the MDAVsixDir environment variable before building." />
112-
<!-- Sanity check that things exist in the specified places. These are more likely to fail if building outside Visual Studio and the required environment variables have not been set, or set incorrectly. -->
113-
<Error Condition="!Exists('$(NodeJsDir)') Or !Exists('$(NodeJsDir)\node.exe')" Text="The specified NodeJs directory $(NodeJsDir) either does not exist, or does not contain node.exe. Please check that NodeJs has been installed, and set the NodeJsDir variable to the correct directory." />
114-
<Error Condition="!Exists('$(MDAVsixDir)') Or !Exists('$(MDAVsixDir)\packages\vs-mda')" Text="The specified directory to the Visual Studio extension $(MDAVsixDir)\node.exe either does not exist, or does not contain a packages\vs-mda sub-directory. Please check that the extension directory exists and set the MDAVsixDir variable to the correct directory." />
115-
<!-- Installs (if necessary) the supporting Nodejs module -->
116-
<Exec Command="&quot;$(MDAVsixDir)&quot;\packages\vs-mda\install &quot;$(NodeJsDir)&quot; &quot;$(MDAVsixDir)&quot;\packages\vs-mda" />
117-
</Target>
118-
<ProjectExtensions>
119-
<VisualStudio>
120-
<UserProperties project_1json__JSONSchema="http://www.asp.net/media/4878834/project.json" />
121-
</VisualStudio>
122-
</ProjectExtensions>
123-
<Import Project="_apacheCordovaProjectSourceItems.Targets" Condition="Exists('_apacheCordovaProjectSourceItems.Targets')" />
124-
<Target Name="BeforeBuild">
125-
<!-- Fetches dependencies -->
126-
<Exec Command="Powershell -ExecutionPolicy RemoteSigned Unblock-File '$(ProjectDir)\FetchRequirements.ps1'; Powershell -File '$(ProjectDir)\FetchRequirements.ps1'" />
127-
</Target>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
4+
<ItemGroup Label="ProjectConfigurations">
5+
<ProjectConfiguration Include="Debug|Android">
6+
<Configuration>Debug</Configuration>
7+
<Platform>Android</Platform>
8+
</ProjectConfiguration>
9+
<ProjectConfiguration Include="Debug|iOS">
10+
<Configuration>Debug</Configuration>
11+
<Platform>iOS</Platform>
12+
</ProjectConfiguration>
13+
<ProjectConfiguration Include="Debug|Windows-AnyCPU">
14+
<Configuration>Debug</Configuration>
15+
<Platform>Windows-AnyCPU</Platform>
16+
</ProjectConfiguration>
17+
<ProjectConfiguration Include="Debug|Windows-x64">
18+
<Configuration>Debug</Configuration>
19+
<Platform>Windows-x64</Platform>
20+
</ProjectConfiguration>
21+
<ProjectConfiguration Include="Debug|Windows-x86">
22+
<Configuration>Debug</Configuration>
23+
<Platform>Windows-x86</Platform>
24+
</ProjectConfiguration>
25+
<ProjectConfiguration Include="Debug|Windows-ARM">
26+
<Configuration>Debug</Configuration>
27+
<Platform>Windows-ARM</Platform>
28+
</ProjectConfiguration>
29+
<ProjectConfiguration Include="Debug|Windows Phone 8">
30+
<Configuration>Debug</Configuration>
31+
<Platform>Windows Phone 8</Platform>
32+
</ProjectConfiguration>
33+
<ProjectConfiguration Include="Debug|Windows Phone (Universal)">
34+
<Configuration>Debug</Configuration>
35+
<Platform>Windows Phone (Universal)</Platform>
36+
</ProjectConfiguration>
37+
<ProjectConfiguration Include="Release|Android">
38+
<Configuration>Release</Configuration>
39+
<Platform>Android</Platform>
40+
</ProjectConfiguration>
41+
<ProjectConfiguration Include="Release|iOS">
42+
<Configuration>Release</Configuration>
43+
<Platform>iOS</Platform>
44+
</ProjectConfiguration>
45+
<ProjectConfiguration Include="Release|Windows-AnyCPU">
46+
<Configuration>Release</Configuration>
47+
<Platform>Windows-AnyCPU</Platform>
48+
</ProjectConfiguration>
49+
<ProjectConfiguration Include="Release|Windows-x64">
50+
<Configuration>Release</Configuration>
51+
<Platform>Windows-x64</Platform>
52+
</ProjectConfiguration>
53+
<ProjectConfiguration Include="Release|Windows-x86">
54+
<Configuration>Release</Configuration>
55+
<Platform>Windows-x86</Platform>
56+
</ProjectConfiguration>
57+
<ProjectConfiguration Include="Release|Windows-ARM">
58+
<Configuration>Release</Configuration>
59+
<Platform>Windows-ARM</Platform>
60+
</ProjectConfiguration>
61+
<ProjectConfiguration Include="Release|Windows Phone 8">
62+
<Configuration>Release</Configuration>
63+
<Platform>Windows Phone 8</Platform>
64+
</ProjectConfiguration>
65+
<ProjectConfiguration Include="Release|Windows Phone (Universal)">
66+
<Configuration>Release</Configuration>
67+
<Platform>Windows Phone (Universal)</Platform>
68+
</ProjectConfiguration>
69+
</ItemGroup>
70+
<ItemGroup>
71+
<Service Include="{4a0dddb5-7a95-4fbf-97cc-616d07737a77}" />
72+
</ItemGroup>
73+
<PropertyGroup Label="Globals">
74+
<ProjectGuid>f758a60e-f1e8-4993-89bd-fe483ae97ccb</ProjectGuid>
75+
</PropertyGroup>
76+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
77+
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0'">
78+
<VisualStudioVersion>14.0</VisualStudioVersion>
79+
</PropertyGroup>
80+
<PropertyGroup>
81+
<TypeScriptToolsVersion>1.5</TypeScriptToolsVersion>
82+
</PropertyGroup>
83+
<PropertyGroup>
84+
<TypeScriptCompileOnSaveEnabled>false</TypeScriptCompileOnSaveEnabled>
85+
</PropertyGroup>
86+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.TypeScript.MDA.targets" />
87+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets" />
88+
<PropertyGroup>
89+
<ProjectUISubcaption>Tools for Apache Cordova</ProjectUISubcaption>
90+
</PropertyGroup>
91+
<PropertyGroup>
92+
<TargetPlatformIdentifier>MDD</TargetPlatformIdentifier>
93+
</PropertyGroup>
94+
<Target Name="EnsureBuildPrerequisites">
95+
<!-- These errors will trigger if building from inside Visual Studio and requirements could not be determined -->
96+
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(NodeJsDir) == ''" Text="Path to NodeJs could not be determined. Please check that NodeJs has been installed." />
97+
<Error Condition="$(MDAPropertiesEvaluated) == 'true' And $(MDAVsixDir) == ''" Text="Path to the Visual Studio Extension for Tools for Apache Cordova could not be determined. Please check that the extension has been installed." />
98+
<!-- These errors will trigger if building from outside Visual Studio (e.g. command line) and environment variables have not been set -->
99+
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(NodeJsDir) == ''" Text="Path to NodeJs has not been specified. Please check that NodeJs has been installed and set the NodeJsDir environment variable before building." />
100+
<Error Condition="$(MDAPropertiesEvaluated) == '' And $(MDAVsixDir) == ''" Text="Path to Visual Studio Extension for Tools for Apache Cordova has not been specified. Please install it and set the MDAVsixDir environment variable before building." />
101+
<!-- Sanity check that things exist in the specified places. These are more likely to fail if building outside Visual Studio and the required environment variables have not been set, or set incorrectly. -->
102+
<Error Condition="!Exists('$(NodeJsDir)') Or !Exists('$(NodeJsDir)\node.exe')" Text="The specified NodeJs directory $(NodeJsDir) either does not exist, or does not contain node.exe. Please check that NodeJs has been installed, and set the NodeJsDir variable to the correct directory." />
103+
<Error Condition="!Exists('$(MDAVsixDir)') Or !Exists('$(MDAVsixDir)\packages\vs-tac')" Text="The specified directory to the Visual Studio extension $(MDAVsixDir)\node.exe either does not exist, or does not contain a packages\vs-tac sub-directory. Please check that the extension directory exists and set the MDAVsixDir variable to the correct directory." />
104+
<!-- Installs (if necessary) the supporting Nodejs module -->
105+
<Exec Command="&quot;$(MDAVsixDir)&quot;\packages\vs-tac\install &quot;$(NodeJsDir)&quot; &quot;$(MDAVsixDir)&quot;\packages\vs-tac" />
106+
</Target>
107+
<ProjectExtensions>
108+
<VisualStudio>
109+
<UserProperties />
110+
</VisualStudio>
111+
</ProjectExtensions>
112+
<Import Project="_apacheCordovaProjectSourceItems.Targets" Condition="Exists('_apacheCordovaProjectSourceItems.Targets')" />
113+
<Target Name="BeforeBuild">
114+
<!-- Fetches dependencies -->
115+
<Exec Command="Powershell -ExecutionPolicy RemoteSigned Unblock-File '$(ProjectDir)\FetchRequirements.ps1'; Powershell -File '$(ProjectDir)\FetchRequirements.ps1'" />
116+
</Target>
128117
</Project>

todo-winjs/WinJSTodo/bower.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "WinJSTodo",
3+
"dependencies": {
4+
}
5+
}

0 commit comments

Comments
 (0)