ArgumentNullException was unhandled — Parameter name: activationContext

After upgrading application from VS2010 RC to VS2010 RTM, my application stop working. I started to receive the error below, when I try to run/debug my application.

ArgumentNullException was unhandled
Value cannot be null.
Parameter name: activationContext

After doing some research online. I have found the solution.

Solution

  1. Go to your project properties [Double click on “My Project“].
  2. Click on the “Security” tab
  3. Un-tick the check-box for “Enable ClickOnce security settings

Then try to run your application again. It should work fine.

Hope you find it useful.

One thought on “ArgumentNullException was unhandled — Parameter name: activationContext

Leave a Reply