When I open any .css file in any project in Visual Studio 2012, it immediately crashes.
I've tried restarting my computer, reinstalling Visual Studio, installing a Visual Studio update and uninstalling all of my Visual Studio extensions.
The problem started this morning - last night I had a power outage and my computer, which was running Visual Studio at the time, crashed.
I wish I could supply more details but this is all I have. The problem isn't specific to a project or a file, but (AFAIK) only to .css files.
Edit: Running Visual Studio in Safe Mode fixes the problem in some projects but not in all - specifically, in a standalone, standard website project I can edit .css files fine, but in my TFS-hosted team project I can't, which is making it impossible for me to work.. When exiting safe mode, .css files in general crash Visual Studio.
To clarify: The problem isn't that Visual Studio gives me some sort of error message when I try to load a .css file, Visual Studio just crashes. I've tried reinstalling, restarting, and repairing, nothing works. There have been similiar complaints that I've found but they all have something to do with some extension messing Visual Studio up.. The only extensions I had were Web Essentials and Resharper, both now uninstalled, and they worked fine until this morning.
i think it's better to try Visual Studio reset. Do you tired using any other software like Dreamweaver?
Related
I'm starting to work with Phonegap and I've installed Visual Studio with Apache Cordova Tools.
I can create new Cordova project and change the project files. I can save the files it works well untill I run the project in debugger. After I stop the debugger and edit the project files every save takes about a minute - extremely slow.
I've downloaded an excample project form Microsoft site and I see the same problem with files save.
Does anybody familiar with the problem? Maybe I have to chang something in the Visual Studio configuration?
Try turning off ripple. That seemed to help me
I have error in my project
that is
The "ResolveComReference" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Tasks.v12.0' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Build.Tasks.v12.0'
Can anyone help me regards this. I got stucked
I am using VS2012 and microsoft office 2007
This problem usually occurs as a result of a multi-program corruption involving Microsoft Visual Studio 2012, other Visual Studio versions, and Microsoft Web Tools for Visual Studio 2012.
Reinstalling Visual Studio is known to fix it, but however many victims of this issue have said that this doesn't fix the issue.
Instead copying the files from
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web
over to
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web
seems to fix the problem in the majority of similar cases.
Other possible fixes:
Uninstall Web Tools 2013 and reinstall the Web Tools and Web Tools Extensions from here
Situation:
I installed Visual Studio 2012 on top of my previous Visual Studio 2010 Ultimate. I uninstalled VS2012 shortly thereafter along with all SQL 2012 database junk and yadda yadda. Everything in VS 2010 seems to be good, but when I try to open my web.config file VS hangs indefinitely.
Tried:
(1) Downloading and replacing the dsref80.dll that gets overridden by VS2012
(2) Uninstalled all VS extensions, including NuGet
(3) Created new website and web.config file. Problem persists
Question: Does anyone have any other ideas about what could cause the web.config file to cause VS2010 to hang and crash after clicking on it?
I figured it out. For some reason the web.config file was set to open with source code editor by default and not the HTML editor.
For anyone else who runs into this issue, the answer is simple.
Right-click the web.config file ---> Open with ----> Highlight HTML Editor ---> Set as Default.
Update (Dec, 2013): Although I was able to access the web.config file using the method mentioned above, I later realized that it was more of a Band-Aid than a solution. Using the html editor causes a lot of validation warnings and renders intelliSense useless. The correct solution is to run the repair option from the Visual Studio 2010 install DVD, that fixes everything.
I am unable to open any CSHTML files in any ASP.NET MVC solution as VS2010 consistently crashes.
I am running Visual Studio 2010 Premium on Windows 7 Ultimate x64 SP1. Repairing the installation doesn't fix the issue. Anyone know how to resolve this?
Running the following command from the command line helped me resolve my issue with VS crashing on opening .cshtml files:
devenv.exe /ResetSkipPkgs
The /ResetSkipPkgs switch is documented here and has helped several other people resolve all kinds of problems with VS.
Recently I've upgraded from Visual Studio 2008 to Visual Studio 2010, however I'm having various problems when uploading my compiled web site to the live area. I'm doing exactly the same as I would have done with Visual Studio 2008, however, now I receive errors such as:
{filename}.aspx is not a pre-compiled file
masterpage.master does not exist
All these errors don't make sense. Has anyone encountered these problems before, and was a solution ever found?
Try run the Clean Solution command from the Build menu on your solution.
Try diagnosing by publishing to a brand new IIS location. Perhaps there are files from your VS2008 build that aren't being overwritten by your VS2010 build.
Are all the files present in the bin directory as you'd expect?
Is there an PrecompiledAppConfig.config file in the root?
You can run the Clean command by selecting Build -> Batch Build. You will see the options Build, Rebuild, and Clean in the dialog box.
The web site does not have to be created in IIS in order to use the Batch Build dialog.
Hope this helps,
Rick
you probably have not created an application or virtual directory on your server.
use IIS Manager to create it