Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

WinRT (C++) with C# solution , Runtime issue.

$
0
0

Hi,

    I am being practicing Windows app development with VS 2015. I did a C# program which calls WinRT created by C++. 

    I have created two solution C++ RT and C#.

           1] WinRT (C++) .winwd solution (with simple class and a method)

           2] C# (Instance of C++ object created and call the method) (reference added through Solution explorer)

        I am able to build without any issue, but run time i am getting error as the class what i defined and trying to use from C++ RT not able to find.

          "An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll
           Additional information: Could not find Windows Runtime type 'RT_Com.RTClass'.

      Where it is going wrong. Any help.

Thanks,

 

          

  



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>