I have recently attempted to begin learning C# and ASP.NET. I have installed Microsoft Visual Studio 2012 and tried to follow along with a few tutorials on creating a Web Form Application. Unfortunately, when I create a new web form application project, the Visual Studio screen and Solution explorer do not load as other Youtube tutorials and my books indicate they should.
When I "Save All", I am not getting the Form1.cs, Program.cs, or Form1.Designer.cs files to be created.
Also, I do not get the Form1.CS window appearing so I can drag objects from the toolbox into the form. Instead I just get a default.aspx tab with code.
I have posted a quick video illustrating this on YouTube to describe this in greater detail. Am I doing something wrong, or could it be that my Visual Studio is not working properly? I had Visual Studio 2010 installed before this, but tried to uninstall it and install 2012.
http://www.youtube.com/watch?v=xHXkcCnmHnk
Thank you.
You are probably looking at tutorials for Winform and for that you need to get
Visual Studio Express 2012 for Windows Desktop
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
At the beginning my project was fine and running but after a while i added more User controls and Windows forms to my project Visual studio started to stop working and restart whenever i click certain windows form design or user control design. I tried many solution but i did not get the answer even i installed and reinstalled visual studio 2017 professional. can someone help me with this situation.
i have tried this solution
"I've been able to debug some control designer issues by running a second
instance of VS, then from your first VS instance do a "Debug -> Attach to
Process" and pick "devenv".
but its not working for me.
I really don't know what is wrong but since so many hours I just want to run the sample application but after downloading the .zip file and launch the project from the file CefSharp.MinimalExample.WinForms it seem to be built well after a while the the form display...loading the google page.... then the Windows keep showing the BLANK PAGE (See the image attached to my post) forever...As I did not change anything in the code of the sample application then I don't understand what is wrong at all. My working environment is:
Microsoft Visual Studio Community 2015
version 14.0.25431.01 Update 3
Microsoft .NET Framework
version 4.6.01055
Microsoft Visual C# 2015
Windows 10 OS
Notice also that I'm a beginner to C# and I use Nuget to manager the package.
Thank in advanced
I was using the trial of Visual Studios 2015 to develop a C# app. Now my trial has expired. I would like to continue developing the app in my licensed version of Visual Studios 2013. However, I can't seem to open the .sln. The file opens, but it say "Incompatible". Aside from copy pasting all of the code and re-configuring everything, is there another way I can open it?
You can use this solution here.
Just change the version VS2015 set on the solution file to the one used by VS2013. In doubt, just create an empty VS2013 project and check which one is it.
Luckily, VS2015 didn't change anything else and it will just work.
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.