Visual Studio 2012 has no debugging options - c#

I'm working with Visual Studio 2012 Express (Update 4) with Windows Azure Tools 2.5. I have the Remote Tools installed for Visual Studio 2012 Express Update 4.
I'm running some WorkerRoles on Windows Azure, and I need to do some debugging on the staging version.
My understanding is that I can connect to Azure using the Database Explorer in VS and find the process and attach the debugger to it. I've been following various tutorials around the net that all say the same as this one (which is actually very well written): http://geekswithblogs.net/shaunxu/archive/2013/11/02/remote-debug-windows-azure-cloud-service.aspx
The problem I have is that when I hit publish, and go to advanced settings, there's no option to enable debugging. According to everywhere it should look like this:
But I don't have those options:
Later, when I go to the cloud services in the database explorer, and I right click on the role I want to attach to, there's no option to "Attach Debugger":
Is this a limitation of VS2012 Express?
Any help would be hugely appreciated.
Cheers,
Chris
EDIT:
As in the tutorial I have the Build Configuration set to Debug:

I realise that this may/may not help others experiencing this problem.
I solved the problem by completely uninstalling all the different versions of Visual Studio, .NET, SQL Server tools. I had tried so many different versions of things that Azure tools and things may not have been applying to the correct version.
Here's the important bit:
The version I'm working with now is Visual Studio 2012 Professional.
If re-installing doesn't solve the problem, Visual Studio 2012 Pro has these features.

Related

Is there an server explorer for Mac?

How can I use Visual Studio server explorer on my Mac there is no option like that.I have tried to use Rider but I couldn't manage it. Pleasee help
Microsoft have no plans to include this featue in Visual studio for Mac: https://developercommunity.visualstudio.com/idea/371069/sql-object-explorer-visual-studio-for-mac.html
And they recommend you use Azure Data Studio:
https://learn.microsoft.com/en-us/sql/azure-data-studio/what-is-azure-data-studio?view=sql-server-ver15
I believe there is also a extension for vscode which is similar

does visual studio express 2015 support TFS 2010?

[Update]
I understand I can use 2015 side by side with VS 2010, but we've had problems just polluting our environment. If there is a chance someone has done this, it could save me a lot of time and energy instead of going with an install only to find out it doesn't work. It's also unfortunate this isn't documented anywhere.
So just like the title says.
To give some more background we're hoping to use VS2015 with our testers to kick start using selenium, but our task/bug management is all on TFS2010.
I don't want to distort the testers' environment, neither can I play with any of our dev machines to try this out physically. A VM will just not really run on our, not so fast machines.
My google-fu didn't get me to far. The VS2015 Express features does mention TFS, but I want to know specifically if it supports TFS 2010. Additionally I found a MSDN page. This talks about the various VS and TFS versions but nothing here about VS Express
Related SO posts I found:
Visual Studio 2015 & TFS 2010 Not specific about VS express or not, no definitive answer
Visual Studio 2015 with TFS 2010 More unrelated, this is about builds going wrong
You should be able to run VS2010 and VS2015 side-by-side, but not on the same solution/project files.
Once you open an older project in 2015, a project conversion will happen. If I recall correctly, project compatibiliy started to stabilizer around VS2012, but don't quote me on that, I'd say it is not likely.
You will NOT be able to open the same project in both at the same time afaik, so it's a one-time shift that'd meet your needs.
As far as task tracking systems go, you could also opt in on VSTS and do a one-time export of your existing bugs/tasks. Shouldn't take you more than a day or so to plan and migrate those over.
You can open the project with VS2015 but it will be upgraded to a newer state. We recently done this and could not go back using VS2010. Otherwise you can version control and keep both projects, i.e. the old implementation and the upgraded one. You could try with VS2015 Community Edition.
You sure can run both versions side by side, but not on the same project. Also, the Microsoft Test Manager that comes with Visal Studio 2015 will not connect to TFS 2010. It tells you that it needs an older version of MTM. I am still working out the kinks on our systems.

Visual Studio Freezes when I try to Add a file

