DCSIMG
Visual Studio - .NET Geek

.NET Geek

"It is upon the Trunk that a gentleman works" - Confucius

Browse by Tags

All Tags » Visual Studio (RSS)
CodeRush Plugin – Navigate to Implementation
EDIT: As of version 9.3.2 of CodeRush functionality similiar to that provided by this plugin is provided in the core product and support and builds for this plugin is discontinued... If you need assistance for earlier version of CR, just leave a comment and I'll get back to you. Instead of posting a new a post every time a new build of CodeRush (and the plugin) becomes available, I’ll start to post the binaries here by updating this post. If you are interested in the source code, you can get...
Calling the Google Closure Javascript Compiler - Code
Here’s a follow-up to the last post that contained a few screenshots showing the integration of the Google Closure Javascript compiler in Visual Studio. Since I said in the last post that I would make the source available if there was interest, I’m doing that now. The project structure is as following All of the code for accessing the compilation service is in the GoogleClosure project. Initially I didn’t have a Winform project. I split the projects for this post, realizing that some people interested...
Integrating Google Javascript Compiler in Visual Studio
Friday, Google released some of their Javascript tools. Among them the Closure Javascript compiler. Being excited that Google has released Closure (the compiler), I decided to give it a go. So late Saturday night after the party was over and the kids were sleeping, I played a little with the online UI when I saw that the compiler services are exposed through a REST web service. At that point it would be a crime to go to sleep. 2 hours later… In this screenshot you can see some compiler statistics...
CodeRush plugin "Navigate to Implementation" - binaries for CodeRush 9.2.4
For convenience, here are the binaries for the Navigate to Implementation CodeRush plugin. It is built against CodeRush 9.2.4. A detailed overview of the functionality of the plugin can be found here . The source code is available on Google Code: http://dxcorecommunityplugins.googlecode.com/svn/trunk/CR_NavigationContrib
Visual Studio Color Scheme – Done for now
After a tough last week where I spent far too much time debugging encryption keys, I needed something to relax. I haven’t tweaked my Visual Studio color settings in a while (a couple of years) so I spent a couple hours today refining them. You probably don’t want to know what I do when I’ve had a really bad week. Ok, I’ll let you know. I put on some music I like and watch Defrag. Preferably at 2 AM. I don’t know who’s idiotic idea it was to remove the graphical defrag interface from Windows, but...
Building a Lean Development Machine
The time to rebuild my development machine had arrived again. I’ve been running Vista 32 bit for about a year. I was basically happy with Vista as a development machine, but something else had bothered me over the last couple of months. All the mundane crap that was clogging my system. For example, Skype, Trillian, ITunes, Hamachi, PDF readers, MS Office … The list goes on and on… I want a super lean installation of Windows 2008 Server x64, Visual Studio 2008, Sql Server 2008 x64, TortoiseSVN, VisualSVN...
Self Installing Windows Service
Recently I had to initiate some background worker in a Windows Service. Writing a Windows Service with the built in .Net support is a no-brainer. The thing that caught me by surprise was that all the documentation states that I needed to add an installer for the service to run. After a little looking around, it turned out that it is not so difficult to create your own custom installer. I ended up writing a small class that can handle any service and thought I’d share it here. The Windows Service...
CodeRush Plugin – Navigate to Implementation Part 4
This is the last post in series on developing the navigate to an implementing method plugin. Here are links to the previous posts, part 1 , part 2 and part 3 . Just to recap, the goal of the plugin is to be able to position the caret (what most people call the cursor), on a method call on an interface variable and navigate to specific implementations of the method. In this post we’ll look at how we navigate to the correct method. The call to navigate is made when the navigation provider (part of...
Visual Studio Team System – Database Project won’t compile
We use Database Projects to keep multiple versions of our databases in sync (both schema and data). Lately I’ve encountered several annoying build errors. The cause for all of them seemed to be related to the fact that the validation database had gotten out of sync. Partial error message (so that SE can pick it up): Error 7 TSD7031: An object with name already exists in the database project… Solution: Close the database project. If the validation database is still present on the server, delete it...
CodeRush v 3.2.1 released
Despite the fact that my blog has been dominated by CodeRush stuff lately, I think this one has been anticipated enough to spend some extra ink… :-) Rory Becker (DxSquad) just announced (5 minutes ago) that CodeRush 3.2.1 has been released. If you are a CodeRush/Refactor! Pro user you can log in to the Client Center and download version 3.2.1.
The C# team engages in the battle - C# vs VB.NET
I’m not going to say a word about which is better. Why? Because in the scope of things it doesn’t matter. But you have to wonder if the right hand knows what the left hand is doing inside Microsoft. (One hand being the C# team the other the VB.Net team – you can choose) I got up early this morning to watch the recording of Anders Heijlsberg’s presentation at the PDC on the future of C#. 14 minutes into the recording I had to stop because the kids were up. I’ll watch the rest tonight, but an impression...
CodeRush for free! CodeRush Xpress for Visual Studio announced
Fresh from the DevExpress booth at PDC comes an announcement that DevExpress will be providing a significant subset of CodeRush and Refactor! Pro for free. You can see the announcement here and Mark Miller gives a more technical overview of what’s available. You can download it from the DevExpress site now. It’s not all rosy though. The Xpress version is C# only! Go figure? I was very surprised by this since CodeRush and Refactor work with both VB.NET and C# seamlessly. Did they announce the end...
CodeRush Plugin – Navigate to Implementation Part 3
In this part we’ll look at the Implementors class. As we described in part 1, a the Navigation Provider will call into our plugin twice. Once to give us the chance to make our plugin available to the user and a second time if the user selected one of our menu items. When the Navigation provider raises the event CheckAvailability we need to do two things. Check if this plugin is available in the current context. Alter the menu displayed so our options are available to the user. In step one we will...
CodeRush Plugin - Navigate to Implementation Part 2
In the previous post we just defined what we want the plugin to do. Let's start to walk through the process of creating a plugin with CodeRush. There's some plumbing that needs to be done every time you create a plugin and that is not directly related to the functionality of the plugin. For this part I'll just point you to a plugin tutorial by Mark Miller . Since our plugin will handle navigation it seems natural to hook into the Navigation provider system provided by CodeRush. Open the...
From CodeRush to Resharper and Back...
I've been using CodeRush together with Refactor! Pro from DevExpress for over a year. A few weeks back I made a decision to leave my comfort zone and use Resharper from JetBrains for a few weeks . Why? It's only when you're uncomfortable you really learn. I wanted to get a better feeling what some of my friends in the Alt.Net community is raving about when they talk about Resharper. (It is my perception that among Alt.Netters Resharper has a stronger foothold.) My CodeRush subscription...
More Posts Next page »