I have Visual Studio 11 Beta (Express for Windows 8) installed in my Windows 8 VM. When I press New Project, I can see a lot of templates for Metro apps... but nothing else. I can't find templates for making any sort of desktop application. In particular I would like to be able to make a WPF project in C#. How should I go about this?
Yes, the "Express for Windows 8" version only allows you to create Metro apps. From the product page:
You can use the tools in Visual Studio 11 Express Beta for Windows 8 to create Metro style apps for Windows 8. The tools include a fully featured code editor, a powerful debugger, a focused profiler, and rich language support that you can use to build apps that written in HTML5, JavaScript, C++, C# or Visual Basic. Visual Studio 11 Express Beta for Windows 8 also includes a device simulator that you can use to test Metro style apps on multiple form factors.
If you want to build other types of apps, you need to download the beta of Visual Studio 11 Professional. (I expect there'll probably be a plain "Visual C# Express 11" which allows for WinForms and WPF apps when it's non-beta... there's going to be a Release Candidate soon, so that may come with a suitable Express version.)
Related
I inherited a C# app written in Visual Studio 2010 professional. From the compile done in VS 2010, the C# app works perfectly in Windows XP and Windows 7.
Now I am about to install Visual Studio 2013 for the first time tomorrow, and load the C# app.
I have 2 immediate goals:
Upgrade my project to work in VS 2013 Professional. I am not sure
if/what obstacles I may run into here, but if anyone has any suggestions I am all ears.
More importantly, I have 2 new prospective users for my app - one wants to use it in Windows 10, the other in Windows 8. However, I don't know the steps I
have to take to make my C# app work for these newer operating
systems. Are there specific steps I will have to take (or settings to
assign) in Visual Studio 2013 so that my C# app will work for Windows
8 and Windows 10? If someone knows the answer to this, can you please
make it clear whether I should be making separate builds for each
target operating system, or if the steps you suggest will allow me to
build this for all 4 operating systems included in the same build?
Thanks very much, really appreciate any input.
Adam
For the most part the project should auto update just fine. You might want to make a back up incase it upgrades incorrectly and it doesn't create a back up on its own.
The boxes you deploy to might need a visual studio 2013 redistributable which will be apparent if they crash when opening on the deployment machine
I'm working through the Head First C# (3rd ed) text with instructions specific to VS 2012 and I'm having trouble finding the equivalent in VS Community 2015.
The text says to begin a new project with Windows Store -> Blank App (XAML) but I don't see that as an option in my version of VS. The closest I could find was Windows Forms Application but that doesn't seem to be right since it didn't generate the MainPage.xaml among other things.
WPF is the closest you can get if you're not on Windows 8, the book says it too and it links to here where you can get the WPF version of the chapters.
You are right, a Windows Forms Application will be very different. While it may not be identical, the:
New Project -> Visual C# -> Windows -> Windows 8 -> Windows -> Blank App (Windows 8.1) is probably the closest.
I had the same problem. But I'm using 2019 version.
The answer seems to be to install the Universal Windows Platform development package from the Visual Studio installer (Modify button).
Then you can search for the correct project type by first selecting C# as the language and then typing 'blank app' and selecting the Blank App (Universal Windows) option.
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?
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.
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.
I did the following:
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!
But it's not Voila. Reloading the project after this edit puts up a dialog saying VS2013 needs an update, and directs you to the MS Download site (assumedly to download the Phone 8.0 SDK.
I made completely sure I had the Phone 8.0 SDK installed with VS2013 installer. I even went so far as to remove (with 2013 installer) and re-add. Still this behavior persists. I'm now downloading the 8.0 SDK, which is installing 2012 Express of course. We'll see if that helps, but it seems like this shouldn't be necessary. What am I missing?
It didn't resolve the behavior. Now, I load up the solution and it won't load the project. The project has the notation (update required). When you select download update from the context menu, it just takes you to MS Downloads--no idea what needs to be downloaded.
Can someone please explain the highly voted answer above? I'm running Win 8.1 Pro with VS2013 Premium (Phone 8 SDK installed)...and I now have the VS2012 Express install that came with the regular Phone 8.0 SDK download. Thanks.
As Reed said, you cannot create Windows 8 App store project in Visual Studio 2013 and you need to have VS2012 installed too. But as a trick you can make a copy from an existing Win 8 app project and modify it. It is not very neat solution but works if you do not want to install VS2012 as well.
You need to use Visual Studio 2012 to create the Windows 8 projects.
Based on my own experience if you don't have do developer a Windows 8 version, just focus on 8.1. For me only 3% of the sales are generated by the Windows 8 version. I only backported my 8.1 app for experience sake.
You cannot developer Windows 8.0 application using VS 2013. You have to install VS 2012 for Windows 8.0.
I started developing an app on Windows XP and VIsual C# Express 2010. This app uses MSChart components. Now I need to get this app ready for Winodws 7. Therefore I installed Win 7 and Visual C# Express 2010 (and also Visula Studio 11 Beta) but I can't get the MSChart to work. It's not listed in the tools windows and I can't selectet it with "Choose items...". I downloaded and installed the Microsoft Chart Controls für Microsoft .NET Framework 3.5 (MSCHART.exe) but i can't get it working neither in V C# Express 2010 nor in VS11B.
Does MSChart no long work on new systems or am I doing something wrong? I'm thankfull for any help!
edit: just figured out that on both Visual C# Express 2010 and Visual Studio 11 Beta a .net 4 project will show MSChart tool in tools window. changing to .net 3.5 will remove the chart tool in both environments...
Problem is: the app needs to work on XP with .net 3.5 (not higher) and Win 7.
Is your version of Window7, Office or you app 64bit, we have had a number of issues with running Active X and OCX on 64bit Platform.
I am a C# dev with most of my experience with windows desktop app. I want to start development on windows 7 phone platform.
Where to start with ? Will it work with VS2008 or i need to have VS 2010 ? how to add the template for phone app development and how to add the win 7 emulator ?
What i need to install to start working on windows 7 phone development ? just downlaoding the SDK will do the work ?
This link will answer your setup/requirements question.
Quote from site:
The Windows Phone Developer Tools Beta includes Visual Studio 2010 Express for Windows Phone Beta, the Windows Phone Emulator, XNA Game Studio, Expression Blend for Windows Phone, samples, and documentation. If Visual Studio 2010 Professional or higher is already installed on your development computer, an add-in for Visual Studio 2010 Professional is automatically installed as well.
EDIT
Updated link.
you can get all the free dev tools from here you don't need a full version of visual studio.
There are two elements to your question:
What tools do you need
Where do you get the skills you need?
The tools are free, and the links above are fine, though I would probably start here In any case, you do need some form of Visual Studio 2010 but we have a free version especially designed for the phone. All you need besides that are the (free) Windows Phone 7 Developer Tools, though I strongly recommend picking up the documentation and guides.
As for learning WP7 programming, you have many choices. Many of the best are discussed in the Windows Phone Team Blog.
In addition, we have numerous videos on Silverlight.net and I have an couple of on going mini-tutorial series (one targeted at Silverlight programmers and one at iPhone Programmers) on my blog.
There are also lessons, and much more coming out every week.
Best of luck with it and let us know how it goes
-Jesse Liberty
Senior Community Program Manager - Silverlight and Windows Phone 7
Microsoft
The development tools are free with a express edition of visual studio 2010. As far as I know a type of Visual Studio 2010 is required. But if you have VS2010 then you can just download the XNA Gamestudio beta, it comes bundled with all your need to start your Windows Phone 7 development.
For getting started and downloading tools, take a look at this site from microsoft: Link