Reputation: 2560
I just opened the csharp version of the geolocation sample of the SDK and I would like to do a simple change: I would like that the background task save the coordinates in a sqlite db.
To do this, I added the Microsoft Visual C++ Runtime Package, the SQLite for Windows Runtime, the sqlite-net library via codeplex, and switched the target Platform from any cpu to x64
.
Trying to compile, I receive this error
Windows Runtime type 'Windows.Foundation.Point' was found in multiple
referenced winmd files. Please remove either 'C:\Program Files (x86)\
Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\References
\CommonConfiguration\neutral\platform.winmd' or 'C:\Program Files (x86)\
Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd'
from the list of referenced files.
How can I solve this?
Upvotes: 4
Views: 1134
Reputation: 459
I have heard that if you move all the SQLite code to a Windows store class library and referencing it from the background task will get rid of the problem.
my workaround is just to remove/rename 'C:\Program Files (x86)\Windows Kits\8.0\References\CommonConfiguration\Neutral\Windows.winmd' its only 18kb so I think its unlikely that ill need anything in there
Upvotes: 4