I needed to populate a database I’m designing with some test data and thought to myself “LightSwitch will be ideal to knock out some screens”.
One hour later I got a LightSwitch screen to actually display! Until then all I got when running it in Desktop mode (the default) was a blank window hosting Silverlight (right click to verify)
After lots of searching and playing around I found the answer near the end of this very long thread.
- Navigate to the Client.Properties folder inside your project
- Open OutofBrowserSettings.xml
- Change <SecuritySettings ElevatedPermissions=”Required” /> to <SecuritySettings ElevatedPermissions=”NotRequired” />
- And you may also want to then make the file readonly
Now, when this happens again I will be able to find my own post to resolve it! Enjoy!
P.S. This isn’t specific to Visual Studio 2012 … but the post title corresponds to how I was searching 🙂