Clickonce and File Association

Hi there

I am using GoDiagram version 2.4.1.
I am having an issue relating to ClickOnce and licensing.
If I double-click on a file that is associated with my GoDiagram application from within the file-system, the GoDiagram license check form pops-up informing the user that the license for this copy of GoDiagram is invalid or has expired.
However, if I load the application that is deployed using ClickOnce and then open the associated file from within the application, I encounter no problems with licensing.
Any help would be greatly appreciated.

That is because of a bug in Microsoft’s implementation of its own licensing architecture. There’s a security exception when calling LicenseContext.GetSavedLicenseKey! Even though I reported this to Microsoft when .NET 2.0 was still in beta, they only recently fixed this.

So we had to come up with a work-around. That's why we provide you with different assemblies for use in a reduced-trust environment.
The other reason for having different assemblies is that there are some other differences in the code so that GoDiagram Win can run reasonably well with reduced permissions.
This is discussed in GoWinIntro.doc.