Skip to content

Commit

Permalink
Fixed GettingStarted image links (bad copy paste from other repo)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilmorepf committed Jan 5, 2017
1 parent 1c22a8d commit c8986ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions CSharpGettingStarted.md
Expand Up @@ -25,18 +25,18 @@ CSharp Project Setup
* Extract to a temporary folder {CSharpSdk}, we won't be using the whole thing, but rather copying a small portion
* New Project Setup
* Open Visual Studio and create a new project
* ![CSharp image](/SdkQuickStart/images/CSharp/NewCsProj.png)
* ![CSharp image](/images/CSharp/NewCsProj.png)
* Create a sub-folder for the PlayFab C# SDK source
* ![CSharp image](/SdkQuickStart/images/CSharp/PlayFabSourceFolder1.png)
* ![CSharp image](/SdkQuickStart/images/CSharp/PlayFabSourceFolder2.png)
* ![CSharp image](/images/CSharp/PlayFabSourceFolder1.png)
* ![CSharp image](/images/CSharp/PlayFabSourceFolder2.png)
* Import the CSharpSDK into this project:
* In Windows-Explorer, navigate to {CSharpSdk}/PlayFabClientSDK/source
* Select all files in {CSharpSdk}/PlayFabClientSDK/source, and drag them to the "PlayFabSource" in Visual Studio
* The result should look like this (Sometimes you need to refresh):
* ![CSharp image](/SdkQuickStart/images/CSharp/SdkImported.png)
* ![CSharp image](/images/CSharp/SdkImported.png)
* Install nuget package for Newtonsoft.Json
* ![CSharp image](/SdkQuickStart/images/CSharp/Nuget1.png)
* ![CSharp image](/SdkQuickStart/images/CSharp/Nuget2.png)
* ![CSharp image](/images/CSharp/Nuget1.png)
* ![CSharp image](/images/CSharp/Nuget2.png)
* At this point you should be able to successfully compile the project
* Output window should contain something like this:
```text
Expand Down
10 changes: 5 additions & 5 deletions XamarinGettingStarted.md
Expand Up @@ -14,31 +14,31 @@ Xamarin Project Setup
* That link should then provide you with a "Download Now" option after login/registration
* Even with a fresh install, it is a good idea to check for updates
* Tools -> Options -> Xamarin -> Other -> Check Now
* ![Xamarin image](/SdkQuickStart/images/Xamarin/UpdateXamarin.png)
* ![Xamarin image](/images/Xamarin/UpdateXamarin.png)
* Download and extract the PlayFab CSharpSdk
* https://api.playfab.com/sdks/download/xamarin
* This guide will use {CSharpSdkLocation} to describe the extracted location of this SDK
* Open Visual Studio and create a new Cross-Platform Xamarin project
* This example demonstrates a single Xamarin solution for all mobile platforms at the same time - You may however find it easier to target a single platform per solution
* Create a new project using these options:
* Templates -> Visual C# -> Cross-Platform -> Blank App (Xamarin.Forms Shared)
* ![Xamarin image](/SdkQuickStart/images/Xamarin/NewProj.png)
* ![Xamarin image](/images/Xamarin/NewProj.png)
* Popups:
* Mac agent window: Close this for now
* If you plan to build for iOS, you'll need to set this up properly later
* New Universal Windows Project
* Choose your target version, or just use latest (highest build number) for all options
* Set your platform and project settings to: x86 & Universal Windows for the remainder of this example
* The UWP project can run directly on Windows 10, making it easier to demonstrate this example
* ![Xamarin image](/SdkQuickStart/images/Xamarin/BuildSettings.png)
* ![Xamarin image](/images/Xamarin/BuildSettings.png)
* Import the PlayFab files into your project
* We will copy/paste those files from the extracted zip we downloaded earlier
* Keep Visual Studio open
* Open an Explorer window to {CSharpSdkLocation}/PlayFabClientSDK, and find the "source" subfolder (don't open it)
* Drag the "source" sub-folder from the Explorer window, into the non-platform specific "GettingStartedXamarin" project in Visual Studio
* Once imported, rename the new "source" folder to "PlayFab"
* If you did this correctly, your "Solution Explorer" panel in Visual Studio should look like this:
* ![Xamarin image](/SdkQuickStart/images/Xamarin/ImportRename.png)
* ![Xamarin image](/images/Xamarin/ImportRename.png)
* Update a few project settings
* Add "XAMARIN" to all your platform specific properites
* This flag is not a default for Xamarin, it's an identifier used by the PlayFab CSharpSdk which activates some Xamarin specific code - Mostly you should just consider this a required step
Expand All @@ -55,7 +55,7 @@ Xamarin Project Setup
* For each Project in (GettingStartedXamarin.Droid, GettingStartedXamarin.iOS)
* In Solution Explorer panel, expand each project, and RClick "References" -> Add Reference
* Find "System.Net.Http" and activate the checkbox
* ![Xamarin image](/SdkQuickStart/images/Xamarin/NetHttp.png)
* ![Xamarin image](/images/Xamarin/NetHttp.png)
* Your project should now compile
* You likely have several warnings
* The Android warnings almost certainly prevent you from testing or building to an actual device
Expand Down

0 comments on commit c8986ed

Please sign in to comment.