如何在一个XAP版本中混合两个项目(一个纯C ++本机项目,一个C#项目)

如何在一个XAP版本中混合两个项目(一个纯C ++本机项目,一个C#项目)

问题描述:

我有两个项目

1.一个被创建为新项目"Windows phone direct3D App(仅限本地)"

1. one is created as new project "Windows phone direct3D App (native only)"

2.第二个项目是"Windows Phone应用" (C#)

2. the 2nd project is "windows phone app" (C#)

我在一个解决方案中添加了两个项目,并希望生成一个XAP来包含两个内置二进制文件.

I added the two projects in one solution and want to generate one XAP to include both built binaries.

如何实现这一目标?非常感谢.

How to achieve this? Thanks very much.

您的XAP只能包含一个应用.

Your XAP can include only one app.

如果要包含本机模块和C#模块,则可以将本机模块构建为要包含在C#应用程序中的组件.

If you want to include a native module and a C# module you would build the native module as a component to include in the C# app.

-Rob