title: Bug in Visual Studio 2015 package.appxmanifest for ms-appx-web in start page?
body: <p>I'm creating a Javascript Windows 10 Universal app. It complained about using javascript inline with html-- due to having script tags inside my .html file.</p>
  
  <p>"CSP14312: Resource violated directive 'script-src ms-appx: 'unsafe-eval'' in Host Defined Policy: inline script. Resource will be blocked."</p>
  
  <p>So I did some research online and it turned out that I could avoid this error by doing two things:</p>
  
  <p>Open package.appxmanifest:</p>
  
  <ol>
  <li><p>add to start page:</p>
  
  <p>StartPage="ms-appx-web:///index.html"</p></li>
  <li><p>Add to package.appxmanifest:</p>
  
  <p>&lt;uap:ApplicationContentUriRules&gt;
  &lt;uap:Rule Match="ms-appx-web:///" Type="include" WindowsRuntimeAccess="allowForWebOnly" /&gt; &lt;/uap:ApplicationContentUriRules&gt;</p></li>
  </ol>
  
  <p>(You read this right: we need 3 slashes... ///)</p>
  
  <p>Now this works great and my program is running now without the errors. But I noticed that if I change the start page via the GUI then it can't save it because it complains it's an illegal uri. So the only way I could do this was right-click the package.appxmanifest and choose "view code" and then do it through code. (Actually #2 above can only be done through code).</p>
  
  <p>Maybe someone can clue me in, did I do something wrong? Here's a screenshot doing this through the GUI:</p>
  
  <p><a href="https://i.stack.imgur.com/0Jq3x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Jq3x.png" alt="Bug in vs 2015?"></a></p>