You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/01/05 01:15:40 UTC
git commit: updates for template BS
Updated Branches:
refs/heads/master 718040262 -> dc7f2d2a9
updates for template BS
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/dc7f2d2a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/dc7f2d2a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/dc7f2d2a
Branch: refs/heads/master
Commit: dc7f2d2a9f686f9ab86c79826470f949b921e39c
Parents: 7180402
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Jan 4 16:15:12 2013 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Jan 4 16:15:12 2013 -0800
----------------------------------------------------------------------
templates/full/App.xaml | 2 +-
templates/standalone/App.xaml | 2 +-
templates/standalone/App.xaml.cs | 2 +-
templates/standalone/CordovaAppProj.csproj | 6 +++---
templates/standalone/MainPage.xaml | 2 +-
templates/standalone/MainPage.xaml.cs | 2 +-
templates/standalone/Properties/AssemblyInfo.cs | 3 ++-
7 files changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/full/App.xaml
----------------------------------------------------------------------
diff --git a/templates/full/App.xaml b/templates/full/App.xaml
index d37fafa..18072fe 100644
--- a/templates/full/App.xaml
+++ b/templates/full/App.xaml
@@ -17,7 +17,7 @@
under the License.
-->
<Application
- x:Class="GapExample.App"
+ x:Class="$safeprojectname$.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/App.xaml
----------------------------------------------------------------------
diff --git a/templates/standalone/App.xaml b/templates/standalone/App.xaml
index d37fafa..18072fe 100644
--- a/templates/standalone/App.xaml
+++ b/templates/standalone/App.xaml
@@ -17,7 +17,7 @@
under the License.
-->
<Application
- x:Class="GapExample.App"
+ x:Class="$safeprojectname$.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/App.xaml.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/App.xaml.cs b/templates/standalone/App.xaml.cs
index 0b0590d..2b7306d 100644
--- a/templates/standalone/App.xaml.cs
+++ b/templates/standalone/App.xaml.cs
@@ -32,7 +32,7 @@ using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
-namespace GapExample
+namespace $safeprojectname$
{
public partial class App : Application
{
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj
index e34c449..38b6cae 100644
--- a/templates/standalone/CordovaAppProj.csproj
+++ b/templates/standalone/CordovaAppProj.csproj
@@ -27,8 +27,8 @@
<ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>CordovaApp</RootNamespace>
- <AssemblyName>CordovaApp</AssemblyName>
+ <RootNamespace>$safeprojectname$</RootNamespace>
+ <AssemblyName>$safeprojectname$</AssemblyName>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<SilverlightVersion>
</SilverlightVersion>
@@ -41,7 +41,7 @@
<GenerateSilverlightManifest>true</GenerateSilverlightManifest>
<XapFilename>CordovaAppProj_$(Configuration)_$(Platform).xap</XapFilename>
<SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
- <SilverlightAppEntry>GapExample.App</SilverlightAppEntry>
+ <SilverlightAppEntry>$safeprojectname$.App</SilverlightAppEntry>
<ValidateXaml>true</ValidateXaml>
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/MainPage.xaml
----------------------------------------------------------------------
diff --git a/templates/standalone/MainPage.xaml b/templates/standalone/MainPage.xaml
index 0f41079..1f2fe7c 100644
--- a/templates/standalone/MainPage.xaml
+++ b/templates/standalone/MainPage.xaml
@@ -17,7 +17,7 @@
under the License.
-->
<phone:PhoneApplicationPage
- x:Class="GapExample.MainPage"
+ x:Class="$safeprojectname$.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/MainPage.xaml.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/MainPage.xaml.cs b/templates/standalone/MainPage.xaml.cs
index e0eb81a..88fa5ea 100644
--- a/templates/standalone/MainPage.xaml.cs
+++ b/templates/standalone/MainPage.xaml.cs
@@ -35,7 +35,7 @@ using System.Windows.Resources;
using WPCordovaClassLib;
-namespace GapExample
+namespace $safeprojectname$
{
public partial class MainPage : PhoneApplicationPage
{
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/dc7f2d2a/templates/standalone/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/Properties/AssemblyInfo.cs b/templates/standalone/Properties/AssemblyInfo.cs
index f534de9..bac2738 100644
--- a/templates/standalone/Properties/AssemblyInfo.cs
+++ b/templates/standalone/Properties/AssemblyInfo.cs
@@ -15,7 +15,8 @@ using System.Resources;
[assembly: AssemblyTrademark("Apache Cordova")]
[assembly: AssemblyCulture("")]
-[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+[assembly: NeutralResourcesLanguageAttribute("en-US")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from