XAML Desktop Apps in C++ (Visual Studio Ultimate 2012 RC) - c#

I know that we can develop Windows Desktop XAML (WPF) apps in Visual Studio Ultimate 2012 RC in C#, VB - but why can't we do the same in C++???
I see that C++ has the ability to do Win32 projects, MFC and METRO apps, but why not normal WPF DESKTOP apps?
How can we get WPF for the Desktop back, in C++?
I tried right-clicking my solution and Adding an XAML file to the project - but there is no such file available to add through the Add file dialog for C++ apps.

Neither the RTM nor Visual Studio 2010/2008 allow you to write standard WPF applications in C++ (so there is no 'getting WPF for the desktop back in C++' because it never existed in the first place.
As for the why, only Microsoft would be able to say.
I'd suspect it's to do with how heavily WPF relies on reflection and some of the dynamic features of C# that C++ doesn't have (and that Metro apps don't rely upon due to the more restricted framework) - but this is purely speculation.

Related

Visual Studio 2015 C# Class Library with WinForms referenced by legacy VB WinForms application

We have a legacy VB.NET WinForms applications to which a wide range of new capabilities needs to be added, including new forms. But we'd like to code in C#. We're going to be working with Visual Studio 2015 Community edition.
What is a safe way to create a new Class Library in C# which also has WinForms in it, which we can reference and use in the legacy VB application?
Are there issues, for example in Click-Once installation, if the C# class library is using a newer version of the same third-party controls the VB application used? Or is all that housekeeping done neatly by VS?

Visual studio 2013 express missing Windows forms C# project template [duplicate]

This question already has answers here:
Visual studio Express 2013 is not showing web templates
(2 answers)
Closed 8 years ago.
I just installed a fresh copy of MS Visual Studio 2013 Express on Windows 8.1. After installing I checked out the new IDE. When I create a new C# project I need to select a project template like always. But the only options I have is: Store apps > Universal app, blank store app etc.
The problem is that I would like to create a winform project but I can't find the appropriate template. Do I need to download & install then Winform project template manually?
Edit:
This kind of project I would like to create. http://msdn.microsoft.com/en-us/library/dd492132.aspx
I suspect you downloaded "Visual Studio Express for Windows":
You can use the tools in Visual Studio Express 2013 for Windows to create innovative and compelling Windows Phone and Windows Store apps on Windows 8.1.
You want to download "Visual Studio Express for Windows Desktop":
Visual Studio Express for Windows Desktop lets you take full advantage of Windows with XAML designers, a productive IDE, and a variety of programming languages including C#, Visual Basic, and C++. Choose between Windows Presentation Foundation (WPF), Windows Forms, and Win32, to target the Windows desktop with the right technology for your application and your skills.
I believe you can just download and install the "Windows Desktop" version and it'll all be fine - certainly in previous versions, you could have multiple editions installed, and they'd just be additive.

How to use the Visual Studio form designer for other windowing systems?

I'm creating a windowing system, comparable to WinForms or WPF, in XNA for a game I'm making.
Now, it would be nice to be able to use the Visual Studio form designer to make my windows.
I've googled a bit but I couldn't find anything. However, it might be possible because Microsoft uses the same basic designer interface/structure for many different things. (WinForms designing, WPF designing, Workflow designing, User Control designing, ...)
Is it possible to achieve this with Visual Studio's plugin system or will I have to make something custom to do it?
I don't know how you can use VS, but before starting to make something custom, I would recommend to take a look at http://sharpdevelop.net/opensource/sd/
Well, you must have a lot of programmers in your team if you intend to reprogram something like the Visual Studio forms designer on your own ;-)
In fact, I don't know if it will be possible with the VS plugin system, but if I were in your situation, I would use VS to create a Winforms or WPF GUI, and create a code generator which maps the code generated by VS to the classes of your windowing system. Most likely you will have to restrict yourself in using Winforms/WPF components for which you provide something similar in your framework.
I think it is very complicated things to do but you can do that.
At first you have to know about Visual Studio SDK.
Usually you have to download separately from the main products.
AFAIK CMIIW it is version dependent. So if you are installed VS 2010 with SP1 you have to use VS 2010 SP1 SDK.
The other you have to choose that is your products is isolated or integrated shell. The isolated means your shell will launch on separated vs 2010 instance(not in vs 2010). The example is SQL Server management studio from microsoft itself is isolated. Integrated shell means your products will integrated in VS 2010.
You can see on MSDN in here http://msdn.microsoft.com/en-us/library/bb166441(v=VS.100).aspx how to use that SDK.

Component library to create embedded Windows GUI like Visual Studio?

Is there a component library (free or commercial) to do so ?
I don't want to develop a programmers editor so Visual Studio Shell won't fit I think, I just want the GUI Window system alone for example for drawing charts with panels on the left to configure the charts.
I'm beginner so I prefer something that is well documented.
We use WeifenLuo DockPanel Suite (link) which provides a VS like window environment. It's open source so we've been able to modify it to support a bunch of new features as well.
Yes. There's Visual Studio Isolated Shell, and Visual Studio Integrated Shell: http://msdn.microsoft.com/en-us/library/bb685612.aspx

Can I use a full version of Visual Studio 2010 to develop Windows 7 Phone Apps instead of the download package

I have Visual Studio 2010 Professional as well as Expression Blend 4 loaded on my development machine already. Everything I read says to develop apps for the Windows 7 Phone, I need to download the vm_web.exe file which includes Visual Studio 2010 for the phone and the emulator as well as a stripped down version of Expression Blend. What I would like to do is not have to install this package and risk some sort of corruption by having both of these on my computer at one time if it will even let me but instead use my own VS2010 and Blend to develop the apps. What that means is I need a plugin of some kind and the emulator. I already checked my VS2010 and the Windows 7 Silverlight templates are not included.
Can I do this or do I have to set up a completely different VM and load this package on it to develop Windows 7 Phone apps?
You can install the WP7 dev tools just fine on a machine with VS2010. The installer will install the WP7 VS Express, and will also register the WP7 tools with VS2010, so you can develop WP7 apps with either of them. The two VS editions will work just fine side-by-side.
Same goes for Blend the two Blend editions will work just fine side-by-side. The only difference with VS is that the WP7 tools are not registered with the standard Blend4, so for WP7 apps you have to use the WP7 Blend. (Note: This is not going to be the final story, as far as I know)
I've done a similar thing (Ultimate + Phone 7). It works without problems. As far as I know, you can install any Express editions side by side, even with the full one.
I have Visual Studio 2010 Professional and Win7, I downloaded full pack (vm_web.exe) and there's no problem to work them simultaneously. ( I was trying to find it without VS, but without result as well)

Categories

Resources