C
CSharper
I have a windows application that I have deployed it using click once.
Now I launch the application from web and my activationuri comes back
as null. I have checked the radio button which allows to accept
parameters through uri as well. Here is the code I have in my form
if (ApplicationDeployment.IsNetworkDeployed)
{
label1.Text = "Network deployed";
if (ApplicationDeployment.CurrentDeployment !=
null)
label1.Text = "Current deployment not null";
if
(ApplicationDeployment.CurrentDeployment.ActivationUri != null)
label1.Text = "uri not null";
string str =
ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
label1.Text = str;
}
Thanks,
Now I launch the application from web and my activationuri comes back
as null. I have checked the radio button which allows to accept
parameters through uri as well. Here is the code I have in my form
if (ApplicationDeployment.IsNetworkDeployed)
{
label1.Text = "Network deployed";
if (ApplicationDeployment.CurrentDeployment !=
null)
label1.Text = "Current deployment not null";
if
(ApplicationDeployment.CurrentDeployment.ActivationUri != null)
label1.Text = "uri not null";
string str =
ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
label1.Text = str;
}
Thanks,