VS 2013 Web Developer Tools error - visual-studio

I am using VS 2012. It is working fine. Then I installed 2013 also. VS2013 Installation was successfully completed. After completed of installation i tried to create new website But I am getting below error.
"The Web Developer Tools option must be installed prior to opening or creating Web projects. You can install this option by repairing your Microsoft Visual Studio installation and ensuring that 'Web Developer Tools' is checked in the list of optional components"
Please give me the suggestions, without disturbing the VS2012 how can I solve the above problem.

Related

The following references must be present before installation can continue "Web Developer Tools"

I recently reinstalled Visual Studio 2015, and I made sure I picked Web Developer Tools when I installed it. However, when I go to install Web Essentials through the Extensions and Updates popup, I get this message:
When I go to modify my installation of Visual Studio 2015, I can see that Web Developer Tools has been installed (or at least marked for installation):
I am now unable to install Web Essentials, because I get this message. What can I do?

Visual Studio thinks `Microsoft Web Developer Tools` is installed

Symptoms
Visual Studio syntax highlighter and Intellisense for Javascript and Razor views are not working.
There is no Web templates installed when creating a new project.
When I try to uninstall the web developer feature:
Add or remove Programs > Microsoft Visual Studio Professional 2015 > Modify
Microsoft Web Developer Tools is always checked. Even when I uncheck it and uninstall it, then restart the computer; the next time I still see it's checked:
What I did to solve this:
Running devenv.exe \resetuserdata Command to reset the user data.
Running devenv.exe \installtemplates to install the templates.
Repairing the Visual Studio.
Trying to uninstall and re-install the Web Developer Tools feature through the Visual Studio installer.
None have worked so far.
What I guess
I think Visual Studio thinks this feature is installed (through some registry keys probably) but the files are actually not installed.
Because whenever I try to Modify the installation of Visual Studio, the Microsof Web Developer Tools check box is not checked for the first second, then it is checked again after 1 second.
Question
Any suggestion on fixing this without uninstalling Visual Studio itself?
I was having the same problem and this is what worked for me:
Uninstall ASP.NET Web Tools from Control Panel
Download and install "Microsoft ASP.NET and Web Tools" extension from: https://visualstudiogallery.msdn.microsoft.com/c94a02e9-f2e9-4bad-a952-a63a967e3935
Try this (in order):
Find Microsoft ASP.NET 5 RC1 ... in control panel / programs &
select modify
Select repair
Run devenv.exe /installvstemplates as administrator
Run VS as administrator
I had the same problem with Visual Studio 2015. I tried several things, but simply updating Microsoft ASP.NET seemed to do the trick.
Install ASP.NET 5 RC1, restart, and the issue should be resolved.
I didn't know I had this problem until I opened an MVC project with Razor views and didn't have syntax highlighter and Intellisense. I was lucky to read your question because the symptoms are the same and so is the conclusion. And unfortunately none of the answers solves the problem. But it did help me to find the answer, or what worked for me.
What did the trick was installing .NET Core 1.0.0 (DotNetCore.1.0.0.RC2-Runtime-x64 and DotNetCore.1.0.0.RC2-VS2015Tools.Preview1). I am pretty sure that this is enough to solve the issue. But since I tried all kinds of things, it is possible that another action is required. In that case, continue reading below the images.
When I start a new project this opens the following dialog:
Selecting ASP.NET Web Application (.NET Framework) opens the dialog with the projects I was looking for.
The syntax highlighter and Intellisense are also working for Razor views.
I do not know what caused the problem in the first place. Is the installation incomplete, is there a conflict with other software or did I do something that caused this?
Visual Studio 2012 is installed on my machine as well. I installed and uninstalled VS2015 (pro and community version) and then installed vs2015 Community on multiple volumes. On uninstalling I did use /Force and removed several folders manually.
Microsoft ASP.NET 5 RC Update 1 is also installed, but repairing this did not solve the issue. Also installing Asp.Net Web Framework tools 2015 didn't change anything. I copied templates to all template folders I could find (perhaps an issue with installing on multiple volumes?), ran devenv.exe with different parameters and deleted the '14' folder in my profile. None of this worked. Finally I installed .NET Core 1.0.0.

