ISerialized .Net, C#, Scrum and agile software development

20Feb/110

Patching or updating a single dll in a release

Posted by Pål Eie

Ever had the need to update a release with a minor change to one dll? These steps allow you to update a single dll in a installation from msi etc. Note that all steps are necessary to avoid problems with mismatch in dll references, manifests etc. Trying to update a single dll without these steps normally results in the following error:

Could not load file or assembly MyAssembly, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

To avoid these kind of problems you have to make sure your dll's have the correct versions, and that all references are to the correct versions of all the assemblies (Normal problem whene using "1.0.*" as AssemblyVersion"

  1. Open you Visual Studio solution for the point of the release or todays date if there are no or few changes in the dll you want to update.
  2. Add you fix or change to your source code
  3. Go to references in the project you want to update (called project A)
  4. Delete all the references to projects in your solution (remember the names)
  5. Copy the same dll's from step 3 som programfiles or wherever you have the release installed. Copy the dll's to the bin/release folder of project A.
17Jan/110

Missing designer support for XAML and WPF in Visual Studio

Posted by Pål Eie

Today I came across the following error opening a WPF XAML file in Visual Studio:

There is no editor available for 'xxx'. Make sure the application for the file type (.xaml) is installed

You could get the same kind of error for aspx:

There is no editor available for 'xxx'. Make sure the application for the file type (.asxp) is installed

I tried upgrading to Service Pack 1 of Visual Studio, but it didn't help at all! For some strange reason there seems to be some VSPacakges that suddenly got a SkipLoading tag. You can easily solve this through the Visual Studio command prompt by typing:

devenv /resetskippkgs

This clears all SkipLoading tags added to VSPackages, normally added by users wanting to avoid loading problem VSPackages.

24Nov/100

RSSReader example code from my NNUG speech (WPF and Caliburn)

Posted by Pål Eie

November 24 I presented Caliburn and Caliburn.Micro at the .Norwegian .Net User Group community meeting in Stavanger.

In my speech I tried to sum up some of the advantages of using a robust framwork when doing developing in Silverlight or WPF, framworks like: MVVM Light, Caliburn or Caliburn.Micro.

The source code from my speech can be found at filehub.iserialized.com. The example is a fairly simple WPF application, and the GUI it selves sucks, as my focus has been:

  • Databinding
  • Core Caliburn functionality
  • The simplicity of using IoC in the combination WPF and Caliburn
22Nov/104

ISA Server error

Posted by Pål Eie

Struggled with following error yesterday:

Error

The request failed with HTTP status 407: Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to th Web Proxy filter is denied)

10Jun/103

Double-clicking Visual Studio solution files in Windows 7

Posted by Pål Eie

I guess I am not the only one annoyed by the fact that I could not open Visual Studio by double-clicking a solution file. Finally I looked into this problem and first found a simple, but not satisfying solution:

By setting Visual Studio to not run as an administrator. But if you ever tried running Visual Studio on Windows 7 without admin rights, you know this is not a satisfying solution!

11Aug/090

Version 1.0 of Windows 7 code pack

Posted by Pål Eie

Today the Windows 7 code pack version 1.0 was released. With the code pack you can start using the new features in Windows 7 from your own .Net 3.5 applications, eg. progress bars, icon overlay, Thumbnails toolbars +++

28Jul/090

Getting started with Windows 7 (Tips and tricks)

Posted by Pål Eie

One of the biggest problem with each new version of a framework or OS is getting known with all the new features and functions. I personally never have the time to sit down and read pages upon pages each time I upgrade, but today I came across a really good page with quick videos of Windows 7 tips and tricks. Short videos between 30 sec and 1,5 minute.