Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stripping out ClickOnce
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Stripping out ClickOnce
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01250911
Message ID:
01250911
Views:
58
I accidently checked the Enable ClickOnce check on the security tab of the project properties. Now I'm getting the following SecurityException:

Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I am planning to deploy this by ClickOnce eventually. But I'm just learning this stuff and this has thrown me for a loop. I can't seem to figure out how to get rid of it.

The error occurs on an InitializeComponent() in my initial form.

Things I've tried:

Removing the check ... no effect.
Making the application full trust... no effect.. (surprisingly)
Removing all entries from the App.Manifest file... no effect of any kind.

What am I missing or messing up?

Richard
State of Florida, DCF
Next
Reply
Map
View

Click here to load this message in the networking platform