title: Parse with Windows Phone 8 Universal Apps
body: <p>I have a Windows 8.1 Universal app that I am using with Parse. I have downloaded the latest .NET libraries for Parse and included the Parse.dll and ParseWindows.dll in the Windows 8 project. The app works just fine with them. </p>
  
  <p>I then include the Parse.dll and parsePhone.dll in the Windows Phone app. When the phone app runs, I get a <code>FileNotFound</code> exception when the <code>ParseClient.initialize</code> method is called. The method is in a static class within my Shared library, and is used by both projects. It works fine in the Windows 8 app, but throws the exception in the Windows Phone app.</p>
  
  <p>This is the method that gets called, with the keys redacted.</p>
  
  <pre><code>public static class ParseCloudService
  {
      public static void InitializeParseCloudService()
      {
          try
          {
              ParseClient.Initialize("AppIdGoesHere", ".NETKey");
          }
          catch(ParseException)
          {
              throw;
          }
      }
  }
  </code></pre>
  
  <p>Has anyone else ran in to this? Is there something that I'm supposed to be adding to the Windows Phone 8.1 app that the Parse library expects? Again, this is in a Universal app, and not a standard Windows Phone app project (previous posts I've made this gets confused).</p>
  
  <p>Another interesting thing, is that even though I have this wrapped in a try/catch, the exception goes thrown within the Intialize() method, and never gets caught by my try/catch. If I set a break-point in my catch, the breakpoint never gets hit. It throws within Initialize(), then immediately breaks within app.g.i.cs file.</p>
  
  <pre><code>Could not load file or assembly 'System.Windows, Version=2.0.6.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.
  </code></pre>
  
  <p>and this is the stack trace:</p>
  
  <pre><code>   at Parse.PlatformHooks.SettingsWrapper..ctor()
     at Parse.PlatformHooks.SettingsWrapper.get_Wrapper()
     at Parse.PlatformHooks.get_ApplicationSettings()
     at Parse.ParseClient.get_ApplicationSettings()
     at Parse.ParseClient.get_InstallationId()
     at Parse.ParseClient.Initialize(String applicationId, String dotnetKey)
     at Actions.Services.ParseCloud.ParseCloudService.InitializeParseCloudService()
     at Actions.Services.ParseCloud.ParseCloudUserService..ctor()
     at lambda_method(Closure , IBuilderContext )
     at Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.&lt;&gt;c__DisplayClass1.&lt;GetBuildMethod&gt;b__0(IBuilderContext context)
     at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
     at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
     at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
  </code></pre>
  
  <p>Thanks in advance!</p>