Category: Visual Studio

HowTo: open all files from the Find Results window

Here’s a quick Visual Studio tip for you… I frequently search for a specific text in my solution because I need to do something in all places where that text occurs. Today I found out how you can open all the files that are mentioned in the Find Results window. Search for the text you’re …

Read More “HowTo: open all files from the Find Results window”

Patches available for scrolling context menu in Visual Studio 2010

The past couple of days I’ve been experiencing some issues with the context menu for my Solution Explorer in Visual Studio 2010. It contained scrollbars even when there was sufficient space on the screen to show the menu without scrolling. Searching for that issue I immediately found this blog post on The Visual Studio Blog. …

Read More “Patches available for scrolling context menu in Visual Studio 2010”

HowTo: have Visual Studio open XAML documents in code view

Just a small post to start the new year… and let it be a good one! When opening a XAML document in Visual Studio, it opens in split view by default. This might become annoying when you have a large XAML document, because all the content needs to be rendered before you can get some …

Read More “HowTo: have Visual Studio open XAML documents in code view”

Visual Studio: Zero-impact Projects & Cutting/copying empty lines

Yesterday I remembered two Visual Studio options Sara Ford told about in a presentation of her I attended a while back. Changing them made me happy… 🙂 Zero-impact projectsWhen I have to test something real quick, I tend to create a new project in Visual Studio and scribble some code to test whatever I want to test at that point. This …

Read More “Visual Studio: Zero-impact Projects & Cutting/copying empty lines”

Visual Studio 2010: Close all documents

Sometimes it’s the little things that make you love a new product just a bit more. I tend to close stuff I don’t use anymore fairly quickly. Sometimes I even close an Explorer window or an application right after I used it, only to find I need it again in a few moments… We all …

Read More “Visual Studio 2010: Close all documents”

Visual Studio 2010 and the web.config

While working with Visual Studio 2010, a new feature caught my eye that isn’t communicated (strongly) in the “What’s new” lists you can find online. As part of the Visual Studio 2010 supports  multiple web.config files! Now we can create a separate web.config file for each configuration we have for our application. If you add …

Read More “Visual Studio 2010 and the web.config”

“The project location is not trusted”

After installing Windows 7 and Visual Studio 2010 on my laptop, I ran into the well-known message “The project location is not trusted”. I thought all I had to do was follow the instructions in this MSDN article to get my development share to be trusted again, but this doesn’t seem to work. I already …

Read More ““The project location is not trusted””

In this mode, command line arguments will not be passed to the executable

When trying to pass some command line arguments to a Console Application, I got the following message: “The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want to continue debugging anyway?” (see image) I …

Read More “In this mode, command line arguments will not be passed to the executable”

Installing my laptop after a repair

I’m reinstalling my laptop after I got it back from a repair… EMPTY (grrr). What tools shouldn’t I forget when preparing this laptop to be my development machine? Already have Visual Studio, SQL Management Studio, Office and the Windows Live tools installed… (and of course I have all kinds of tools at hand from my …

Read More “Installing my laptop after a repair”

Clicking ‘Choose items’ on the toolbox crashes Visual Studio 2008

I’ve had my current installation for a few months now, and I’ve used it for development purposes. Today I suddenly encountered an error when trying to add items to the Toolbox. Visual Studio 2008 simply disappeared… No errors, no warnings, it just went away. After some searching and a lot of trying, I found that …

Read More “Clicking ‘Choose items’ on the toolbox crashes Visual Studio 2008”

Nice new addition to ASP.NET

Scott Guthrie posted about a cool new ASP.NET server control: Chart. It can be used for free with ASP.NET 3.5 to enable rich browser-based charting scenarios. Read more over here: http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx

Ajax Control Toolkit controls don’t show up in Visual Studio toolbar

Because I stopped working at Avanade and started my own company (this web site is under construction and in Dutch), I had to buy and install a new laptop. Everything went great and I was up and running in half a day. Or should I say half an evening… 😉 The next day I wanted …

Read More “Ajax Control Toolkit controls don’t show up in Visual Studio toolbar”

StyleCop v4.3 now available

StyleCop version 4.3 was released last tuesday. A short summary of what version 4.3 brings us:  Various bugfixes, including fixes for VS integration issues Rules documentation is included and integrated into VS “Show Error Help” New rules, see blogpost for the rules Branding change from Source Analysis to StyleCop LinksStyleCop blog: http://blogs.msdn.com/sourceanalysis/Release announcement on the …

Read More “StyleCop v4.3 now available”

Cool tool: DebugView

Taken from the SysInternals website: The SysInternals web site was created in 1996 by Mark Russinovich and Bryce Cogswell to host their advanced system utilities and technical information. Microsoft acquired Sysinternals in July, 2006. Whether you’re an IT Pro or a developer, you’ll find Sysinternals utilities to help you manage, troubleshoot and diagnose your Windows …

Read More “Cool tool: DebugView”

Running code analysis on a custom stsadm command gives errors CA0052 and CA0055

When you want to implement a custom stsadm for SharePoint, all you realy have to do is implement the Microsoft.SharePoint.StsAdmin.ISPStsadmCommand interface. Because I develop on a machine with no SharePoint installed, I (only) copy the assemblies I need to develop locally. For the stsadm command I was working on recently (more on this in a …

Read More “Running code analysis on a custom stsadm command gives errors CA0052 and CA0055”