It is possible to do WPF development (MVC, or MVVM) in Visual Studio Tools for Applications 2012. I am trying to find the templates but they are not here. First day in a new place and I've never used this version before.
Any feedback would be great.
Cheers!
Visual Studio Tools for Applications is a development environment for application extensions, like SQL Server Reports, InfoPoint, Word automation, and some third-party LOB applications. It cannot make stand-alone Windows executables.
You want Visual Studio Express for Windows Desktop, VS Professional, Premium, or Ultimate.
Within Visual Studio, go to File -> New -> Project. In the New Project dialog, choose Templates -> either Visual C# or your language underneath Other Languages -> Windows. Then, you should see "WPF Application" in the list.
Related
I'm learning how to design a Windows Forms Application in Visual Studio 2017. The tutorial asks me to create a new project using the File -> New -> Project option and selecting 'Windows Forms Application' in the new project dialog box.
However, when I explore this option in Visual Basic, my New Project dialog window only has three options, and the Windows Forms Application is not one of them (see screenshot - attached).
Just wondered if anyone might be able to suggest how to get this option to appear? I have tried looking for the correct option in the Visual Studio installer, but I cannot find it their either.
Screenshot attached.
Because you need to install it.
Go to Visual Studio Installer from the start and check the checkbox .NET Desktop Development.
After that restart the VS 2017.
Open Visual Studio Installer, ‘Modify’ your installation and install the ‘.Net Desktop Development’ workload.
Add "Universal Windows Platform development" to your work load
Visual studio community
In my visual studio code project, I have generated an .exe file for the project and I'm trying create make my .exe as Windows Service.
From here and here, if I'm not mistaken, these solutions look like done by using Visual Studio instead of Visual Studio Code. Is it possible to create a Window Service through Visual Studio Code?
You cant,
Visual Studio Code is a code editor redefined and optimized for
building and debugging modern web and cloud applications. Visual
Studio Code is free and available on your favorite platform - Linux,
Mac OSX, and Windows.
It has no concept of an Windows Service
If you wish to create a Windows service you will have to use Visual Studio or something that can compile standard .net Windows application
Great comment from Ben Voigt
You're correct that Visual Studio Code doesn't have a concept of a
service, but that's because it is an editor not a compiler. The same
C# compiler installed as part of the .NET runtime, can build Windows
Services. And you can edit the windows service code in VS Code
I don't know why Visual Studio is such that there are a million different versions (Visual Studio for Desktop, Visual Studio for Web, Visual Studio Code, etc.) and each version has a different set of project templates. Anyhow, the problem I'm having is that I'm creating an ASP.NET MVC application through Visual Studio Web 2013 and I want it to be supported by a Windows Service that is started in my App_Start(). The problem of course is that when I read the instructions on https://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx there is no Windows Service template on Visual C# when I try to add a new project to my solution.
I understand your web endpoint will be dependent on a Windows Servie, and you want to author that windows service as part of your solution.
Setting aside that VS.net 2015 Community Edition rolls up all the functionality you need. You dont need the project template specifically to create a windows service. It just automatically adds some references and templates into your project. All project templates in VS .net rely on the .net framework - and that isn't any different between one installation and another of VS.net.
In practise you can code a windows service written for .net in Notepad and just call the CSC compiler manually - the version of VS.net just adds some ease-of-use.
There is a set of instructions here https://msdn.microsoft.com/en-us/library/9k985bc9(v=vs.110).aspx from Microsoft which include specific instructions on how to make a windows service without a template.
I just installed visual studio 2013 on windows 8.1
When i go to new project then in the windows visual studio is not showing web templates like web pages, MVC 3,4,5 and other stuff like Windows form application and data bases. Visual studio is just showing phone apps development templates. why is this so because i have installed visual studio express with update 2 and i think its latest.
I tried many things like repairing update 2 and installed other asp.net templates for visual studio 2013 but i am not getting on my way...
Please suggest me solutions
The Express versions of Visual Studio come in flavors for desktop and web. It sounds like you might want Microsoft Visual Studio Express 2013 for Web. If you want the more full featured version, check out the commercial versions here.
There's also a few ways to get the commercial versions for free. If you're a small company, check out the BizSpark program. If you're a student, check out the DreamSpark program.
Both Web and Desktop can be installed at the same time. I have both installed on my Windows Server 2012 Box
I already made an application that is using Windows Forms, but I knew that Windows Forms setup was no longer available in Visual Studio 2013, that is made me to install both of Visual Studio 2010 and Visual Studio 2013. When I want to make some changes in my application and re-build the setup, I have to run Visual Studio 2010 rather than Visual Studio 2013. The reason because I am using Visual Studio 2013, because I like this version and I am using Visual Studio 2010 just because for when I want to make some changes in my application.
I knew about WPF Applications when I finished made my application. And I am considering to uninstall Visual Studio 2010 and work with Visual Studio 2013. Do I have to re-write everything on my application's code to WPF? Because from what I heard, some functions in WPF are not the same in Windows Forms. And let's say that I successfully change my application from Windows Forms to WPF, what setup is provided with WPF ? So the other users could use my application on their computer?
i knew that Windows Forms setup has no longer available in Visual Studio 2013
Windows Forms is still available as a technology in Visual Studio 2013. If you are referring to the setup project type for creating an installer switching to WPF will not make it available for you.
So you can switch to Visual Studio 2013 and continue using Windows Forms but you will have to find another way to create an installer (and switching to WPF will not fix that problem).
In my opinion the ViX Toolset is very good for creating an installer. However, it is not "drag and drop" as the old Visual Studio Setup project type is.
#Kaoru You have to make some changes, Because some of functions in WPF and Win Forms are different.You don't need to change the Application Logic. But you have to change some modifications in UI and also code.
I heard a tool something called WF2WPF But I never used it and not found yet it.
If you are missing installer projects in VS 2013, then you may want to try Visual Studio Installer Projects Extension.
This preview release provides support for Visual Studio Installer projects in Visual Studio 2013. You can download the extension from the Visual Studio Gallery.