I want to restart Debugging session programmatically in Visual Studio "2013 Express".
I saw some examples that can do it with EnvDTE but they are only supporting VS2010 and previous versions.
I have tried following code with different version of DTE Interface.
DTE2 myDTE = (DTE2)Marshal.GetActiveObject("VisualStudio.DTE.9.0");
myDTE.ExecuteCommand("Debug.Start"); // or Debug.StartWithoutDebugging
Is there any limitation for Visual Studio 2013 Express?
Thanks.
Murat.
I found the solution.
GetActiveObject() should be called for Visual Studio 2013 Express ("WDExpress.DTE.12.0")
So, correct flow is ;
DTE2 myDTE = (DTE2)Marshal.GetActiveObject("WDExpress.DTE.12.0");
myDTE.ExecuteCommand("Debug.Start"); // or Debug.StartWithoutDebugging
Thanks.
Related
I am trying to create setup for outlook add-in which will have some custom forms opening when setup is in progress.
I tried to find how to do it but I found it for old versions of visual studio.
Any one have any idea how we can do it in visual studio 2013 ?
See the Deploying an Office Solution section in MSDN for Visual Studio 2013.
I recently started a new job, and got a machine with Visual Studio 2013 Proffesional installed. This would be great, except the colleague that I'm working with is using Visual Studio 2010. As far as I know, there is no way to work on the same project (or solution), without having quite a lot of issues, is this correct?
And if so, is it still possible to download Visual Studio 2010 (from a reliable source)? I cannot seem to find it anywhere in my MSDN subscriber downloads. All I can find is a stuff like service packs, tools, etc. Did they terminate the support of it?
You work on visual studio 2013 but there are option to select which version of visual studio you want select 2010 and run your project.
You should be able to open Visual Studio 2013 solutions in 2010, if you install Visual Studio 2010 SP1. There is a possibility that some project types won't be supported, but the solution should open.
I have gotten quite use to being able to use lambda throughout my c# projects and in Visual Studio 2015 preview I can now use my properties as so:
public ObservableCollection<WorkspaceViewModel> Workspaces => workspaces ?? (workspaces = new ObservableCollection<WorkspaceViewModel>());
or
public string Something => something;
However when switching between Visual Studio 2015 and 2013... 2013 doesn't like them :(
Is there a way I can force 2013 to read these expressions and compile them properly, I understand MSbuild is open source now, do I have to tell 2013 to use a new version of MSbuild?
Cheers.
This is a c# 6 feature, you can get it working in VS 2013 but it seems that is no longer updated and was just used for previews.
How can I add C# 6.0 to Visual Studio 2013?
From the Roslyn site it says
You can also try April's End User Preview, which installs on top of
Visual Studio 2013. (note: this VS 2013 preview is quite out of date,
and is no longer updated)
Who knows if it will come out in VS2013 again...
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.
I originally created an ASP.NET site in Visual Studio 2010 a few years ago and it went through the VS 2010 SP1 update as well. This meant that Visual Studio 2012 opened the solution without performing a one time upgrade.
The issue I am having is that the built-in browser selector in Visual Studio 2012 is not available for this project and the settings only let you use the default browser.
When I looked in the .SLN file, the version line indicates Visual Studio 2012 (i.e. # Visual Studio 2012) and no other setting in there appears to have anything to do with this limitation.
Has anybody had this issue and, if so, can you please let me know how your overcame it?
Thanks!
You're going to have to upgrade your project to allow it to make use of Visual Studio 2012 only features. Note, if you do this you will no longer be able to open your project in earlier versions of VS.
http://msdn.microsoft.com/en-us/library/hh266747%28VS.110%29.aspx
For VS 2010 , you can install WoVS Default Browser Switcher extension
Also a related question Change default browser in Visual Studio 2010 RC