I'm trying to launch my C# app from a website and send it some query parameters like so: http://www.test.com/app.application?...t¶m2=test2
According to: http://msdn.microsoft.com/en-us/library/ms172242.aspx, I need to have this line of code:
But my app crashes. It says that (after narrowing it down) ActivationUri reference is not set to an instance of an object.
Do you know why ActivationUri would be null?
Thank you.
According to: http://msdn.microsoft.com/en-us/library/ms172242.aspx, I need to have this line of code:
Code:
string queryString = ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
Do you know why ActivationUri would be null?
Thank you.
Comment