Visual Studio 2015 crashes on rename - crash

For some projects VS 2015 crashes when I try to rename a symbol (F2). If I create a new project it works fine, but my main task is a older project where my colleagues uses VS 2013 and there it keeps crashing.
I have found a possible solution which states that I should uncheck "Use undo transactions". The problem is that I can't find this setting in Visual Studio. Where is it? Or am I on the wrong track?

Did you already check this CodeMaid issue?
That settings you mentioned seems related to CodeMaid extension, not to Visual Studio on its own. I don't have that extension, but the options seem either to avoid Undo transactions altogether, or keep them enabled but Skip during automatic cleanup on save.

Related

Missing Intellisense in VS 2015 RC for Xaml

Having been quite spoilt by this excellent add on for VS 2013, it has come of something of a shock to find that there is absolutely no Xaml intellisense when using vs 2015 RC.
in the options I have made sure that it is selected:
and that the designer is used as the default when editing my views;
I have started and restarted Visual Studio several times and yet intellisense remains stubbornly inactive when creating Xaml ( NB it is fine when writing either VB or C# code).
Has anyone else experienced this and found a solution?. Visual Studio 2013 is still on my machine, but the two should work happily side by side, indeed my experience is that they do bar this little matter of no intellisense for xaml.
Thanks
Uncheck Enable XAML designer, restart VS; then check Enable XAML designer again and restart VS again, the Intellisense comes out. This works for me. :)
I also experienced this and my solution was to reset the environment settings using the Import and Export Wizard. Tools->Import and Export Settings. And then clicking on "Reset all settings".
Deleting the .suo file and restarting Visual Studio (20015 rc) solved this for me.

Visual Studio 2013 is not remembering references added in the solution explorer

As mentioned in the title I am having an issue with a Visual Studio Project.
I have decided to use Visual Studio 2013 (latest version through dream spark) to code with Unity 3D (also the latest version) as I am having issues with MonoDevelop crashing and I use Visual Studio for other stuff anyway so it is convenient.
I have to use an external dll for my Unity game and I find every time I start a new session the dll file is gone in the references tab in the Solution Explorer (in Visual Studio) and I have to re-add it manually. Is there some sort of global references list I can add this to to prevent that issue? I've had a look and can't find anything but I also don't know what I am looking for.

Visual Studio 2013 crashing when opening XAML

I have a C# WPF project I can open just fine in VS 2010 Ultimate or 2013 Ultimate.
I can edit it and run it from either.
When I double click the window.xaml, it crashes 2013.
I disabled then uninstalled my extensions. Still crashes.
I spent more than half the day uninstalling (uninstall is broken, btw) and re-installing VS 2013 Ultimate. Still crashes.
Per comment, here's a screenshot of the error:
Actually just tried to create a clean WPF project and it crashes the same way while attempting to create a new WPF project.
Always check this folder for any VS errors
%APPDATA%\Microsoft\VisualStudio\PUTYOURVSVERSIONHERE\ActivityLog.xml
If the folder doesn't exist or is empty, run Visual Studio with this command:
devenv.exe /log
There could be many reasons. This one for example was because of an outdated driver. There may be workarounds, however which one to use will depend on the error you see. Can you update your question with the error message?

Visual Studio Tools for Office VSTO "customization assembly could not be found or could not be loaded"

I just installed Visual Studio 2012 Ultimate and I am trying to create a managed code extension project for Excel 2010 (32 bit Office Professional Plus). I have tried using the .NET 4.0 template contained in VS Ultimate for an Excel 2010 workbook. When I create the project everything looks fine until I run it.
Excel opens and I get the error message "The customization assembly could not be found or could not be loaded. You can still edit and save the document. Contact your administrator or the author of this document for further assistance." The details section is blank.
I have tried everything I could think of to figure this out and I have run out of ideas. I removed all addins from Excel except for the VSTO Design-Time Adaptor for Excel. I removed all personal macros. I set every directory I could think of to "trusted" in Excel and lowered the security settings for all options to "enabled (not recommended)". I completely uninstalled Visual Studio and re-installed. There are no errors or warnings showing up in Visual Studio. I also checked to make sure ".NET Programmability Support" was installed for my copy of Microsoft Excel.
I would link my code but I haven't written anything. I can't even get the default template to load when I run the project. A few others at work have the same setup as me and VSTO runs fine for them using the same steps. I even had someone send me a working project but it gives me the same message when I try to run it.
Is there anything else I can check to see where the problem is occurring? I tried setting break points in the project but it is failing before it gets to any of them.
Thanks so much for your help.
I've run into the same problem with Visual Studio 2010.
I isolated the problem to an SSRS reporting link we were trying to run from the add-in. I removed all the reporting stuff (service reference, sub-dirs, etc.) - the add-in runs fine.
We just ran into this and discovered that a method had a system exception that was not handled. It was hard to track down but once the culprit method had an exception handler the customization finished loading properly.

Visual Studio 2012 MVC page doesn't update after refresh

In Visual Studio 2010 I can change cshtml file with the project running, save it, refresh the page in the browser and see my changes take effect. But, for some reason I can't see my changes when I refresh the page while running a Visual Studio 2012 project. I have to rerun the project to see my changes. Needless to say, it makes developing in VS 2012 impossible, because I can't test my changes out very quickly. So, unless, I can get this to work in VS 2012, I'll have to stick to VS 2010. Can anyone help me with this?
P.S I had installed Visual Studio Update 2 hoping that it would fix this issue, but it didn't get fixed
Tools->Options->Environment->Documents->
Checked first option with suboption
Detecked when file is changed...
Auto-load changes..
I hope after ctrl+f5 it works...
or maybe
Tools->Options->Projects and Solutions->Build and Run-> On Run, when projects are out of date
Choose Always Build