In mobile device, App works in debug mode, But Gives an error when it is deployed from app package

I tried to run a windows app in debug on mobile device, it works as expected. But when I create a package and install by enabling side loaded app, app is getting closed automatically.By adding an alert box in exception, I found that there is an issue in updating Json file.

downloadOperation = backgroundDownloader.CreateDownload(durl, file);
downloadOperation.StartAsync().AsTask(cancellationToken.Token).Wait();

It was working fine till a month ago. We had installed the app from package and worked successfully.
Does anybody have idea what the issue would be?

Sign In or Register to comment.