Visual Studio

Mindscape Visual Studio File Explorer

In the spirit of supporting New Zealand made I’ve just installed the free Visual Studio File Explorer Add-In from Mindscape. It’s a neat idea, and in theory it should suit my developing style pretty well. The Visual Studio File Explorer Add-in (sexy name we know, but hey, it’s self documenting) is a free Tool Window add-in for VS 2008 that provides a Windows Explorer style file system view. It’s particularly useful for performing routine file system tasks without the need to “context switch” away from Visual Studio, which can be time-consuming over the course of...

Echo Chamber++; SP1 for VS 2008 and .NET 3.5 released;

Visual Studio 2008 and .NET Framework 3.5 both had their SP1 releases a couple of days ago, but I’ve not had time to install it. So this post is basically a reminder to myself and a place to store some links. I’ve skimmed over a few people mentioning a couple of compatibility issues with the VS2008 release, so take a skim through the comments sections of these posts before installing to see if you're going to be affected or not. Link: Service Pack 1 for VS 2008 and .NET FX 3.5 released! Link: More about .NET Framework...

Identation and Readability

Somehow (and I can't remember how) I recently ended up reading the Wikipedia entry for the K&R style of indentation. K&R just seems so ugly to me – who out there loves it and feels like defending it for my benefit? Indentation styles are such a personal preference, I get that. But K&R just seems to sacrifice so much readability for what? Is it just a case that it's defenders simply can't adjust to anything else? On the subject of indentation styles, I'm wondering a lot about the default HTML formatting built into Visual Studio 2008. When I...

ReSharper 4.0 Released

Existing ReSharper users are no doubt already aware that the 4.0 release is now out. If you’ve never used ReSharper and want to check it out, then now would be a good time. The 4.0 release looks to be packed full of new features, as well as providing support for LINQ and C# 3.0 (oh and it does VB as well if you’re into that). This release also fixes a small graphical display bug which I was only getting on my XP64 system around Visual Studio window resizes. Get it here. Tags: ReSharper...

Visual Studio 2008 crashing on 64bit XP systems with ReSharper 3.1

While the above configuration probably isn't the most common out there, google provides lists of many other people who have been experiencing rather frustrating issues where Visual Studio 2008 seems to die a horrible death - either when using find and replace functionality, or (randomly) when editing css stylesheets. The latter seems to be a problem with ReSharper users only, however the former issue affects any 64bit XP system running VS2008. It turns out that this crash is the result of a bug in the Wow64 layer of Windows x64 (XP/2003 – it has been fixed in Vista...

VS 2008 Web Development Hot-Fix Roll-Up Available

Scott Guthrie posted on Friday about the release of the long awaited hotfix. Although there are a lot of issues addressed with this release, the ones I was most interested in were those around HTML Source view performance - after a quick test this morning it seems fixed. (Thanks Sonic, that's a nice way to start my Monday!) Link: Scott Guthrie: VS 2008 Web Development Hot-Fix Roll-Up Available Tags: Visual Studio , Microsoft

From the "glad it's not just me" files

Initially I thought it was possibly my work machine playing up when the Visual Studio 2008 HTML designer was crawling. I went through and applied all the usual tweaks for 2005 in an attempt to speed things up, but no joy. So I'm quite relieved to find out that it's a known bug. A hotfix is due shortly, and Scott Guthrie has promised to blog about it when it's released. Until then, it's back to Notepad for me! Woo! Tags: Visual Studio , Microsoft

Visual SourceSafe 2005 Update

For those wanting to run Visual SourceSafe 2005 with Visual Studio 2008 (hang on, does anyone actually *want* to run Visual SourceSafe?), grab the recently released update (December 13th 2007) which is a rollup pack containing bugfixes as well as improved compatibility with VS2008. Tags: Microsoft , SourceSafe , Visual Studio

ASP.NET 3.5 Extensions CTP Preview Released

Get your early dose of MVC goodness for Visual Studio 2008 here (and here for the MVC Toolkit extras). There's interesting mention of a few other items included in the extensions preview. One thing I've not followed closely is ADO.NET Data Services. The ADO.NET Entity Framework is billed as "a modeling framework that enables developers to define a conceptual model of a database schema that closely aligns to a real world view of the information". I'm very interested to see how this competes with something like LLBLGenPro (or even if that's it's intention in life). Tags: ASP.NET...

A few quick links

Joel on Software's Strategy Letter VI - On Lotus Symphony, AJAX, and history repeating itself. The post is a couple of months old now, but I missed it when it was first posted. Worth a read. What's Ailing ASP.NET Web Forms - Rick Strahl on the historical strengths and weaknesses of ASP.NET webforms (prompted by the impending release of Microsoft's ASP.NET MVC framework). Using Visual Studio 2008 with VSS (Visual SourceSafe) - basically "grab the patch", or migrate to some decent source control (yeah I added the second one in). Facebook Beacon Privacy Issues Worse Than Previously...

Parallel Extensions CTP

The December CTP of Microsoft's Parallel extensions has recently been released. Some info from the download page: Parallel Extensions to the .NET Framework is a managed programming model for data parallelism, task parallelism, and coordination on parallel hardware unified by a common work scheduler. Parallel Extensions makes it easier for developers to write programs that scale to take advantage of parallel hardware by providing improved performance as the numbers of cores and processors increase without having to deal with many of the complexities of today’s concurrent programming models. Basically a set of extensions...

SQL Command Visualizer for Visual Studio 2005

SQL Command Visualizer for Visual Studio 2005 will give you a visual representation of a SQL Command object, allowing you to work with the connection details, parameters, properties, and values. I can't remember the last time I actually worked with ADO.NET at this level, but still this could be very useful for anyone who still needs to work with SQL Commands.   Tags: Visual Studio, ADO.NET

JavaScript intellisense in Visual Studio 2008

Scott Guthrie talks about Visual Studio 2008 and it's support for JavaScript intellisense. It looks pretty slick, however I'm guessing that the computation and evaluation required to provide type inference is going to be pretty CPU intensive. Ah well - Moore's law states that we'll all have had a few computer upgrades well before 2008 right? I'm hoping that the support for intellisense within external JavaScript files means that 2008 will offer additional navigational tools - 'go to declaration' being quite a welcome addition. Navigating through large chunks of JavaScript split across multiple files can be a bit...

ReSharper 3.0 released

ReSharper 3.0 is now out of beta and available for download. So far I've installed it on both b0xes I develop on, but haven't really used it as yet. I have to confess, there's not a lot in the new release which has wowed me so far - although I'm hoping the XAML support might be useful in the near future. The addition of 'code suggestions' also sounds like something that will be quite welcomed - there were a few situations before where ReSharper would 'warn' you about things which were fairly legitimate. It'll be nice now to receive...

SQL Server Web Report Viewer Issues on Longhorn/IIS7

It seems I've come across yet another AXD related issue. This time with the SQL Server Web Report Viewer Control which was being served up via IIS7 on a Longhorn server. As soon as the page loaded I was getting JavaScript errors of 'RSClientController is undefined'. The report had been working fine on development boxes, so I was pretty sure it was either related to the deployment or IIS. In checking the source of the page I found the following entry: <script src="/Reserved.ReportViewerWebControl.axd? OpType=Resource&amp;Version=8.0.50727.817&amp;Name=Scripts.ReportViewer.js" type="text/javascript"></script> Which of course didn't exist when I pasted the URL into...

ReSharper 3.0 Beta now available

The beta release of ReSharper 3.0 is now available for downloaded. The product now features support for VB.NET (Revisualbasicer?), XAML, as well as additional productivity enhancements. ReSharper 3.0 Beta expands its versatile support of languages and technologies, providing improved functionality for C#, VB.NET, ASP.NET, XML, XAML, build script editing and integrated unit testing. In other improvements, ReSharper 3.0 brings much-awaited XML and XAML support. XML features include type completion, various navigation between tags, navigation to referenced types, basic code assistance, and live templates support. XAML features include XML editing in XAML code, all three types of ReSharper's...

C# and the Compilation Tax

I write this post at the risk of sounding like a complete and utter ReSharper fanboy. However I had a great moment while reading C# and the Compilation Tax when I went "Huh?" at a couple of paragraphs: What's particularly sad about this is that, in my experience, most C# developers think manually compiling all the time is a natural state of affairs. Well, it isn't. In VB.NET we have this clever little technology we call background compilation. Background compilation saves you the effort of all that meaningless, repetitive, mind-numbing manual compilation. It's very simple: as...

ReSharper Keyboard Shortcut of the month

CTRL-SHIFT-V. The funny thing about this shortcut, is that it's so close to CTRL-SHIFT-B that I can't believe I haven't hit it accidentally before now while building a solution. Today however, after having used ReSharper for over a year, I did hit it by accident and found out that it's basically ReSharper's version of a clipboard paste which allows you to paste any of the last 20 text items that were copied to the clipboard (from any application) into your current window. ReSharper also provides you with a simple preview window to make sure you're pasting exactly the...

From the 'why oh why' department..

Sort of following on the theme of Visual Studio customisations, here's one which I don't use: VIEmu is a piece of commercial software which provides full VI/VIM editing inside Visual Studio. There are also versions for Word & Outlook, and SQL Server 2005 Management Studio - each priced at $69.95. Ouch, however there are also a couple of package deals which mitigate the pricing somewhat. For the 3 people out there who happen to code in Visual Studio and love VI, then this is for you! On a related note, I tried to adopt gVim (a...

My Visual Studio Customisations

Every developer has their own list of customisations and tweaks which they apply to their IDE to give it that personal touch. This is my personal list of settings and customisations for Visual Studio 2005. I'm partly writing this down as a reference guide for myself lest I forget - reinstalling Visual Studio is something I try to do as little as possible, and so having a reference list is useful for those moments after a reinstall where you know something doesn't quite feel right in the IDE, but can't remember exactly which setting you've missed! I realise...

Problems Installing/uninstalling Guidance Automation Extensions and Toolkit

Installation issues surrounding the Guidance Automation Extensions and Toolkit seem pretty common, including the infamous error 2869. There are a lot of postings where people had their issues solved by simply running the installers with elevated Administrator prilleledge, either via a command prompt or .cmd file. I recently had some issues installing the Web Service Software Factory on a Vista box, and no amount of Administrator elevation would shift it. The Web Service Software factory claimed it needed GAX to be installed, however GAX was already there. The GAX uninstaller wouldn't run, giving error 2869. I tried using...

ReSharper 2.52 released

ReSharper 2.52 has been released. Although it's only a minor build, there's a nice long list of fixes as well as a change in their evaluation license model: Another maintenance release of ReSharper is here. The release includes a number of bug fixes and a new evaluation model which needs some explanation (but don’t worry, it will only make things easier for you as an evaluator!). Link: ReSharper 2.5.2 Released Link: Download ReSharper 2.52 Link: ReSharper 2.52 Release Notes Tags: ReSharper

Debugging DataSet Constraint issues

If you work with typed datasets often enough, then chances are that at some point you're going to run across this error message: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. The error message is logical enough - it tells you what's wrong. You have a dataset, and there's a piece of data which is violating it's constraints. If you have a small dataset, then you can usually spot where the problem lies quickly enough. However for larger datasets the offending table(s) and/or column(s) are usually harder...

Visual Studio 2005 Service Pack 1 (SP1) Released

This one managed to slip by me. I'm not sure on the exact release date, but looking at digg.com makes it look like it was released only a couple of days ago. There are seperate downloads for Visual Studio 2005 Team Suite (includes SP1 updates for Standard, Professional, and Team Editions of Visual Studio 2005), Visual Studio 2005 Team Foundation Server, and Visual Studio 2005 Express Editions. The version for Windows Vista (beta) is apparently coming soon. There are a lot of important fixes in this service pack, especially for anyone working with Team Suite to do load...

Visual Studio Team Edition for Database Professionals

Database change control and versioning is an incredibly important part of development which can occasionally be overlooked. While there are some good tools out there to help make this task easier, a lot of what I've seen so far has been incredibly manual. Microsoft is hoping to make this task easier with the release of Visual Studio 2005 Team Edition for Database Professionals. I guess they're hoping to make some money too. Team Edition for Database Professionals gives you a new database project, which you can use to manage your database as well as integrate it with Team...

ReSharper 2.5 released

The main enhancements in 2.5 seems to be performance related, which is always a good thing: ReSharper for Visual Studio 2005 provides performance improvements in all areas, including: Visual Studio startup time with ReSharper is close to that of Visual Studio without ReSharper The speed of typing in the editor is greatly improved, including autopopup on Code Completion More speedups for code formatting, error highlighting, Live Templates, parameter info, and more However the most useful feature I've found so...