Visual Studio

The internets agree: Visual Studio 2012 is a usability disaster

“Don’t put it out with your boots, Ted!”   Visual Studio is the fundamental tool used to create a good majority of the software for Microsoft’s operating systems, and has been for, well, a very long time. New releases tend to be inexorably linked to new language features or versions. Also typically, each new release …

The internets agree: Visual Studio 2012 is a usability disaster Read More »

Looking for Setup Projects in Visual Studio 2012?

There aren’t any. Microsoft quietly removed all Visual Studio Installer project types from Visual Studio 2012, instead pushing the use of InstallShield Limited Edition: http://social.msdn.microsoft.com/Forums/pl-PL/msbuild/thread/3570f0b3-53c1-4d2e-94fe-16ed7af70bbf Windows Installer Deployment: http://msdn.microsoft.com/en-us/library/2kt85ked.aspx Visual Studio 2012 New Features: Compatibility: http://blogs.msdn.com/b/zainnab/archive/2012/06/05/visual-studio-2012-compatibility-aka-project-round-tripping.aspx   There is surprisingly little information about this online. I got a chance to ask about it at TechEd …

Looking for Setup Projects in Visual Studio 2012? Read More »

Handling Invalid Enum values in a DataContractSerializer

This all started when I was trying to serialize a CodeDom graph (actually a CodeNamespace object) using a DataContractSerializer. I hit the dreaded “Enum value ‘20482’ is invalid for type…” (Note: this error was the showstopper after many other errors) The problem: System.CodeDom.MemberAttributes should have the [Flags] attribute, but it does not. the value of …

Handling Invalid Enum values in a DataContractSerializer Read More »

Getting a poorly designed ClickOnce application to Run As Administrator

(Updated 5/10/2012 – I originally claimed that it was “trivial” to make a ClickOnce app require elevation – a commenter pointed out that ClickOnce does not support the requireAdministrator execution level at all. This does not let the vendor off the hook – they should not have used ClickOnce to deploy software that requires features …

Getting a poorly designed ClickOnce application to Run As Administrator Read More »

Creating a Custom Tool (Single File Generator) for Visual Studio 2010

A Single File Generator or “Custom Tool” is a COM “extension” for Visual Studio that takes a project file as input, and spits out some code. (One example is the .settings files) Visual Studio automatically includes the code in your project, and updates it every time you save. I developed a tool that reads an …

Creating a Custom Tool (Single File Generator) for Visual Studio 2010 Read More »