Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to create a Windows 8 Store App from Visual Studio 2013?

So, I have a Windows 8.1 machine with Visual Studio 2013 installed. Whenever I go to create a new Windows Store project I do not see any options to create a new Windows 8 Store app, rather than Windows 8.1 Store App. However, I have no problem opening existing Windows 8 Store App Projects.

Is it possible to create a Windows 8 Store App project from Visual Studio 2013 when running on Windows 8.1?

like image 240
Earlz Avatar asked Oct 16 '13 20:10

Earlz


People also ask

Does Visual Studio support Windows 8?

Requirements and SupportWindows 8.1, 32 or 64-bit Home, Pro, or Enterprise editions, along with Visual Studio 2013 Pro or higher. An evaluation version of Windows 8.1 Enterprise is available from the Microsoft Developer Network.

Does Windows 8 have app store?

The Windows Store is where you'll download new apps for your Windows 8 device, much like the App Store for Apple devices. Most apps are designed to run from the Start screen.

Can Visual Studio 2013 install on Windows 7?

The following system requirements are required to install Visual Studio Community 2013 into your system. Operation System: Windows 8.1, 8 and Windows 7 SP1.

How do I use Microsoft Store on Windows 8?

Windows 8 To Go The gpedit. msc snap-in is also known as the Local Group Policy Editor. Browse to the permissions listed under Computer Configuration > Administrative Templates > Windows Components > Store and open up the entry titled “Allow Store to install apps on the Windows To Go workspaces.”


2 Answers

It's easy - create a new 8.1 project and remove the following lines from the .csproj file:

<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>

Reopen the file and voila - it's a Windows 8 project!

Additionally, you might want to change the following as well:
In MainPage.xaml:

-    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
+    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">

In Package.appxmanifest:

- <m2:VisualElements
+ <VisualElements
- Square150x150Logo="Assets\Logo.png"
- Square30x30Logo="Assets\SmallLogo.png"
+ Logo="Assets\Logo.png"
+ SmallLogo="Assets\SmallLogo.png"
- <m2:SplashScreen Image="Assets\SplashScreen.png" />
+ <SplashScreen Image="Assets\SplashScreen.png" />
- </m2:VisualElements>
+ </VisualElements>        

If this doesn't work - it might mean that the project files have further changed in current versions of VS and you might need to install VS 2012 (Express should do) and create a project in that. You can then work on it in the new version of VS.

like image 67
Filip Skakun Avatar answered Oct 21 '22 05:10

Filip Skakun


Is it possible to create a Windows 8 Store App project from Visual Studio 2013 when running on Windows 8.1?

No. You need to use Visual Studio 2012 to create the Windows 8 project, then open it in VS 2013. This can be done in Windows 8.1, but requires installing VS 2012 side by side with VS 2013.

like image 41
Reed Copsey Avatar answered Oct 21 '22 04:10

Reed Copsey