I've installed Visual Studio 2013 Premium (MSDN license) on my machine. Yet, the ASP.NET Web Application template is not there (except for Version2012, which offers me MVC 4, see screenshot below):
I have uninstalled and reinstalled VS2013 three times now. I've deleted the ItemTemplatesCache and ProjectTemplatesCache folders along with running the devenv /InstallVSTemplates and devenv /Setup to no avail. I've also checked to make sure web developer tools are installed. Under the \Common7\IDE\ProjectTemplatesCache\CSharp\Web folder, I only see MVC 4 template files. Am I missing something? An extension or additional program?
Below I added a screenshot of the frameworks I have installed. Any direction or advice would be appreciated. Thank you!
Jodie.
I think that "Re-install Visual Studio from scratch" is not a solution.
I have faced with the described problem and found much faster way to fix it:
First of all, try to repair Visual Studio installation (in "Control Panel\Programs\Programs and Features" find your Visual Studio, right-click and select "Repair"). Reboot after (!).
Check if template appeared in the Visual Studio. If not, then: in the "Control Panel\Programs\Programs and Features" make sure that you have "Microsoft Web Platform Installer 4.x" installed (I have 4.6 version). If not - install it from here: http://www.microsoft.com/web/downloads/platform.aspx
Run "Web Platform Installer" (it should be here: "%ProgramFiles%\Microsoft\Web Platform Installer\WebPlatformInstaller.exe")
On the "Products" tab find the line "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013" (make sure that it is not for 2012!). If line has "Add" button on the right side enabled, then click it and install the tools. Reboot PC (!) and you should have your ASP.NET project template back.
If line says "Installed", then you should repair it via "Control Panel\Programs\Programs and Features", just find "Microsoft ASP.NET and Web Tools 2013.1 -Visual Studio 2013", right-click and select "Repair"). Reboot PC (!) and you should have your ASP.NET project template back!
Cheers!
After many hours of troubleshooting, these are the steps I took to fix the issue (on Windows 7 Ultimate). I assumed it was an issue with a corrupt installation and possible problems with registry keys, so I removed any and all Microsoft development tools using the following steps:
FULL VIRUS SCAN (just to make sure this was not related to a virus or malware). I used Microsoft Security Essentials
Downloaded Microsoft FixIt to help clean up registry keys as I deleted programs. After I deleted any program or program updates, I ran this tool to verify a clean uninstall had been done
Visual Studio 2010 - Ran the Visual Studio 2010 Uninstall Utility and removed the program. Went into Control Panel > Programs > Uninstall a program > View Installed Updates and searched for 'Visual Studio 2010', then removed any updates associated with VS2010 (and ran the FixIt program after every uninstall to verify the registry keys had been wiped)
Followed this MSDN post to remove Visual Studio 2012 (paying particular attention to the 'Optional Shared Packages' and removed any and all programs under this list, again running Microsoft FixIt to verify the registry keys were wiped)
Followed this blog post from Shawn Harrison to remove all SQL server; also referenced these two MSDN posts Uninstall an Existing Instance of SQL Server (Setup) and SQL Server Files Left After Uninstall
Uninstalled Visual Studio 2013, along with all references to 'Visual Studio 2013' in programs and installed updates; used FixIt to clean up registry keys after every install
Last but not least, I removed all MVC Visual Studio-related tools, references extensions including Web Tools and Web Platform Installer
This solved my problem with missing templates :)
(I'm soooooooo grateful this was all done on an SSD, however, I think it would have taken 5x longer with an old-spinning HD)
Cheers, everyone!
Not the solution in your case, but I had a similar issue where I could not find the MVC templates. Eventually I realized that I still had .NET Framework 3.5 selected, which of course does not provide MVC... switching to .NET Framework 4.5 let me find the MVC templates again.
You already had 4.5 selected in the screenshot, but I'm just posting this here for others who might make the same mistake as I did.
Don't forget to check that "Microsoft Web Developer Tool" was actually enabled during installation see this related stackoverflow question: How do I open a csproj with ProjectTypeGuids 349c5851-65df-11da-9384-00065b846f21?
"Microsoft Web Developer Tool" that was the problem for me
Have you tried updating the gallery
Tools>Extension and updates> Templates
To get up and running you could click Version 2012 under Web and get to the stock web applications templates which will provide you upto MVC 4
For MVC 5 you can either download Visual Studio 2013 Express Web, it roughly has the same ASP.NET features at Premium on MSDN License.
Update for Studio 2013:
Make sure you install express for Windows and not express for Windows Desktop. The Desktop version does not have the Web templates.
I had a similar issue with VS 2013 Web Express Update 3. After reinstalling stuff all week its fixed. I had to uninstall VS, delete the "Microsoft Visual Studio 12.0" directory, and reinstall VS. There are other workarounds that are more precise.
Related
I'm trying to create a setup project / installer for a C# project but can't find the 'setup project' template in VS2017.
In VS2015 it was under:
Other Project Types >> Setup and Deployment >> Visual Studio Installer
and I used that several times without any problem.
That is not present on my VS2017. Is there something else I need to install?
I've looked through all the installed options and also tried the Online section, but searching for 'Setup' only brings up 'Mastercam NET-Hook'.
I've also looked on Stack Overflow but all the questions appear to be about problems within a Setup Project and not creating it in the first place.
Google brings up lots of questions for earlier versions (2013 etc) but nothing I could see for VS2017.
What am I missing?
You must use the official Microsoft extension to do that, it's available here!
You need to install the "Microsoft Visual Studio 2017 Installer Projects". Open up MSVS Tools->Extensions and Updates (Extensions and Updates popup form appears) Online->Visual Studio Marketplace->Tools->Setup & Deployment. Then select "Microsoft Visual Studio 2017 Installer Projects" (today, August 20, 2018, the version is 0.8.8).
NOTES: These are more of the classical MS installers we all know and love used since VS6 days.
Yes, i've tried devenv/install, with no help.
So, I don't have the Console C# Project option when creating the project,
as shown here
Currently i have installed windows basic pack - there's my 'about' screen.
I have just reinstalled Windows because i was getting the same exact problem on old system, and because VS2015 had interface bugs and crashed consequently, but it didn`t help(as well as reinstalling both VS 2015 and 2017 numerous times)
Hope that you can guess whats wrong with my PC.
Visual Studio 2017 setup allows you to very fine-grainedly install various "components" separately, or groups of components delivered as "workloads".
You're missing the workload named ".NET desktop development", which contains among others these project templates. So re-run setup and install that workload.
You have a link, Open Visual Studio Installer in a New Project window that will allow you modify your installed components
I'm working with Visual Studio 2012 Express (Update 4) with Windows Azure Tools 2.5. I have the Remote Tools installed for Visual Studio 2012 Express Update 4.
I'm running some WorkerRoles on Windows Azure, and I need to do some debugging on the staging version.
My understanding is that I can connect to Azure using the Database Explorer in VS and find the process and attach the debugger to it. I've been following various tutorials around the net that all say the same as this one (which is actually very well written): http://geekswithblogs.net/shaunxu/archive/2013/11/02/remote-debug-windows-azure-cloud-service.aspx
The problem I have is that when I hit publish, and go to advanced settings, there's no option to enable debugging. According to everywhere it should look like this:
But I don't have those options:
Later, when I go to the cloud services in the database explorer, and I right click on the role I want to attach to, there's no option to "Attach Debugger":
Is this a limitation of VS2012 Express?
Any help would be hugely appreciated.
Cheers,
Chris
EDIT:
As in the tutorial I have the Build Configuration set to Debug:
I realise that this may/may not help others experiencing this problem.
I solved the problem by completely uninstalling all the different versions of Visual Studio, .NET, SQL Server tools. I had tried so many different versions of things that Azure tools and things may not have been applying to the correct version.
Here's the important bit:
The version I'm working with now is Visual Studio 2012 Professional.
If re-installing doesn't solve the problem, Visual Studio 2012 Pro has these features.
I have an ASP.NET MVC application that I'm working on in Visual Studio 2013 Premium. I have three projects that are underneath my solution. If I right-click on any of the folders that are immediately under my solution and choose add, the flyout from the context menu displays fine and Visual Studio continues to function normally.
If I right click on any (I've tried a few but not all) folder underneath one particular project in Visual Studio, it freezes for about fifteen minutes. The cpu and memory usage when this is going on seem pretty normal.
If I right click on any of the folders underneath the other two projects and choose Add I get the flyout to appear showing the types of things I can add to the folder and everything works just fine.
What I've tried:
Disabling all Visual Studio Extensions that can be disabled. This didn't fix it.
Starting an instance of Visual Studio in Safe mode, this does fix it.
Any idea what I can try next? I'd hate to have to manually uninstall all of the Visual Studio extensions that can't be disabled, but this seems like the logical next course of action.
As far as Extensions I have:
Application Insights Behaviors SDK (XAML)
Bing Dev. Assistant (Disabled, installed after problem started)
Find in Solution Explorer (Disabled)
Company-created Build Tools (Disabled)
Company-created Core Tools
Company-created Scaffolding Tools (Disabled)
Microsoft Advertising pubCenter
Microsoft Advertising SDK for Win 8.1
Microsoft Advertising SDK for WP 8.1 XAML
Microsoft ASP.NET and Web Tools
Microsoft Visual Studio ASP.NET MVC 5 Scaffolding
Nuget Package Manager
Productivity Power Tools (Disabled)
Release Management for VS 2013
TFS Server Power Tools for VS 2013
TFS Sidekicks (Disabled)
TFS Process Template Editor
TFS Team Collab.
TFS Work Item Type Designer
Unit Test Generator (Disabled)
Visual F#
VS Extensions for Windows Library for JavaScript
WP 8.1 SDK Integration
Workflow Manager Activities
I don't need the WP 8.1 stuff here at work, but dabble with it at home. Since I'm logged into my MSDN account in Visual Studio at both places, would it uninstall it from my home PC if I uninstall it at work?
I'm doing a little further exploration. On the project that has the problem, when I try to do an add to a folder, I'm seeing Nuget.exe get fired off every six seconds over and over again. Where would I look to see where this is set up? I assume in the .csproj file.
Thanks
I disabled and uninstalled a bunch of Visual Studio extensions, which didn't help. I then cleared my nuget cache and that solved my problem.
I had exactly the same problem apparently, in my case it was a reference problem try deleting them one by one until the it starts responding in real time, i suggest starting with 3rd party dlls.
I have a solution with .NET projects and a setup project(Visual Studio Installer 2010). My previous version of the same project was 1.7.9 and the new version is 1.8.4. I also create a shortcut on the desktop to one application in my MSI. I changed all the versions in the assemblyinfo.cs and also changed the product version in the Setup Project, the product code got changed automatically and the upgrade code is the same. The problem I'm facing is that the Targetdir is updated with 1.8.4 files. But on the desktop I see 2 shortcuts (1.7.9 & 1.8.4) and in control panel I see two versions of the same application. I have set the RemovePreviousVersion flag to true and also set the DetectNewerVersion to true. Can someone please help me out with this? After changing the assemblyinfo file why isn't it upgrading properly?
Visual Studio Setup Projects are a deprecated feature that hasn't seen any love since before Visual Studio 2008 was released. I understand it's a feature that ships with Visual Studio all the way up to 2010, but it's probably a much better idea to switch to another product, such as WiX (free and open source), NullSoft Installer a 3rd party commercial solution.
From what I gather, you did the correct things building your installer and setting up the configuration. You might want to check that the previous installer really has the same GUID you're expecting it to have.