Can't run ClickOnce
I can't seem to run ClickOnce applications (or at least the ones I've created). It seems AppLaunch keeps crashing when I try to run the ClickOnce app. When I go to the directory that all the files are saved, and run the main app, it runs just fine. Haven't tested any other ClickOnce apps, or had other people test mine yet, not sure the problem.
[357 byte] By [
Zhila] at [2007-12-16]
Hi,
Can you provide more details about the error AppLaunch crashes with. Is it a crash or an exception that get propogated to Applaunch. My guess it that you are doing some high trust operation in the constructor of the application. For e.g. if you are attempting to create a file in the contructor, it will throw an exception as the app is running in partial trust. If you don't handle the exception it will be passed on to AppLaunch.
Thanks,
Sameer
I had the application to install with full trust. Actually, the problem is gone now, have no idea how it got fixed, other than the fact I switched it from saying LocalIntranet to Internet, and I used Visual Studio to publish rather than msbuild (previously I wasn't able to publish with Visual Studio.