I have an ASP.NET MVC application that I'm working on in Visual Studio 2013 Premium. I have three projects that are underneath my solution. If I right-click on any of the folders that are immediately under my solution and choose add, the flyout from the context menu displays fine and Visual Studio continues to function normally.
If I right click on any (I've tried a few but not all) folder underneath one particular project in Visual Studio, it freezes for about fifteen minutes. The cpu and memory usage when this is going on seem pretty normal.
If I right click on any of the folders underneath the other two projects and choose Add I get the flyout to appear showing the types of things I can add to the folder and everything works just fine.
What I've tried:
Disabling all Visual Studio Extensions that can be disabled. This didn't fix it.
Starting an instance of Visual Studio in Safe mode, this does fix it.
Any idea what I can try next? I'd hate to have to manually uninstall all of the Visual Studio extensions that can't be disabled, but this seems like the logical next course of action.
As far as Extensions I have:
Application Insights Behaviors SDK (XAML)
Bing Dev. Assistant (Disabled, installed after problem started)
Find in Solution Explorer (Disabled)
Company-created Build Tools (Disabled)
Company-created Core Tools
Company-created Scaffolding Tools (Disabled)
Microsoft Advertising pubCenter
Microsoft Advertising SDK for Win 8.1
Microsoft Advertising SDK for WP 8.1 XAML
Microsoft ASP.NET and Web Tools
Microsoft Visual Studio ASP.NET MVC 5 Scaffolding
Nuget Package Manager
Productivity Power Tools (Disabled)
Release Management for VS 2013
TFS Server Power Tools for VS 2013
TFS Sidekicks (Disabled)
TFS Process Template Editor
TFS Team Collab.
TFS Work Item Type Designer
Unit Test Generator (Disabled)
Visual F#
VS Extensions for Windows Library for JavaScript
WP 8.1 SDK Integration
Workflow Manager Activities
I don't need the WP 8.1 stuff here at work, but dabble with it at home. Since I'm logged into my MSDN account in Visual Studio at both places, would it uninstall it from my home PC if I uninstall it at work?
I'm doing a little further exploration. On the project that has the problem, when I try to do an add to a folder, I'm seeing Nuget.exe get fired off every six seconds over and over again. Where would I look to see where this is set up? I assume in the .csproj file.
Thanks
I disabled and uninstalled a bunch of Visual Studio extensions, which didn't help. I then cleared my nuget cache and that solved my problem.
I had exactly the same problem apparently, in my case it was a reference problem try deleting them one by one until the it starts responding in real time, i suggest starting with 3rd party dlls.

Can't See MVC5 Project Option in VS2012 [duplicate]

I've installed Visual Studio 2013 Premium (MSDN license) on my machine. Yet, the ASP.NET Web Application template is not there (except for Version2012, which offers me MVC 4, see screenshot below):
I have uninstalled and reinstalled VS2013 three times now. I've deleted the ItemTemplatesCache and ProjectTemplatesCache folders along with running the devenv /InstallVSTemplates and devenv /Setup to no avail. I've also checked to make sure web developer tools are installed. Under the \Common7\IDE\ProjectTemplatesCache\CSharp\Web folder, I only see MVC 4 template files. Am I missing something? An extension or additional program?
Below I added a screenshot of the frameworks I have installed. Any direction or advice would be appreciated. Thank you!
Jodie.
I think that "Re-install Visual Studio from scratch" is not a solution.
I have faced with the described problem and found much faster way to fix it:
First of all, try to repair Visual Studio installation (in "Control Panel\Programs\Programs and Features" find your Visual Studio, right-click and select "Repair"). Reboot after (!).
Check if template appeared in the Visual Studio. If not, then: in the "Control Panel\Programs\Programs and Features" make sure that you have "Microsoft Web Platform Installer 4.x" installed (I have 4.6 version). If not - install it from here: http://www.microsoft.com/web/downloads/platform.aspx
Run "Web Platform Installer" (it should be here: "%ProgramFiles%\Microsoft\Web Platform Installer\WebPlatformInstaller.exe")
On the "Products" tab find the line "Microsoft ASP.NET and Web Tools 2013.1 for Visual Studio 2013" (make sure that it is not for 2012!). If line has "Add" button on the right side enabled, then click it and install the tools. Reboot PC (!) and you should have your ASP.NET project template back.
If line says "Installed", then you should repair it via "Control Panel\Programs\Programs and Features", just find "Microsoft ASP.NET and Web Tools 2013.1 -Visual Studio 2013", right-click and select "Repair"). Reboot PC (!) and you should have your ASP.NET project template back!
Cheers!
After many hours of troubleshooting, these are the steps I took to fix the issue (on Windows 7 Ultimate). I assumed it was an issue with a corrupt installation and possible problems with registry keys, so I removed any and all Microsoft development tools using the following steps:
FULL VIRUS SCAN (just to make sure this was not related to a virus or malware). I used Microsoft Security Essentials
Downloaded Microsoft FixIt to help clean up registry keys as I deleted programs. After I deleted any program or program updates, I ran this tool to verify a clean uninstall had been done
Visual Studio 2010 - Ran the Visual Studio 2010 Uninstall Utility and removed the program. Went into Control Panel > Programs > Uninstall a program > View Installed Updates and searched for 'Visual Studio 2010', then removed any updates associated with VS2010 (and ran the FixIt program after every uninstall to verify the registry keys had been wiped)
Followed this MSDN post to remove Visual Studio 2012 (paying particular attention to the 'Optional Shared Packages' and removed any and all programs under this list, again running Microsoft FixIt to verify the registry keys were wiped)
Followed this blog post from Shawn Harrison to remove all SQL server; also referenced these two MSDN posts Uninstall an Existing Instance of SQL Server (Setup) and SQL Server Files Left After Uninstall
Uninstalled Visual Studio 2013, along with all references to 'Visual Studio 2013' in programs and installed updates; used FixIt to clean up registry keys after every install
Last but not least, I removed all MVC Visual Studio-related tools, references extensions including Web Tools and Web Platform Installer
This solved my problem with missing templates :)
(I'm soooooooo grateful this was all done on an SSD, however, I think it would have taken 5x longer with an old-spinning HD)
Cheers, everyone!
Not the solution in your case, but I had a similar issue where I could not find the MVC templates. Eventually I realized that I still had .NET Framework 3.5 selected, which of course does not provide MVC... switching to .NET Framework 4.5 let me find the MVC templates again.
You already had 4.5 selected in the screenshot, but I'm just posting this here for others who might make the same mistake as I did.
Don't forget to check that "Microsoft Web Developer Tool" was actually enabled during installation see this related stackoverflow question: How do I open a csproj with ProjectTypeGuids 349c5851-65df-11da-9384-00065b846f21?
"Microsoft Web Developer Tool" that was the problem for me
Have you tried updating the gallery
Tools>Extension and updates> Templates
To get up and running you could click Version 2012 under Web and get to the stock web applications templates which will provide you upto MVC 4
For MVC 5 you can either download Visual Studio 2013 Express Web, it roughly has the same ASP.NET features at Premium on MSDN License.
Update for Studio 2013:
Make sure you install express for Windows and not express for Windows Desktop. The Desktop version does not have the Web templates.
I had a similar issue with VS 2013 Web Express Update 3. After reinstalling stuff all week its fixed. I had to uninstall VS, delete the "Microsoft Visual Studio 12.0" directory, and reinstall VS. There are other workarounds that are more precise.

Unable to create new project in TFS2012 from VS2010

I'm at a loss.
I've installed a fresh instance of SQL Server Express 2012, loaded a fresh install of TFS2012. I attempted to hook my copy of VS2010 and I can't create a new project.
I started here and installed the service packs, the updates and the compatibility packages. I made myself an admin (of everything) from the TFS2012 console. When I go to to create a new project from the Team Explorer I get the TF30172 error.
My permission window
I'm flummoxed. I just ran this again. Anyone have any suggestions?
As far as I know Visual Studio 2010 can connect to TFS 2012 for development activities, but cannot directly create team projects for 2012. In fact, many administrative tasks (create Team Projects, build definitions, etc) in 2012 don't work from a 2010-based Team Explorer.
The solution is to upgrade to VS2012 or later, or to install Team Explorer 2012 to create team projects while continuing to use VS2010 for development.
Sadly Microsoft doesn't really declare this anywhere so it can be hard to find the answer.
See also: Can't create Team project in tfs 2012 using visual studio 2010
Visual Studio 2010 can't work on TFS 2012. Installing the latest VS.NET should solve this. Generally, the rule of thumb is, new versions are backwards compatible. So VS.NET 2010 can connect to 2010/2008/2005 etc. VS.NET 2012/13 can connect to 2013/2012/2010/2008/2005. But connecting from 2010 to 2012 won't work.

Categories

Resources