Web Developer Tools option must be installed

I have been working with Visual Studio Ultimate 2013. Today when I tried to open a solution, it tried to convert the solution and showed me error like
"The Web Developer Tools option must be installed prior to opening or creating Web projects. You can install this option by repairing your Microsoft Visual Studio installation and ensuring that 'Web Developer Tools' is checked in the list of optional components."
I goggled about this and tried to Modify the Visual Studio 2013 ultimate by enabling the Web Developer Tool. But here I am getting the other error like
Unable to Locate Package Source.
What should I do now?
Go to Control Panel -> Programs and Features -> Select your Visual Studio Version and hit "Change"
Click MODIFY and enable Web Developer Tools
Enable Web Developer Tools
Click Update
Perhaps the installer file for Visual Studio was deleted and is no longer available to modify installations. If you can't locate it, you could just re-install Visual Studio, but that takes awhile.

Visual Studio 2013 wont run as administrator

I'm trying to get Visual Studio 2013 running as an administrator, but I'm constantly getting errors. I've searched and tried solutions for other versions of VS, but those fixes didn't apply, so hopefully someone here can help.
When I try to run VS2013 as an admin, I an error saying that the application cannot start.
I saw a few articles talking about copying and registering dte*.olb files, but they were for previous versions of VS. I copied one of the files over and registered it and I can now get past the original error, but I can't compile any application - including any default template workspaces. Before I went too crazy and potentially made things worse, I wanted to ask here.
If I don't get the "application cannot start" message, I get this message when I try to compile anything:
---------------------------
Microsoft Visual Studio
---------------------------
Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
---------------------------
OK
---------------------------
The problem is that that error code doesn't tell me what library wont load.
The output window says:
Error occurred while restoring NuGet packages: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
1>------ Build started: Project: WcfService1, Configuration: Debug Any CPU ------
1> WcfService1 -> C:\Users\David\Documents\Visual Studio 2013\Projects\WcfService1\WcfService1\bin\WcfService1.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
I tried uninstalling and reinstalling NuGet with no change in the behavior.
And if I go to the project properties, I can't see the Web, Package/Publish Web, or Code Analysis Tabs.
Does anyone have any idea how to fix this?
This is on Windows 8.1 Pro. My exact VS configuration is below.
Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.51641
Installed Version: Professional
LightSwitch for Visual Studio 2013 06177-004-0444002-02105
Microsoft LightSwitch for Visual Studio 2013
Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU 06177-004-0444002-02105
Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU
Team Explorer for Visual Studio 2013 06177-004-0444002-02105
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0444002-02105
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0444002-02105
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0444002-02105
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0444002-02105
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0444002-02105
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Windows Phone SDK 8.0 - ENU 06177-004-0444002-02105
Windows Phone SDK 8.0 - ENU
ASP.NET and Web Tools 2013.1.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.0.11213.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.
JetBrains ReSharper 8.1 Full Edition build 8.1.23.546 on 2013-12-12T07:30:52
JetBrains ReSharper 8.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.
Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Build
NuGet Package Manager 2.8.50126.477
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Visual Studio Spell Checker VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type.
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools
Windows Azure Remote Debugging 1.0
Windows Azure Remote Debugging Community Technology Preview
Windows Azure Tools 2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
And I'll go with the saddest answer of all time: Have you tried a full uninstall, reboot and re-install of Visual Studio?
This will also help if the issue is as a result of an add-in or similar.
I had a lot of issues with a clean install of VS2013 on win7 (projects not loading, crashes etc). A re-install sadly was the only thing that helped. This is poor advice I know but still sometimes one of the best fixes to some VS ills.
[EDIT]
I am no fan of fixing up failed installs unless it breaks the same every time.
Refer Connect Article (For VS2012 but same issue).
This Stack Overflow question may help with the crashes. The question is for VS2008 but it looks identical. Try and reset your fonts as suggested. (I think running Devenv /ResetSettings at a minimum is not a bad idea)
I do recommend to disable Resharper. From time to time I meet a VS solution which I can't open in VS2013 with enabled ReSharper.
Tools->Options->Resharper->Suspend Now
It will be difficult to help without some information such as
- Event log for the error
- Further details of the error message ("Application cannot start" is a bit vague)
Have you rebooted since installing ?
Have you updated via windows update yet ?
Did you install it to its usual path or somewhere else ?
Did you install it as admin or under a user account ?
If its work pc is it installed locally or under a roaming profile ?
No problems on my surface pro or desktop running it as admin or standard user
but it is installed locally and was installed under my developer account but works under all accounts (test ,dev,admin, user etc)
Based on the information provided, I believe there is an issue with Microsoft Office Developer Tools specifically Outlook related.
Fix 1:
Checking your Office directory for msoutl.olb. If it is there, try running 'regtlib msoutl.olb'. You should have regtlib on your machine is part of your Visual Studio install, I believe. Anyway, reregistering the typelib will rewrite all of the necessary keys to the registry. You will need administrative privileges for this operation.
Fix 2:
Try running a program that came with Outlook - C:\Program Files\Common Files\System\MSMAPI\1033\Scanpst.exe
For more information please see this site - Click Here
Fix 3:
Try uninstalling Office Developer Tools and see if the problem persists.
Fix 4:
The other possibility is that msoutl.olb itself is corrupt, in which case reinstalling Outlook should fix the problem.
This could be windows 8 acting up. Saying that, insure that your OS is updated, new patches to fix broken stuff should be regular, i suspect a lot of broken things.
Insure that you have the correct .net framework installed and re-install it if necessary. I am not too familiar with Windows 8, i had 3 months of an unpleasant experience with it, but try to see if you can change the compatibility mode by right clicking on the .exe file.
i doubt my response would be any better than others but i felt like contributing and since no one mentioned either checking the .net framework or the compatability..
best of luck!
also i did a small bit of research into TYPE_E_cantloadlibrary and found this link, maybe you should check it out
http://social.msdn.microsoft.com/Forums/en-US/ac50fa41-8d47-4fa9-81a3-914f262676af/0x80029c4a-typeecantloadlibrary?forum=vsto
Try this:
right click devenv.exe
troubleshoot compatibility
Troubleshoot program
This program requires addition permission
Next
Test the program
Next
Yes, save these settings for this program.
This will make VS run as administrator from now on.
I ran into the exact same problem. My issue was that the 'Start Page' was fowled up.
I've edited the following:
> Tools > Options > Startup
Choose 'Show empty environment' in the 'At startup' pulldown
This fixed all my problems and can run as Administrator again.

Enabling windows azure tools to get Windows Azure project

I am trying to create a webproject which can be deployed on azure. I have VS 2010 trial version (pro) installed on windows 7. When i click cloud (under VC#) i am prompted to install Windows azure tools. I do this. I get the tools installed message. I restart VS 2010. But i fail to find windows azure web project template, which should have been installed. It just shows me the same sequence of screens (install tools etc). I am executing VS 2010 under administrator role.
Steps described # http://msdn.microsoft.com/en-us/library/windowsazure/ff687127.aspx
Questions
Is Windows azure template projects not allowed in Trial edition of VS 2010 pro?
Can such a project be made using VS 2010 express?
Thank you
Sameer
I'm not sure about trial versions, as I've never tried installing with a trial edition. However: I've run other software packages with trial versions of Visual Studio, without issue.
The SDK will work with Visual Studio 2010 Pro and above, as well as Visual Web Developer 2010 Express (downloadable here).
For installing the tools properly, I'd suggest going here and installing via Web Platform Installer. It will make sure you have all needed dependencies.

Resources