Since converting a DSL-tools language to Visual Studio 2015, the toolbox options are gone, there are no options to add model elements to the DSL editor.
If I select the "Show All" option in the Visual Studio 2015 toolbox I see a strange "Cannot load resource" entry that I'm assuming that corresponds to the toolbox tab of my DSL.
Does anyone have any idea of what is happening here or any tips on how to diagnose how Visual Studio 2015 loads the toolbox so that I can find which is the "resource" that it cannot load?
Finally I found the solution a little by chance. This post pointed me in the right direction:
DSL designers built from migrated beta 2 solutions might have empty toolbox
The setting missing in the DSL package csproj file was the following:
<RegisterWithCodebase>true</RegisterWithCodebase>
It got lost in the transition from Visual Studio 2013 to Visual Studio 2015 while editing the projects references.
Related
I do have a TFS Project (TFS 2013) and I would like to set up my Visual Studio 2015 to work at that project. I have Visual Studio 2017 and Visual Studio 2015 installed. Now whenever I go to the main page of my Project and click "Open in Visual Studio" (like described here), Visual Studio 2017 opens. I would like to have it open in VSTO 2015. How can I select which version of Visual Studio should open?
The solution file should contain a UTF-8 signature that describes in which version the solution is to be opened. This is what's used for example to show different icons for solution files targeting different Visual Studio versions.
This signature info is also used by the Visual Studio Version Selector when opening a solution. An easy way to fix this is make sure that have the solution local on your dev machine and then right click -> open with and choose the Visual Studio Version Selector. Then pick the correct version of Visual Studio that you want to use.
This will then be honored by your browser when opening a solution since this also uses the Visual Studio Version Selector.
I am using Visual Studio 2013 Ultimate with Windows 7, and a C# / WinForms project. I have a problem that I cannot add any DLLs to the toolbox. I have already tried searching on Google for the answer, but none of the solutions work: rebuilding the project and re-installing Visual Studio both didn't work.
Even if I create a new project, I cannot drag the DLL to the toolbox or nuGet or use "Choose Item" from the toolbox. I want to use materialSkin, metroframework, and others like that.
Just in case it helps: I have installed Visual C# 2008 and Visual Studio 2010 previously; could that cause any problems with Visual Studio 2013?
Here is the error I see:
Can anyone help please?
I have a project from VS Studio 2010 that I want to work with in VS 2015. When I start this Project with VS 2015 I receive an error saying something like "compatibility-Error (Version)".
How can I successfully convert a Visual Studio 2010 project to use with Visual Studio 2015?
Without you going into any more detail about the actual error. (error numbers / screenshot) it will be very hard for any of us to give a real answer. Therefore I am going to suggest you take a look at Troubleshooting Unsuccessful Project Upgrades.
Something else to check out might be the Porting, Migrating, and Upgrading Visual Studio Projects guide
One of the key things mentioned in the 2nd link I provided is:
The following list describes support in Visual Studio 2015 and Visual Studio 2013 for projects that were created in Visual Studio 2012 or Visual Studio 2010 SP
Therefore I'd recommend upgrading the 2010 version to SP1 first. (if this is still installed that is)
One further thing to note is that if you keep the old version of Visual studio installed you can import a project which is made with an older version and skip the update. Visual studio 2015 will then use parts of the older version itself to open the project.
For details you can read How to: Upgrade Visual C++ Projects to Visual Studio 2015 page and the equally useful Installing Visual Studio Versions Side-by-Side page.
It appears that there are issues when moving from VS 2010.Net to VS 2015.Net and may require that you build the project from scratch and copy the code over. VS 2015 requires a Namespace. There are a number of designer issues on control that require the style page be used since various attributes have been removed. Something still, however, do work but you need to review the HTML, specifically things like Font and alignment. While it's a pain it isn't a big deal since it requires mostly cut and paste.
If you are having issues converting web projects the projects may have originally been created as a "web site" rather than a "web Project" . Try opening the application as a web site and see what happens. At least that may help get you to the point you can actually get to the code to convert it in VS 2015. Hope this helps.
Try to Right-click the solution, then select "Re-target solution".
We just switched over to VS 2013 and I heard that you're supposed to be able to
generate code maps for your entire application. Awesome feature indeed, that could
get new developers on our project up to speed.
Watched a couple of tutorials, but when I tried to just right click on a method
in the application, the 'Show on Code Map' context menu is missing. In fact, I
can't find anything in VS that has anything to do with Code Maps.
My version:
Visual Studio Premium 2013
I tried installing Modeling SDK for Microsoft Visual Studio 2013, but that didn't do anything.
Anyone got any ideas?
You need Visual Studio ULTIMATE to create Code Maps.
http://msdn.microsoft.com/en-us/library/jj739835.aspx
This has changed for Visual Studio 2015 and Visual Studio 2017:
The Enterprise Edition allows creating code maps.
The Community and Professional Editions can open diagrams generated in other Visual Studio editions in read-only mode.
When debugging in Visual Studio 2010 and hovering over a variable name, I'm given the option to use 3 different built-in visualizers: Text, XML, & HTML.
Here is an example of what I'm referring to:
Since I'm doing more and more work with JSON based data, is there a JSON visualizer that I can install?
Yes, use this addon on Codeplex.
archive.org - JSON Viewer on Codeplex
Overtly visible disclamer: I wrote this and I'm giving it away for free via Microsofts Visual Studio Gallery. No ads, no link to my own site or anything.
I found this thread when looking for the exact same thing but seeing that http://jsonviewer.codeplex.com/ is "A visualizer for Visual Studio 2005" i felt that it was probably to outdated for my use. So I wrote a new visualizer instead (with built in jsonlint-support!). It has been tested with Visual Studio 2012 (but probably works fine for at least 2008 and 2010) and available from Microsofts Visual Studio Gallery.
You may reference theses posts:
JSON Debugger visualizer in Visual Studio 2012
JSON Debugger Visualizer in Visual Studio 2013
Actually it does work in visual studio 2010, but you have to unblock the assemblies. In explorer right click on the DLL and view properties the is a button to unblock the assembly.
I know the question references specifically Visual Studio 2010, but at least in Visual Studio 2019, the JSON Visualizer is already integrated so you don't need any extension, I would say.
Just select the JSON Visualizer in variable's view context menu:
And then press the view button: