I faced some weird problem in VS2017 Xamarin Form. I created a Cross-Platform App (Xamarin Form) with .Net Standard. I got no problem when running the new blank app. But after I install the Microsoft Azure Devices Client from nuget package manager, it shows the error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Newtonsoft.Json. I installed the Newtonsoft.Json and every package that cant be found including Microsoft Azure Devices Shared, Microsoft Windows Azure Storage, Dotnetty Transport, Dotnetty codecs mqtt, and Dotnetty handlers. Then the app ran but exit before showing anything. The log is too long so I put it here.
Related
my App is not installing in my android device if another app(that app also used silicompressor nuget) is installed on my device. I have checked out with manifest file,android:authorities="${applicationId}.fileprovider" and both apps having different android:authorities name only. What is the actual problem causing this exception. Please help to resolve this Error using xamarin forms.
Mono.AndroidTools.InstallFailedException:Failure[INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/MyPackagename2-FNVNvrTmReyC06yRui516g==: Can't install because provider name com.iceteck.silicompressor.provider (in package MyPackagename2) is already used by Package1
By any chance are you using any Android X library in your xamarin forms application? Is silicompressor a library that works with the android content file provider
I followed these two docs (Doc1, Doc2) to integrate Feedback hub in my app. I used NuGet to install the Microsoft Store Services SDK.
As recommended I am using StoreServicesFeedbackLauncher.IsSupported() to check if the Feedback hub is available or not. This works locally on my machine, but in production all customers hit System.Exception with message "Method 'StoreServicesFeedbackLauncher.IsSupported()' was not included in compilation, but was referenced in HomePage.<feedback_tapped>d__23.MoveNext(). There may have been a missing assembly."
I have read the docs again and don't seem to have missed any of mentioned the steps.
Edit
This app is a Desktop Bridge app. The solution has a UWP app which communicates with a win32 exe. I am trying to launch the app from UWP app. The solution has a Windows Application Packaging project to package the app.
I have a application UWP that I downloaded for to check how managed UWP with SQLServer from here: https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/SQLServer
When I try to Build the application I got so many errors about the Windows resource is not found,,, I have the last version of VS2017 and also W10 Pro SO....
I tried to add references and reinstall nugets, change the debug type, change the Frameworks... and I don't get works....
Can you tell me what more to do?? Maybe you can download the Project and see the same error than me...
This reference is used to call UWP APIs in "SqlBridge" windows console project.
To call UWP APIs from a classic .NET Framework application, you could install UWPDesktop NuGet package
For more info, please see Calling Windows 10 APIs From a Desktop Application.
I've created a pretty simple app that uses banner ads.
App works great with debuging mode with ads test ads showing up. But when I'm creating a appxupload and uploading it to store I'm getting error.
Your package Microsoft.Advertising.Xaml specifies version 10.1707.2.0, but 10.0.0.0 is the minimum available version.
What exactly is the problem, why package is getting rejected and how can it be resolved?
According to the description of the error, you have installed Microsoft.Advertising.Xaml package which can't work on the Windows version below 10.1707.2.0 (which hasn't even been released to the general public). Your app declares that it can work on every version of Windows 10. This is in a collision.
Had the EXACT same problem. Finally got mine to work by uninstalling the MSI from https://marketplace.visualstudio.com/items?itemName=AdMediator.MicrosoftAdvertisingSDK and installing the Microsoft.Advertising.XAML from NUGET package manager. It was only 1 version earlier, but let me publish my app to the store.
I've developed an simple and small Universal Windows App that uses EF7 and SQLite. The app builds normally and it runs perfectly from Visual Studio. I also can run it directly from Windows 10 in the start menu after the I side loaded it (once the app package is generated).
My problem is that I can't test the app after it's package is generated because of an error on appcert.exe.
If I generate app package to x86 when launching windows app certification from visual studio right after the package is generated I get the error "the appxbundle could not be implanted" even before the test starts.
If I generate app package to x64 when launching windows app certification from visual studio right after the package is generated the test starts normally but before it's done I get the following error: "an unhandled microsoft .netframework exception occurred in appcertui.exe".
The appcert.exe crashes and does not tell me why.
I've searched in google and I've looked at windows log event but found nothing helpful.
I just don't know what to do. My app is finished, I can generate it´s package but I can´t generate the ".appxupload" because of this error I mentioned.
Can someone help me?
The file C:\Program Files (x86)\Windows Kits\10\App Certification Kit\binaryinfo.dll is CLSID {3866CD68-0FC3-4563-8888-E107295BC485} on my machine.
I was able to reproduce your crash by unregistering binaryinfo.dll on my machine and clicking "Validate Store App".
Maybe a fix for your issue to do register this dll (maybe all of them?).
From an administrator/elevated command prompt
regsvr32 "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\binaryinfo.dll"
How your machine got into this state...unknown.
I've made a fresh install of Windows 10 and its SDK in a virtual machine on Virtual Box. The appcertui.exe is running fine and my app was tested successfully.
It might be a problem in the installation of the .NET Framework since I updated from Windows 7 to Windows 10.
I will try to completely reinstall both .NET Framework and the SDK to solve this issue. If none of this works I will reinstall Windows 10 from scratch on my computer.