Questions tagged [winmd]

39 questions
0
votes
0 answers

Load winmd library from within UWP app using reflection

I want to load a windows runtime component (winmd file) written in c#, from our UWP app which is written in C++, using reflection. But Assembly.load() fails with exception that assembly is not found. Is it possible to load winmd based assemblies…
0
votes
1 answer

C++Winrt winmd visible in C# UWP project but not C++Winrt Project

I have some structs and enums in IDL file inside c++/winrt WRC project. This is so the data structures can be shared between C++ and C#. Add Winmd to UWP C# project and types are visible ok Then on trying winrt projects Winrt CoreApp Project builds…
IkoLogs
  • 59
  • 6
0
votes
0 answers

winmd cannot found when change configuration profile in UWP

I have a library in .winmd format and it works very well in Debug profile but when I create a new profile (copy from Debug), it throws an exception that the module cannot found. Did anyone get the same problem like me? When I changed to Debug again.…
Bui Quang Huy
  • 1,784
  • 2
  • 17
  • 50
0
votes
1 answer

Visual studio - windows 8.1 project error - error APPX1704: The .winmd file 'Windows.winmd'

I'm pretty new in c# programming and i get the above error when i try to run my project this is the full output that i…
gil cohen
  • 333
  • 2
  • 8
  • 21
0
votes
2 answers

Winmd build for a SDK using SQLite as a dependent library

I have a SDK written in C# targeting Win10 UWP apps. It uses SQLite and works perfectly on C# client apps. But can a C++/javascript app use my SDK with the SQLite dependency? A winmd (windows runtime component build) would be required in case the…
0
votes
1 answer

Unable to cast object of type 'System.__ComObject' to type 'Windows.ApplicationModel.Background.ILocationTriggerFactory

I'm building simple win phone 8.1 app which using geofence api and background tasks for controlling, when user enter/leaves some area. To register background task i implement RegisterBackgroundTask method in App class /// ///…
mshipov
  • 196
  • 1
  • 7
0
votes
1 answer

How to add WINMD reference to ControlChannelTrigger

After upgrading the project to target Windows 10, Visual Studio 2015 fails to resolve the mentioned class. According to the documentation on MSDN, I believe that I need to add a WINMD, namely…
An Hoa
  • 1,207
  • 12
  • 38
0
votes
2 answers

Compile to x64 and received System.BadImageFormatException

I have a solution with a C# project of 'library' and a project 'JavaScript' after that compiled it generates a .winmd file being taken to another project. But this project is built on x86 and I need to compile for x64, to run the application in…
user3443245
0
votes
1 answer

Cannot resolve symbol when referencing .winmd file

everyone! I am a windows phone 8.1 developper focus on Library developping. Recently I encouter some strange question. Details: I have developped a windows runtime component named "Com.AMap.Api.Maps" In my developping project,it works…
IloveIniesta
  • 342
  • 4
  • 20
1 2
3