How to integrate 3rd party SDKs in C# to Windows 10 app for cocos2d-x 3.7

@zhangxm @nite @ricardo @slackmoehrle
I think the issue is that there used to be a C++/CX type project (C# with a C++ lib extension) and now it is only a C++ project. This C++/CX project was called proj.wp8-xaml.

Without a C#/CX project, it doesn’t seem like it is possible to use any ad networks (include Microsofts), Microsoft IAP, or third party C# libraries.

I think the questions to ask are:

1) Why was the C++/CX (C# with a C++ lib extension) project removed in Cocos2d-x 3.7 instead of being upgraded for Win8.1 and Win10?

2) Can the C++/CX project be added back for windows 8.1 universal and Win10 to enable integrating C# libraries such as Admob, Flurry, Parse, Microsoft IAP, Microsoft Ads, etc.?

3) Is there an alternative way to add C# libraries and [C# ↔ C++] code to the existing pure C++ Cocos2d-x windows projects?

There are other discussion about this same topic but no one has commented why there was the change to a pure C++ project.

Info about C++/CX: C++/CX Language Reference | Microsoft Learn

2 Likes