MicrosoftEdge / magic-mirror-demo

A :zap:Magic Mirror:zap: powered by a UWP Hosted Web App :rocket:
Other
1.23k stars 225 forks source link

Is it possible to run and debug this project locally using Visual Studio Community Edition? #34

Open dd45 opened 8 years ago

dd45 commented 8 years ago

In the documentation I keep reading "Visual Studio 2015". Is it possible to run this on a freely available edition of Visual studio such as the Community Edition?

I suspect that there may be some limitations (e.g. Node debug IDE integration). Would be good to clarify this in the README document.

Thanks!

afreeland commented 8 years ago

Anything ever determined on the Community edition? I followed the instructions and simply get a "Magic Mirror UWP App" goldish window with a square in the middle of it. Never see it actually utilize the hosted web app from the url entered.

EDIT

Had to deviate a little from the instructions in the read.me...when I simply change the startpage from the gui it left and old value in the config in the uap:Rule section. Once, I manually changed it the app started up...happened to watch a Microsoft presentation earlier on YouTube or would never of known about the rules section.

Original

  <Applications>
    <Application Id="App" StartPage="http://webreflections.azurewebsites.net/create">
      <uap:VisualElements DisplayName="Magic Mirror UWP App" Description="Magic Mirror UWP App" BackgroundColor="transparent" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
        <uap:DefaultTile Wide310x150Logo="images\Wide310x150Logo.png">
        </uap:DefaultTile>
        <uap:SplashScreen Image="images\splashscreen.png" />
      </uap:VisualElements>
      <uap:ApplicationContentUriRules>
        <uap:Rule Match="http://127.0.0.1:3000" Type="include" WindowsRuntimeAccess="all" />
      </uap:ApplicationContentUriRules>
    </Application>
  </Applications>

Modified

  <Applications>
    <Application Id="App" StartPage="http://webreflections.azurewebsites.net/create">
      <uap:VisualElements DisplayName="Magic Mirror UWP App" Description="Magic Mirror UWP App" BackgroundColor="transparent" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
        <uap:DefaultTile Wide310x150Logo="images\Wide310x150Logo.png">
        </uap:DefaultTile>
        <uap:SplashScreen Image="images\splashscreen.png" />
      </uap:VisualElements>
      <uap:ApplicationContentUriRules>
        <uap:Rule Match="http://webreflections.azurewebsites.net" Type="include" WindowsRuntimeAccess="all" />
      </uap:ApplicationContentUriRules>
    </Application>
  </Applications>