ActiveWriter for VS 2008

Monday, 26 November 2007

One of the recent additions to our toolkit has been ActiveWriter - a GUI for generating NHibernate classes and mapping files.

So before we can make the final jump to using 2008 for all our development, ActiveWriter needs to work.

Gökhan is planning an update that will work on 2008 - hopefully in a few weeks.

Wondering if it might not be too hard to do the port myself, I dove in and pointed VS 2008 at the latest source code.


I’m not an expert in the DSL tools stuff (which probably doesn’t help), but things do appear have changed a little between 2005 and 2008. I wonder if you’re better off creating new projects and copying over the content rather than just doing an upgrade.

Specifically in the ActiveWriter code, it makes use of the IVsDataConnectionsService interface. I’m not sure of the history of this interface, but it does appear that it has disappeared from the 2008 SDK.

Curiously, this interface doesn’t even appear documented in the 2005 SDK, and I’m not clear what the appropriate replacement should be.

RikMigrations (database migration)

Monday, 26 November 2007

Roy mentions RikMigrations. I too am quite ignorant about Ruby, though I am certainly aware of how popular it has become.

Something to keep an eye on which might be useful in the future.

Currently we use Red Gate’s SQL Compare to do a diff between our test and production databases. SQL Compare then generates the necessary T-SQL to modify the production schema to synchronise it to the same as test.

This works very well for us, so I’m interested as to what benefits a tool like RikMigrations would bring.

New phone

Thursday, 22 November 2007

My new phone was delivered this afternoon.

It is a HTC TyTN II.

It came in a very cool box.

I’ve unpacked it, and it is now charging.

I’m being very patient.

Visual Studio 2008 RTM - First impressions

Thursday, 22 November 2007

I haven’t done heaps with 2008 since installing it yesterday.

I did investigate opening one of our existing projects to see if I could create a 2008 solution, while leaving the 2005 solution intact so that other people could still use 2005 to work on the code. I’d read that this is possible.

I struck a problem though - it looks like this strategy doesn’t work for web applications projects.

The upgrade wizard modifies the path in the project file to where the web application project msbuild stuff gets included from. This would obviously not work for other team members who didn’t also have 2008 installed on their machines.

So it looks like the best plan is to make sure everyone on the team starts using 2008 at the same time.

I also need to confirm that all our various addins and dependencies also continue to work - things like PageMethods and ActiveWriter are good examples.

It is nice to have the IDE start without requiring it to run in Admin mode on Vista though.

.NET Framework Service Packs

Thursday, 22 November 2007

Coinciding with the release of Visual Studio 2008, there are new service packs out for .NET 2.0 and 3.0.

If you’ve installed .NET Framework 3.5, these service packs are already included.