Visual Studio
tl;dr - vsix-tools fixes the ‘Invalid Multiple Files in VSIX’ issue on the Visual Studio Gallery and lets you set vsix version numbers with Powershell.
I maintain a reasonably large project called SharpGL. This project contains two Vsix packages (Visual Studio Extensions), each of which contains project templates for Visual Studio.
If you have ever worked with Vsix files before you might have noticed that the tools for them in Visual Studio seem a little flaky - but even more so is that Visual Studio Gallery site that you have to use to upload your extensions.
Read more
If you are using the following combination of tools:
Visual Studio 2012 Visual Studio Tools for Git Nuget Then you may encounter some weird problems when trying to update Nuget packages. For me, updates regularly fail with: Recursive read lock acquisitions not allowed in this mode.
I’m lost on the root cause of this, but it does seem that the project I’m working on has files set to read-only by something regularly, perhaps Visual Studio is trying to make Git more TFS-y by locking things all over the place.
Read more
I received the following message in my inbox the other day:
‘[Uservoice declined - Bring back the basic setup and deployment project type Visual Studio Installer.’
Some readers may recall my post on the frustrating removal of the simple deployment project from Visual Studio. Unfortunately, with this message, they have closed the Uservoice request to bring back the basic setup projects (the request is at http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3041773-bring-back-the-basic-setup-and-deployment-project-).
It’s rare for me to blog or comment on products like visual studio, to complain or evangelise about features and so on, but in this case as the previous post had received some interest I thought I’d write an update.
Read more
Using Web Deploy is a nice and easy way to publish websites and web applications with Visual Studio. However, I found one thing that can be a bit of a blocker, that didn’t seem to be explained anywhere very well.
Let’s imagine I administer a webserver that hosts the site www.something.com. I’ve installed the Remote Management tools for IIS and the Web Deploy stuff, and have also configured the site to allow Web Deploy.
Read more
There have been some problems with the version of Switch uploaded to the Visual Studio Gallery. I’ve created a new version of Switch (1.4) and uploaded this - it works fine now, for Visual Studio 2008, 2010 and 2012.
You can find out more about this extension on the Switch Page.
Working on some addins lately has taught me a few really useful tricks about debugging in Visual Studio. I’ll update this post over time.
The Experimental Instance
Very useful to know - the experimental instance loads its extensions from a special folder, and debugging extensions drops them there. The location is:
%UserProfile%\AppData\Local\Microsoft\VisualStudio\10.0Exp\Extensions\
[Note: They aren’t bringing setup projects back, see http://www.dwmkerr.com/2013/06/visual-studio-deployment-projects-an-update/]
As part of Microsoft’s ongoing campaign to reduce the usability of their tools for anyone who isn’t working in exactly the way they want, Visual Studio 2012 no longer comes with the ability to create setup and deployment projects.
This is a pretty serious change. For anyone who is developing client applications, then an installer is pretty critical. Now the feature set in the VS deployment projects was fairly small - they were aimed towards making pretty basic, lean installers.
Read more
Such a useful extension that I just had to big it up - the Go Offline extension adds the following menu item:
File>Source Control>Go Offline
http://visualstudiogallery.msdn.microsoft.com/425f09d8-d070-4ab1-84c1-68fa326190f4?SRC=Home
If you use TFS in a big environment, sometimes this can save a stack of time. Thanks to Bernhard Tschirren for taking the time to write this and share it!
Loads of developers still use MFC. OK - if you're writing a new project, MFC would not be a great choice. But what if you're maintaining a 1.5 million line MFC app?
MFC support in Visual Studio has barely improved since VC++ 6.0 - in fact its got worse. Their cursory attempt to show an effort by adding support for the Ribbon Control with the MFC feature pack was not enough.
Read more
Part 3 of my series on extending Visual Studio is now available on the CodeProject:
http://www.codeproject.com/Articles/365680/Extending-Visual-Studio-Part-3-Item-Templates
In this article we look at how to create new Item Templates in Visual Studio.