GetApplicationGuid returns an assembly version dependant value


The InstanceAwareApplication.GetApplicationGuid function returns a Guid value which is assembly-dependant, and takes into account the assembly version; this means that different versions of the same application can run at the same time.
While it could be an interesting scenario, it was not the expected behaviour and of course should not be the default one.
A possible solution is to mark GetApplicationGuid as virtual (and rename the function to GetApplicationId, since a Guid is not strictly required... ), providing a default implementation that computes a 'unique' string value based on the entry assembly (avoiding to use the assembly version or other values that can change often in the devlopment cycle).
Closed Nov 28, 2009 at 2:31 PM by BladeWise
The bug was fixed in [url:changeset 31551|http://wpfinstanceawareapp.codeplex.com/SourceControl/changeset/view/31551]


BladeWise wrote Nov 28, 2009 at 2:30 PM

wrote Nov 28, 2009 at 2:31 PM

wrote Feb 13, 2013 at 7:19 PM

wrote May 16, 2013 at 12:56 AM