Problems with CAB or Clickonce

Topics: CAB & Smart Client Software Factory
Oct 21, 2005 at 11:58 PM
originally posted by: dennz


After enabling Clickince in my app which uses Composite Application Block (CAB), I have run into some problems. When I got Clickonce to deploy my app and I got it installed, I tried some different settings as it crashed on startup.

Now, my app which worked flawlessly in VS before, won't start when launching from VS. I get the following error when loading assemblies. I tried adding new references and recompiling everything etc. Nothing seems to work.
I can start the program by running it from the bin folder using explorer.

"Could not load file or assembly 'Microsoft.ApplicationBlocks.CompositeUI, Version=1.0.50630.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)"

I'm running VS 2005 Beta 2.

Any ideas?