Thursday, November 1, 2007, 06:17 PM - GeneralIt's time for DevConnections, Las Vegas, in the next week, chaired by Juval Löwy and Carl Franklin. Juval Löwy, from IDesign, is the man behind the C# code standard used by Code Style Enforcer, as default rules.
I'm really looking forward to this conference and to Las Vegas of course. We are about eight people from here, coming from different companies, who are attending the conference. We're leaving this Saturday and will stay for a little over a week, so hopefullt we'll experience more than just the conference, e.g. Las Vegas night life, Grand Canyon, etc.
So if any of you are going there, we might bump in to each other :)!
Sunday, March 11, 2007, 06:21 PM - GeneralI ran into this problem when making an upgrade installation of Code Style Enforcer. The problem is that Code Style Enforcer uses custom install/uninstall actions in order to locate and ensure that the correct DXCore version is installed, among other things.
When doing an upgrade installation, the old custom actions assembly is first loaded, into the AppDomain, in order to call the uninstall method for the version currently installed. When it’s time for the Install method to be called in the new Custom Actions assembly, it still uses the old assembly since that is already loaded into the AppDomain. This has to do with how the Assembly.LoadFrom method works. This is really bad, not only since the new and perhaps updated Install method won’t be called, but since the old one will execute instead.
Microsoft suggests signing the Custom Actions assembly with a strong name in order to solve the problem, but I’ve tried that without any success. Another solution might be giving the assembly different names for each new installer version, but this seems like a really ugly solution to me.
For more information about this have a look at:
I’m really not sure if this problem is entirely bound to setup projects in Visual Studio and the Uninstall and Install/Commit custom actions implemented as part of an Installer class. I will try to migrate my setup project to WiX instead and see if I can get it work as expected.
For the interested, the Windows Installer XML (WiX) is a toolset that builds Windows installation packages from XML source code. I will tell you more about it in another blog post.
Wednesday, November 1, 2006, 06:43 PM - GeneralOn Saturday I am heading down to Barcelona for some vacation, but mainly for the Tech-Ed Developers Conference. I am really looking forward to attend some mind-blowing sessions, who knows maybe I will see some of you there...
When I get back in about two weeks from now, I hope there will be a new version of DXCore available, so that we can get the last few things in to the upcoming version of Code Style Enforcer.
Wednesday, August 23, 2006, 06:30 PM - GeneralI am currently away attending the WCF Master Class with Juval Löwy, from IDesign, who actually is the man behind the C# Coding Standard that we base our default code rules on. I can truly recommend this course to anyone who wants to deepen their knowledge in the future of .NET development, which by the way is already here!
Wednesday, July 26, 2006, 05:24 PM - GeneralWell, what can I say, blogging today has become like the number one thing to do if you want to be seen, heard or simply laughed at.
I am not sure which of these three things that is the reason for me to start this blog, maybe a combination, time will tell...
One reason, probably why I started, is to spread the interest in plug-ins, or add-ins, for Visual Studio. DXCore, by a company called Developer Express, is a really good extensibility framework for these kinds of things. Did I forget to mention that it is free!!!
I myself have made a plug-in that uses DXCore for checking the code against a configurable code standard. I will tell you more about this in my upcoming blog. There will also be a special page dedicated to this project "Code Style Enforcer", where you can download the latest version.
Another hot topic of interest to me right now is the new upcoming .NET Framework 3.0, former WinFX. I am currently involved in a project utilizing WPF, which I think is a really good upgrade from Windows Forms. It is therefore very likely that some topics in this blog will be about .NET 3.0.