]> khamidou — GitHub mirrors - inbox.net.git/commitdiff
Added get namespace methods
authorGSonofNun <sonofnun@outlook.com>
Tue, 16 Sep 2014 13:20:03 +0000 (09:20 -0400)
committerGSonofNun <sonofnun@outlook.com>
Tue, 16 Sep 2014 13:20:03 +0000 (09:20 -0400)
31 files changed:
Test_WinRT/Test_WinRT.Shared/App.xaml [new file with mode: 0644]
Test_WinRT/Test_WinRT.Shared/App.xaml.cs [new file with mode: 0644]
Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.projitems [new file with mode: 0644]
Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.shproj [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Assets/Logo.scale-100.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Assets/SmallLogo.scale-100.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Assets/SplashScreen.scale-100.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Assets/StoreLogo.scale-100.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/MainPage.xaml [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/MainPage.xaml.cs [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Package.appxmanifest [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Properties/AssemblyInfo.cs [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows.csproj [new file with mode: 0644]
Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows_TemporaryKey.pfx [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/Logo.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/SmallLogo.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/SplashScreen.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/Square71x71Logo.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/StoreLogo.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Assets/WideLogo.scale-240.png [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml.cs [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Package.appxmanifest [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Properties/AssemblyInfo.cs [new file with mode: 0644]
Test_WinRT/Test_WinRT.WindowsPhone/Test_WinRT.WindowsPhone.csproj [new file with mode: 0644]
inbox_net.sln
inbox_net/inbox_net.csproj
inbox_net/packages.config
inbox_net_Tests/Properties/AssemblyInfo.cs [new file with mode: 0644]
inbox_net_Tests/UnitTest1.cs [new file with mode: 0644]
inbox_net_Tests/inbox_net_Tests.csproj [new file with mode: 0644]

diff --git a/Test_WinRT/Test_WinRT.Shared/App.xaml b/Test_WinRT/Test_WinRT.Shared/App.xaml
new file mode 100644 (file)
index 0000000..9df131d
--- /dev/null
@@ -0,0 +1,7 @@
+<Application
+    x:Class="Test_WinRT.App"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:local="using:Test_WinRT">
+
+</Application>
diff --git a/Test_WinRT/Test_WinRT.Shared/App.xaml.cs b/Test_WinRT/Test_WinRT.Shared/App.xaml.cs
new file mode 100644 (file)
index 0000000..18eb474
--- /dev/null
@@ -0,0 +1,137 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.ApplicationModel;
+using Windows.ApplicationModel.Activation;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Media.Animation;
+using Windows.UI.Xaml.Navigation;
+
+// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
+
+namespace Test_WinRT
+{
+    /// <summary>
+    /// Provides application-specific behavior to supplement the default Application class.
+    /// </summary>
+    public sealed partial class App : Application
+    {
+#if WINDOWS_PHONE_APP
+        private TransitionCollection transitions;
+#endif
+
+        /// <summary>
+        /// Initializes the singleton application object.  This is the first line of authored code
+        /// executed, and as such is the logical equivalent of main() or WinMain().
+        /// </summary>
+        public App()
+        {
+            this.InitializeComponent();
+            this.Suspending += this.OnSuspending;
+        }
+
+        /// <summary>
+        /// Invoked when the application is launched normally by the end user.  Other entry points
+        /// will be used when the application is launched to open a specific file, to display
+        /// search results, and so forth.
+        /// </summary>
+        /// <param name="e">Details about the launch request and process.</param>
+        protected override void OnLaunched(LaunchActivatedEventArgs e)
+        {
+#if DEBUG
+            if (System.Diagnostics.Debugger.IsAttached)
+            {
+                this.DebugSettings.EnableFrameRateCounter = true;
+            }
+#endif
+
+            Frame rootFrame = Window.Current.Content as Frame;
+
+            // Do not repeat app initialization when the Window already has content,
+            // just ensure that the window is active
+            if (rootFrame == null)
+            {
+                // Create a Frame to act as the navigation context and navigate to the first page
+                rootFrame = new Frame();
+
+                // TODO: change this value to a cache size that is appropriate for your application
+                rootFrame.CacheSize = 1;
+
+                if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
+                {
+                    // TODO: Load state from previously suspended application
+                }
+
+                // Place the frame in the current Window
+                Window.Current.Content = rootFrame;
+            }
+
+            if (rootFrame.Content == null)
+            {
+#if WINDOWS_PHONE_APP
+                // Removes the turnstile navigation for startup.
+                if (rootFrame.ContentTransitions != null)
+                {
+                    this.transitions = new TransitionCollection();
+                    foreach (var c in rootFrame.ContentTransitions)
+                    {
+                        this.transitions.Add(c);
+                    }
+                }
+
+                rootFrame.ContentTransitions = null;
+                rootFrame.Navigated += this.RootFrame_FirstNavigated;
+#endif
+
+                // When the navigation stack isn't restored navigate to the first page,
+                // configuring the new page by passing required information as a navigation
+                // parameter
+                if (!rootFrame.Navigate(typeof(MainPage), e.Arguments))
+                {
+                    throw new Exception("Failed to create initial page");
+                }
+            }
+
+            // Ensure the current window is active
+            Window.Current.Activate();
+        }
+
+#if WINDOWS_PHONE_APP
+        /// <summary>
+        /// Restores the content transitions after the app has launched.
+        /// </summary>
+        /// <param name="sender">The object where the handler is attached.</param>
+        /// <param name="e">Details about the navigation event.</param>
+        private void RootFrame_FirstNavigated(object sender, NavigationEventArgs e)
+        {
+            var rootFrame = sender as Frame;
+            rootFrame.ContentTransitions = this.transitions ?? new TransitionCollection() { new NavigationThemeTransition() };
+            rootFrame.Navigated -= this.RootFrame_FirstNavigated;
+        }
+#endif
+
+        /// <summary>
+        /// Invoked when application execution is being suspended.  Application state is saved
+        /// without knowing whether the application will be terminated or resumed with the contents
+        /// of memory still intact.
+        /// </summary>
+        /// <param name="sender">The source of the suspend request.</param>
+        /// <param name="e">Details about the suspend request.</param>
+        private void OnSuspending(object sender, SuspendingEventArgs e)
+        {
+            var deferral = e.SuspendingOperation.GetDeferral();
+
+            // TODO: Save application state and stop any background activity
+            deferral.Complete();
+        }
+    }
+}
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.projitems b/Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.projitems
new file mode 100644 (file)
index 0000000..9e195e5
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
+    <HasSharedItems>true</HasSharedItems>
+    <SharedGUID>7dcf2a32-6416-41da-ace2-c76e1f4f8e4b</SharedGUID>
+  </PropertyGroup>
+  <PropertyGroup Label="Configuration">
+    <Import_RootNamespace>Test_WinRT</Import_RootNamespace>
+  </PropertyGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="$(MSBuildThisFileDirectory)App.xaml">
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Compile Include="$(MSBuildThisFileDirectory)App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+    </Compile>
+  </ItemGroup>
+</Project>
diff --git a/Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.shproj b/Test_WinRT/Test_WinRT.Shared/Test_WinRT.Shared.shproj
new file mode 100644 (file)
index 0000000..75252d5
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>7dcf2a32-6416-41da-ace2-c76e1f4f8e4b</ProjectGuid>
+  </PropertyGroup>
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
+  <PropertyGroup />
+  <Import Project="Test_WinRT.Shared.projitems" Label="Shared" />
+  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
+</Project>
diff --git a/Test_WinRT/Test_WinRT.Windows/Assets/Logo.scale-100.png b/Test_WinRT/Test_WinRT.Windows/Assets/Logo.scale-100.png
new file mode 100644 (file)
index 0000000..e26771c
Binary files /dev/null and b/Test_WinRT/Test_WinRT.Windows/Assets/Logo.scale-100.png differ
diff --git a/Test_WinRT/Test_WinRT.Windows/Assets/SmallLogo.scale-100.png b/Test_WinRT/Test_WinRT.Windows/Assets/SmallLogo.scale-100.png
new file mode 100644 (file)
index 0000000..1eb0d9d
Binary files /dev/null and b/Test_WinRT/Test_WinRT.Windows/Assets/SmallLogo.scale-100.png differ
diff --git a/Test_WinRT/Test_WinRT.Windows/Assets/SplashScreen.scale-100.png b/Test_WinRT/Test_WinRT.Windows/Assets/SplashScreen.scale-100.png
new file mode 100644 (file)
index 0000000..c951e03
Binary files /dev/null and b/Test_WinRT/Test_WinRT.Windows/Assets/SplashScreen.scale-100.png differ
diff --git a/Test_WinRT/Test_WinRT.Windows/Assets/StoreLogo.scale-100.png b/Test_WinRT/Test_WinRT.Windows/Assets/StoreLogo.scale-100.png
new file mode 100644 (file)
index 0000000..dcb6727
Binary files /dev/null and b/Test_WinRT/Test_WinRT.Windows/Assets/StoreLogo.scale-100.png differ
diff --git a/Test_WinRT/Test_WinRT.Windows/MainPage.xaml b/Test_WinRT/Test_WinRT.Windows/MainPage.xaml
new file mode 100644 (file)
index 0000000..ed3df00
--- /dev/null
@@ -0,0 +1,13 @@
+<Page
+    x:Class="Test_WinRT.MainPage"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:local="using:Test_WinRT"
+    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    mc:Ignorable="d">
+
+    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+
+    </Grid>
+</Page>
diff --git a/Test_WinRT/Test_WinRT.Windows/MainPage.xaml.cs b/Test_WinRT/Test_WinRT.Windows/MainPage.xaml.cs
new file mode 100644 (file)
index 0000000..87e66cd
--- /dev/null
@@ -0,0 +1,43 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Navigation;
+using inbox_net;
+using inbox_net.DataModel;
+
+// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
+
+namespace Test_WinRT
+{
+    /// <summary>
+    /// An empty page that can be used on its own or navigated to within a Frame.
+    /// </summary>
+    public sealed partial class MainPage : Page
+    {
+        public MainPage()
+        {
+            this.InitializeComponent();
+        }
+
+
+        protected async override void OnNavigatedTo(NavigationEventArgs e)
+        {
+            InboxClient client = new InboxClient("http://inboxdev.cloudapp.net:5555/");
+            Namespace ns = await client.GetFirstNamespace();
+            client.Namespace = ns.Namespace_ID;
+            Namespace ns2 = await client.GetNamespace(client.Namespace);
+        }
+
+
+    }
+}
diff --git a/Test_WinRT/Test_WinRT.Windows/Package.appxmanifest b/Test_WinRT/Test_WinRT.Windows/Package.appxmanifest
new file mode 100644 (file)
index 0000000..1ac55a9
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
+
+  <Identity Name="ce687ed4-24aa-4090-a80f-b2d6bb2f8840"
+            Publisher="CN=Joshua"
+            Version="1.0.0.0" />
+
+  <Properties>
+    <DisplayName>Test_WinRT.Windows</DisplayName>
+    <PublisherDisplayName>Joshua</PublisherDisplayName>
+    <Logo>Assets\StoreLogo.png</Logo>
+  </Properties>
+
+  <Prerequisites>
+    <OSMinVersion>6.3.0</OSMinVersion>
+    <OSMaxVersionTested>6.3.0</OSMaxVersionTested>
+  </Prerequisites>
+
+  <Resources>
+    <Resource Language="x-generate"/>
+  </Resources>
+
+  <Applications>
+    <Application Id="App"
+        Executable="$targetnametoken$.exe"
+        EntryPoint="Test_WinRT.Windows.App">
+        <m2:VisualElements
+            DisplayName="Test_WinRT.Windows"
+            Square150x150Logo="Assets\Logo.png"
+            Square30x30Logo="Assets\SmallLogo.png"
+            Description="Test_WinRT.Windows"
+            ForegroundText="light"
+            BackgroundColor="#464646">
+            <m2:SplashScreen Image="Assets\SplashScreen.png" />
+        </m2:VisualElements>
+    </Application>
+  </Applications>
+  <Capabilities>
+    <Capability Name="internetClient" />
+  </Capabilities>
+</Package>
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.Windows/Properties/AssemblyInfo.cs b/Test_WinRT/Test_WinRT.Windows/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..6aacb68
--- /dev/null
@@ -0,0 +1,29 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Test_WinRT.Windows")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Test_WinRT.Windows")]
+[assembly: AssemblyCopyright("Copyright ©  2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: ComVisible(false)]
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows.csproj b/Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows.csproj
new file mode 100644 (file)
index 0000000..13f868b
--- /dev/null
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{CB3218B2-262F-4324-97F0-8AEDE370BDC2}</ProjectGuid>
+    <OutputType>AppContainerExe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Test_WinRT</RootNamespace>
+    <AssemblyName>Test_WinRT.Windows</AssemblyName>
+    <DefaultLanguage>en-US</DefaultLanguage>
+    <TargetPlatformVersion>8.1</TargetPlatformVersion>
+    <MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
+    <FileAlignment>512</FileAlignment>
+    <SynthesizeLinkMetadata>true</SynthesizeLinkMetadata>
+    <ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <PackageCertificateKeyFile>Test_WinRT.Windows_TemporaryKey.pfx</PackageCertificateKeyFile>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\ARM\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>full</DebugType>
+    <PlatformTarget>ARM</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
+    <OutputPath>bin\ARM\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <Optimize>true</Optimize>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>ARM</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x64\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+    <OutputPath>bin\x64\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <Optimize>true</Optimize>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x64</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x86\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+    <OutputPath>bin\x86\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_APP</DefineConstants>
+    <Optimize>true</Optimize>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <ItemGroup>
+    <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
+    <ProjectReference Include="..\..\inbox_net\inbox_net.csproj">
+      <Project>{e050b5a7-e315-46ae-9d40-88518face90d}</Project>
+      <Name>inbox_net</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="MainPage.xaml.cs">
+      <DependentUpon>MainPage.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <AppxManifest Include="Package.appxmanifest">
+      <SubType>Designer</SubType>
+    </AppxManifest>
+    <None Include="Test_WinRT.Windows_TemporaryKey.pfx" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Assets\Logo.scale-100.png" />
+    <Content Include="Assets\SmallLogo.scale-100.png" />
+    <Content Include="Assets\SplashScreen.scale-100.png" />
+    <Content Include="Assets\StoreLogo.scale-100.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Page Include="MainPage.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+  <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
+    <VisualStudioVersion>12.0</VisualStudioVersion>
+  </PropertyGroup>
+  <Import Project="..\Test_WinRT.Shared\Test_WinRT.Shared.projitems" Label="Shared" />
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows_TemporaryKey.pfx b/Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows_TemporaryKey.pfx
new file mode 100644 (file)
index 0000000..4494459
Binary files /dev/null and b/Test_WinRT/Test_WinRT.Windows/Test_WinRT.Windows_TemporaryKey.pfx differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Logo.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Logo.scale-240.png
new file mode 100644 (file)
index 0000000..76921ca
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Logo.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SmallLogo.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SmallLogo.scale-240.png
new file mode 100644 (file)
index 0000000..3166301
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SmallLogo.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SplashScreen.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SplashScreen.scale-240.png
new file mode 100644 (file)
index 0000000..33f26b3
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/SplashScreen.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Square71x71Logo.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Square71x71Logo.scale-240.png
new file mode 100644 (file)
index 0000000..cfa54be
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/Square71x71Logo.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/StoreLogo.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/StoreLogo.scale-240.png
new file mode 100644 (file)
index 0000000..47e084b
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/StoreLogo.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Assets/WideLogo.scale-240.png b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/WideLogo.scale-240.png
new file mode 100644 (file)
index 0000000..6249d29
Binary files /dev/null and b/Test_WinRT/Test_WinRT.WindowsPhone/Assets/WideLogo.scale-240.png differ
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml b/Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml
new file mode 100644 (file)
index 0000000..94d9352
--- /dev/null
@@ -0,0 +1,14 @@
+<Page
+    x:Class="Test_WinRT.MainPage"
+    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+    xmlns:local="using:Test_WinRT"
+    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+    mc:Ignorable="d"
+    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+
+    <Grid>
+
+    </Grid>
+</Page>
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml.cs b/Test_WinRT/Test_WinRT.WindowsPhone/MainPage.xaml.cs
new file mode 100644 (file)
index 0000000..a8685b7
--- /dev/null
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Navigation;
+
+// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
+
+namespace Test_WinRT
+{
+    /// <summary>
+    /// An empty page that can be used on its own or navigated to within a Frame.
+    /// </summary>
+    public sealed partial class MainPage : Page
+    {
+        public MainPage()
+        {
+            this.InitializeComponent();
+
+            this.NavigationCacheMode = NavigationCacheMode.Required;
+        }
+
+        /// <summary>
+        /// Invoked when this page is about to be displayed in a Frame.
+        /// </summary>
+        /// <param name="e">Event data that describes how this page was reached.
+        /// This parameter is typically used to configure the page.</param>
+        protected override void OnNavigatedTo(NavigationEventArgs e)
+        {
+            // TODO: Prepare page for display here.
+
+            // TODO: If your application contains multiple pages, ensure that you are
+            // handling the hardware Back button by registering for the
+            // Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
+            // If you are using the NavigationHelper provided by some templates,
+            // this event is handled for you.
+        }
+    }
+}
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Package.appxmanifest b/Test_WinRT/Test_WinRT.WindowsPhone/Package.appxmanifest
new file mode 100644 (file)
index 0000000..0def9d8
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
+
+  <Identity Name="65e875c5-686c-4bb8-a6d2-a2df649e34da"
+            Publisher="CN=Joshua"
+            Version="1.0.0.0" />
+
+  <mp:PhoneIdentity PhoneProductId="65e875c5-686c-4bb8-a6d2-a2df649e34da" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
+
+  <Properties>
+    <DisplayName>Test_WinRT.WindowsPhone</DisplayName>
+    <PublisherDisplayName>Joshua</PublisherDisplayName>
+    <Logo>Assets\StoreLogo.png</Logo>
+  </Properties>
+
+  <Prerequisites>
+    <OSMinVersion>6.3.1</OSMinVersion>
+    <OSMaxVersionTested>6.3.1</OSMaxVersionTested>
+  </Prerequisites>
+  
+  <Resources>
+    <Resource Language="x-generate"/>
+  </Resources>
+
+  <Applications>
+    <Application Id="App"
+        Executable="$targetnametoken$.exe"
+        EntryPoint="Test_WinRT.WindowsPhone.App">
+        <m3:VisualElements
+            DisplayName="Test_WinRT.WindowsPhone"
+            Square150x150Logo="Assets\Logo.png"
+            Square44x44Logo="Assets\SmallLogo.png"
+            Description="Test_WinRT.WindowsPhone"
+            ForegroundText="light"
+            BackgroundColor="transparent">
+            <m3:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png"/>
+            <m3:SplashScreen Image="Assets\SplashScreen.png"/>
+        </m3:VisualElements>
+    </Application>
+  </Applications>
+  <Capabilities>
+    <Capability Name="internetClientServer" />
+  </Capabilities>
+</Package>
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Properties/AssemblyInfo.cs b/Test_WinRT/Test_WinRT.WindowsPhone/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..9945a08
--- /dev/null
@@ -0,0 +1,29 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Test_WinRT.WindowsPhone")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Test_WinRT.WindowsPhone")]
+[assembly: AssemblyCopyright("Copyright ©  2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: ComVisible(false)]
\ No newline at end of file
diff --git a/Test_WinRT/Test_WinRT.WindowsPhone/Test_WinRT.WindowsPhone.csproj b/Test_WinRT/Test_WinRT.WindowsPhone/Test_WinRT.WindowsPhone.csproj
new file mode 100644 (file)
index 0000000..d4435b7
--- /dev/null
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}</ProjectGuid>
+    <OutputType>AppContainerExe</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Test_WinRT</RootNamespace>
+    <AssemblyName>Test_WinRT.WindowsPhone</AssemblyName>
+    <DefaultLanguage>en-US</DefaultLanguage>
+    <TargetPlatformVersion>8.1</TargetPlatformVersion>
+    <MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{76F1466A-8B6D-4E39-A767-685A06062A39};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <SynthesizeLinkMetadata>true</SynthesizeLinkMetadata>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\ARM\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>full</DebugType>
+    <PlatformTarget>ARM</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
+    <OutputPath>bin\ARM\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <Optimize>true</Optimize>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>ARM</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x86\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>full</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
+    <OutputPath>bin\x86\Release\</OutputPath>
+    <DefineConstants>TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>
+    <Optimize>true</Optimize>
+    <NoWarn>;2008</NoWarn>
+    <DebugType>pdbonly</DebugType>
+    <PlatformTarget>x86</PlatformTarget>
+    <UseVSHostingProcess>false</UseVSHostingProcess>
+    <ErrorReport>prompt</ErrorReport>
+    <Prefer32Bit>true</Prefer32Bit>
+  </PropertyGroup>
+  <ItemGroup>
+    <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
+    <ProjectReference Include="..\..\inbox_net\inbox_net.csproj">
+      <Project>{e050b5a7-e315-46ae-9d40-88518face90d}</Project>
+      <Name>inbox_net</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="MainPage.xaml.cs">
+      <DependentUpon>MainPage.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <AppxManifest Include="Package.appxmanifest">
+      <SubType>Designer</SubType>
+    </AppxManifest>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Assets\Logo.scale-240.png" />
+    <Content Include="Assets\SmallLogo.scale-240.png" />
+    <Content Include="Assets\SplashScreen.scale-240.png" />
+    <Content Include="Assets\Square71x71Logo.scale-240.png" />
+    <Content Include="Assets\StoreLogo.scale-240.png" />
+    <Content Include="Assets\WideLogo.scale-240.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <Page Include="MainPage.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+  </ItemGroup>
+  <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '12.0' ">
+    <VisualStudioVersion>12.0</VisualStudioVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(TargetPlatformIdentifier)' == '' ">
+    <TargetPlatformIdentifier>WindowsPhoneApp</TargetPlatformIdentifier>
+  </PropertyGroup>
+  <Import Project="..\Test_WinRT.Shared\Test_WinRT.Shared.projitems" Label="Shared" />
+  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file
index 41778be3639396c317137094f73374fa442a63e5..b03701b0ec535dfdd87786b9465a04f684579947 100644 (file)
@@ -5,18 +5,92 @@ VisualStudioVersion = 12.0.30723.0
 MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "inbox_net", "inbox_net\inbox_net.csproj", "{E050B5A7-E315-46AE-9D40-88518FACE90D}"
 EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test_WinRT", "Test_WinRT", "{4364B2D7-37FB-4A8A-A797-4A72FC7A479A}"
+EndProject
+Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Test_WinRT.Shared", "Test_WinRT\Test_WinRT.Shared\Test_WinRT.Shared.shproj", "{7DCF2A32-6416-41DA-ACE2-C76E1F4F8E4B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_WinRT.Windows", "Test_WinRT\Test_WinRT.Windows\Test_WinRT.Windows.csproj", "{CB3218B2-262F-4324-97F0-8AEDE370BDC2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_WinRT.WindowsPhone", "Test_WinRT\Test_WinRT.WindowsPhone\Test_WinRT.WindowsPhone.csproj", "{163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}"
+EndProject
 Global
+       GlobalSection(SharedMSBuildProjectFiles) = preSolution
+               Test_WinRT\Test_WinRT.Shared\Test_WinRT.Shared.projitems*{7dcf2a32-6416-41da-ace2-c76e1f4f8e4b}*SharedItemsImports = 13
+               Test_WinRT\Test_WinRT.Shared\Test_WinRT.Shared.projitems*{163cd3c5-0bcb-46ff-aed9-4ea9e46628ba}*SharedItemsImports = 4
+               Test_WinRT\Test_WinRT.Shared\Test_WinRT.Shared.projitems*{cb3218b2-262f-4324-97f0-8aede370bdc2}*SharedItemsImports = 4
+       EndGlobalSection
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
                Debug|Any CPU = Debug|Any CPU
+               Debug|ARM = Debug|ARM
+               Debug|x64 = Debug|x64
+               Debug|x86 = Debug|x86
                Release|Any CPU = Release|Any CPU
+               Release|ARM = Release|ARM
+               Release|x64 = Release|x64
+               Release|x86 = Release|x86
        EndGlobalSection
        GlobalSection(ProjectConfigurationPlatforms) = postSolution
                {E050B5A7-E315-46AE-9D40-88518FACE90D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {E050B5A7-E315-46AE-9D40-88518FACE90D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Debug|ARM.ActiveCfg = Debug|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Debug|x64.ActiveCfg = Debug|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Debug|x86.ActiveCfg = Debug|Any CPU
                {E050B5A7-E315-46AE-9D40-88518FACE90D}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {E050B5A7-E315-46AE-9D40-88518FACE90D}.Release|Any CPU.Build.0 = Release|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Release|ARM.ActiveCfg = Release|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Release|x64.ActiveCfg = Release|Any CPU
+               {E050B5A7-E315-46AE-9D40-88518FACE90D}.Release|x86.ActiveCfg = Release|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|ARM.ActiveCfg = Debug|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|ARM.Build.0 = Debug|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|ARM.Deploy.0 = Debug|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x64.ActiveCfg = Debug|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x64.Build.0 = Debug|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x64.Deploy.0 = Debug|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x86.ActiveCfg = Debug|x86
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x86.Build.0 = Debug|x86
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Debug|x86.Deploy.0 = Debug|x86
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|Any CPU.Build.0 = Release|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|Any CPU.Deploy.0 = Release|Any CPU
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|ARM.ActiveCfg = Release|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|ARM.Build.0 = Release|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|ARM.Deploy.0 = Release|ARM
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x64.ActiveCfg = Release|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x64.Build.0 = Release|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x64.Deploy.0 = Release|x64
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x86.ActiveCfg = Release|x86
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x86.Build.0 = Release|x86
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2}.Release|x86.Deploy.0 = Release|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|ARM.ActiveCfg = Debug|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|ARM.Build.0 = Debug|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|ARM.Deploy.0 = Debug|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|x64.ActiveCfg = Debug|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|x86.ActiveCfg = Debug|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|x86.Build.0 = Debug|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Debug|x86.Deploy.0 = Debug|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|Any CPU.Build.0 = Release|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|Any CPU.Deploy.0 = Release|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|ARM.ActiveCfg = Release|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|ARM.Build.0 = Release|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|ARM.Deploy.0 = Release|ARM
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|x64.ActiveCfg = Release|Any CPU
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|x86.ActiveCfg = Release|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|x86.Build.0 = Release|x86
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA}.Release|x86.Deploy.0 = Release|x86
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE
        EndGlobalSection
+       GlobalSection(NestedProjects) = preSolution
+               {7DCF2A32-6416-41DA-ACE2-C76E1F4F8E4B} = {4364B2D7-37FB-4A8A-A797-4A72FC7A479A}
+               {CB3218B2-262F-4324-97F0-8AEDE370BDC2} = {4364B2D7-37FB-4A8A-A797-4A72FC7A479A}
+               {163CD3C5-0BCB-46FF-AED9-4EA9E46628BA} = {4364B2D7-37FB-4A8A-A797-4A72FC7A479A}
+       EndGlobalSection
 EndGlobal
index 88a3f411f820e55669c9e1bceeac3dc408f25a22..1d30f4b5dba49f86024d641d5cfac51c06b19d25 100644 (file)
     <Compile Include="DataModel\Draft.cs" />
     <Compile Include="DataModel\File.cs" />
     <Compile Include="DataModel\Message.cs" />
+    <Compile Include="DataModel\MethodURIs.cs" />
     <Compile Include="DataModel\Namespace.cs" />
     <Compile Include="DataModel\Participant.cs" />
     <Compile Include="DataModel\Post.cs" />
     <Compile Include="DataModel\Tag.cs" />
     <Compile Include="DataModel\Thread.cs" />
+    <Compile Include="InboxClient.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
       <HintPath>..\packages\PropertyChanged.Fody.1.48.4\Lib\portable-net4+sl4+wp8+win8+wpa81+MonoAndroid16+MonoTouch40\PropertyChanged.dll</HintPath>
       <Private>False</Private>
     </Reference>
+    <Reference Include="System.Net.Http">
+      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.dll</HintPath>
+    </Reference>
+    <Reference Include="System.Net.Http.Extensions">
+      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Extensions.dll</HintPath>
+    </Reference>
+    <Reference Include="System.Net.Http.Primitives">
+      <HintPath>..\packages\Microsoft.Net.Http.2.2.28\lib\portable-net40+sl4+win8+wp71+wpa81\System.Net.Http.Primitives.dll</HintPath>
+    </Reference>
   </ItemGroup>
   <ItemGroup>
     <None Include="packages.config" />
     </PropertyGroup>
     <Error Condition="!Exists('..\packages\Fody.1.25.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.25.0\build\Fody.targets'))" />
   </Target>
+  <Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
+  <Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
+    <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
+    <Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
+  </Target>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
index 1d149d29d6d9b6432b627f1374501fb2e80b4149..0a8d541625fc7a081b72dc6cf8d20187adeea208 100644 (file)
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <packages>
   <package id="Fody" version="1.25.0" targetFramework="portable-net45+win+wpa81+wp80" developmentDependency="true" />
+  <package id="Microsoft.Bcl" version="1.1.9" targetFramework="portable-net45+win+wpa81+wp80" />
+  <package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="portable-net45+win+wpa81+wp80" />
+  <package id="Microsoft.Net.Http" version="2.2.28" targetFramework="portable-net45+win+wpa81+wp80" />
   <package id="Newtonsoft.Json" version="6.0.5" targetFramework="portable-net45+win+wpa81+wp80" />
   <package id="PropertyChanged.Fody" version="1.48.4" targetFramework="portable-net45+win+wpa81+wp80" developmentDependency="true" />
 </packages>
\ No newline at end of file
diff --git a/inbox_net_Tests/Properties/AssemblyInfo.cs b/inbox_net_Tests/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..2dc595a
--- /dev/null
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("inbox_net_Tests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("inbox_net_Tests")]
+[assembly: AssemblyCopyright("Copyright ©  2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 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 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("2e5eb1d2-ae43-4fe4-afba-e9372de4994d")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/inbox_net_Tests/UnitTest1.cs b/inbox_net_Tests/UnitTest1.cs
new file mode 100644 (file)
index 0000000..84433fe
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+using inbox_net;
+
+namespace inbox_net_Tests
+{
+    [TestClass]
+    public class UnitTest1
+    {
+        [TestMethod]
+        public async void TestMethod1()
+        {
+            InboxClient client = new InboxClient("http://inboxappmachine.cloudapp.net:5555/");
+            await client.GetFirstNamespace();
+        }
+    }
+}
diff --git a/inbox_net_Tests/inbox_net_Tests.csproj b/inbox_net_Tests/inbox_net_Tests.csproj
new file mode 100644 (file)
index 0000000..99897bb
--- /dev/null
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{604DE51F-8DA2-4535-9604-D343C66B5658}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>inbox_net_Tests</RootNamespace>
+    <AssemblyName>inbox_net_Tests</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+    <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+    <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
+    <IsCodedUITest>False</IsCodedUITest>
+    <TestProjectType>UnitTest</TestProjectType>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+  </ItemGroup>
+  <Choose>
+    <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
+      </ItemGroup>
+    </When>
+    <Otherwise>
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" />
+      </ItemGroup>
+    </Otherwise>
+  </Choose>
+  <ItemGroup>
+    <Compile Include="UnitTest1.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\inbox_net\inbox_net.csproj">
+      <Project>{e050b5a7-e315-46ae-9d40-88518face90d}</Project>
+      <Name>inbox_net</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Choose>
+    <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
+      <ItemGroup>
+        <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+        <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
+          <Private>False</Private>
+        </Reference>
+      </ItemGroup>
+    </When>
+  </Choose>
+  <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>
\ No newline at end of file