Hi, i m creating a project in c++ for windows phone 8. working with visual studio 2012 and i want to add a .dll file to my project as a reference.
Did you get any solution?
If yes, please let me know.
Thanks
In C++:
As the link http://social.msdn.microsoft.com/Forums/wpapps/en-US/92a1f83e-c469-4cfe-af2c-1f6cb3b33e29/unable-to-use-c-dll-in-the-windows-phone-8-application?forum=wpdevelop said, you cannot directly add it as a reference.
In cocos2d-x, we used to create a static library or a dynamic library in windows phone, while you own the code, rebuild again. Don’t directly add the lib or dll that builds in win32, may result with unexpected error.
In XAML:
right click and select “Add Reference”, select “Extensions” tab in Reference Mangager. The dll should support wp8 first and may build in c++/cx.
Thanks.
I have created game in cocos2d-x wp8 and there is no place to add reference to project.
for example: in HelloCpp-XAML: there are two ways as following
- right click HelloCpp => “Add Reference” => “Browse” to directly add a dll in your local path.
- right click HelloCpp => “Add Reference” => “Assemblies” => “Extensions” add reference that you already install. like .msi file in this link http://msdn.microsoft.com/en-us/library/advertising-mobile-windows-phone-download-install(v=msads.20).aspx