Manifest references file 'Bing.Maps.dll' which is not part of the payload - manifest

Error 1 Manifest references file 'Bing.Maps.dll' which is not part of the payload. C:\Users\xxx\Desktop\xxx\Applicationxx\Applicationxx\Package.appxmanifest Application7
I added this into a existing Metro application and its giving me that error, anyone has solution to it?

Go to the properties of the project and under Build, you will see Platform Target. Choose either x64 or x86 instead of Any CPU and it should be solved.
~Guo Hong

To correctly reference Bing Maps for a Metro app...
Go to: Project -> Add Reference -> Windows -> Extensions
Now, select both the "Bing Maps for ..." and also "Microsoft Visual C++ Runtime Package"
If you don't select the 2nd package, things will seem to be fine until you try to actually deploy your app.

Related

Android Studio Gradle error: Missing project_info object

basically opening this question again because the answer is outdated, as the link now redirects to Firebase:
Gradle fails building with "Missing project_info object"
I want to attach the google-services.json file to my Android Studio project, and every time I try to download it from the developers API from Google, it gives me a json file with a large name that does't correspond to the tutorial's simple "google-services" and renaming it won't work because of this error.
Downloading it creating a new project doesn't seem possible for me now as it the page gives me another error when I click Configure a Project (I already did that before but left the project there without downloading the json file directly from there, which seems to be the problem).
Where can I safely get this file, and should I rename it or? Thanks in advance.
Apparently the solution is just following the link and creating the project with Firebase:
Then create or select a project and fill it with your app data that shoul look like this (the SHA-1 key should be found in your console log when clicking the button in the image:
Then add the lines of code that should be in your build.gradle(app level one and project level one), editing them with notepadd. Finally you need to sync these Gradle files, in Android Studio : File->Sync project with Gradle Files
The tutorial is very self explatanory, but for beginners like me, this could help.

Unable to deploy Windows 8.1 App to Surface Pro 3 (DEP0700 Error)

I am trying to deploy and test a Universal Windows App to a Surface Pro 3 directly from Visual Studio 2013 (Update 4) and I am unable to launch the App (by hitting F5). I am running into the following error and not able to find a fix to it. There are a bunch of solutions of DEP0700 errors online, but none of them work for the specific sub-error message Cannot map the serial well-known device name to a device interface GUID (blah blah blah)
Here is the error that I am seeing
Error : DEP0700 : Registration of the app failed. c:\Builds\TestAppRT\AppX\AppxManifest.xml(38,6): error 0x80070002:
Cannot map the serial well-known device name to a device interface GUID for the 11156705-8b60-4c7f-a75f-f8c7516401fc_1.0.0.0_neutral__1g7p71hbj7m7y package.
Check that the device name is correct. (0x80073cf6)
Have you declared any serial communication in your AppxManifest file?
If your other apps work, your issue might be because opening/editing ApxManifest file in the designer. Try making a new solution, and edit the manifest through only through XML Editor, if required & do not open with the designer.
Reference for more information:
http://ms-iot.github.io/content/en-US/win10/samples/SerialSample.htm
"Visual Studio 2015 has a known bug in the Manifest Designer (the visual editor for appxmanifest files) that affects the serialcommunication capability. If
your appxmanifest adds the serialcommunication capability, modifying your appxmanifest with the designer will corrupt your appxmanifest (the Device xml child will be lost). You can workaround this problem by hand editting the appxmanifest by right-clicking your appxmanifest and selecting View Code from the context menu."

Referencing ZXing.Net library

I need to reference the ZXing library to scan QR codes in my Windows Phone 8 app.
I have downloaded the ZXing.Net 0.10.0.0 from the following source: http://zxingnet.codeplex.com/
However, whenever i try to add a reference to zxing.wp8.0.dll, I get an error as follows:
A reference to higher version or incompatible assembly cannot be added
to the project.
Can I please know why am I getting this error. Is there anything that I am doing wrong or missing?
Right click on the DLL in File Explorer --> Click Properties --> Choose unblock. Then try to add a reference again.
VS2012 has the absolute worst error message for when DLLs are blocked due to the fact they were downloaded from the web.
Goto
http://nuget.org/packages/ZXing.Net
Follow the instructions to install the right version you need.

How to package a HTML/Metro App for deployment outside Visual Studio 2012

Does anyone know how to package an app for deployment of a HTML/JS Metro Application outside Visual Studio. I keep hearing reference to a "Store" Menu Item, but I am using Visual Studio 2012 RC Ultimate Edition, and there is no such Top level Menu Item.
I've also tried using the command line tool with a given manifest file (the one built automatically within a build) to create an appx file, but get some esoteric error message at the end of the packaging.
Update: Command line error message
MakeAppx pack /d .\Release\AppX /p generic.AppX
The package path (/p) parameter is: "generic.AppX"
The content directory (/d) parameter is: ".\Release\AppX"
Enumerating files from directory ".\Release\AppX"
Packing 52 file(s) in ".\Release\AppX" (content directory) to "generic.AppX" (p ackage name).
Using ".\Release\AppX\AppxManifest.xml" as the manifest for the package.
Adding ".\Release\AppX\images\splashscreen.png" to the package as a payload file. Its path in the package is "images\splashscreen.png".
Adding ".\Release\AppX\images\logo.png" to the package as a payload file. Its path in the package is "images\logo.png".
Adding ".\Release\AppX\images\smalllogo.png" to the package as a payload file. Its path in the package is "images\smalllogo.png".
Adding ".\Release\AppX\images\storelogo.png" to the package as a payload file. Its path in the package is "images\storelogo.png".
.........{Cut for brevity's sake}.........
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
Update: Figured It out (Sort of)!
I dont know what happened, but I create a blank XAML/C# Metro App. When you right click on the project, you get a Store option. It still wasnt showing up on my HTML/JS Metro app project, So i created a clean HTML/JS Metro Project....and there it was, a "Store" Option.
So I opened my current, non-working project again, right clicked on the project and there it was, the "store" option. I don't know if this was a 2012 RC bug, but I will leave this question here just in case someone else runs into this.
it is under the "Project" menu.
like you had said, it might be a bug. VS2012 is still buggy at the moment.
I hit this issue too, don't know the reason, but file mapping works for me, try call:
makeappx pack /v /o /f mappingfile.txt /p yourapp.appx
Content of mappingfile.txt:
[Files]
"App.xaml" "App.xaml"
"AppxManifest.xml" "AppxManifest.xml"
"folder\file.ext" "folder\file.ext"
"***.***" "***.***"

Adding an external jar library to Intellij IDEA

I'm having a silly problem : I'm trying to add the Jsoup library (which is just an external jar) to my android application developed in Intellij Idea and it seems and don't do it right .
I put the library in the libs folder , then I went in Project Structure -> modules and selected dependencies , select add global library , select attach source and click ok.
When I write code it is able to automatically import classes and to compile , but when running I get " java.lang.NoClassDefFoundError: org.jsoup.Jsoup"
Copy the .jar file into your lib/ directory.
Right click the new .jar in the lefthand file browser in IntelliJ / Android Studio
Choose "Add as Library..."
Voila!
-Open the External Libraries node on the Left hand panel.
-Select Open Library Settings
-Project structure dialogue opens up.
Select the Libraries.
Click the "+" to browse the file.
![add external jar1
In IntelliJ IDEA 15 you can also access the Project Structure menu item from "File" item in the menu bar. Select Libraries from the list on the left. Click the "+" to browse the file, select it and you're done. It will be added to the "External Libraries" directory in your project.
Have a look at the newer artifacts section. Perhaps you don't add the JAR into your deployment properly.
UPDATE:
I'd like to update my answer based on lessons learned over the past six years since I first answered this question.
The best way to manage 3rd party JAR dependencies in Java projects is to learn Maven (my preference) or Gradle. IntelliJ has terrific integration with both.
If you combine those with an enterprise repository like Nexus you'll have no problems. Your dependencies and versions will be completely specified. Conflicts will be identified for you. Updates will be relatively simple.