积极答复者
WINMD项目编译设置问题

问题
全部回复
-
Hi, WillSu
欢迎您来到windows store app 开发论坛。
关于您的问题我们没有办法重现!
关于在windows store app project里面使用WindowsRuntimeComponent, 您不能直接将文件拷贝到project里面,这样是不能使用的。您必须在project里面通过Add reference的形式使用。而且您只能通过Add project reference 这种形式。选中的文件
夹应是obj文件夹里面Debug文件夹下的winmd文件。
具体步骤是:
左击Reference,选择Add Reference
在打开的窗口中选择solution下的project,然后click Browse按钮,选择obj文件夹里面Debug文件夹下的winmd文件。然后添加这个文件,这样您可以成功的使用这个WindowsRuntimeComponent。
祝您好运!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已编辑 Anne JingModerator 2013年11月1日 9:20 edit
-
Hi,
您可以上传到SkyDrive上!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later. -
已经上传完成了https://skydrive.live.com/redir?resid=99FA80783EE47103!1033&authkey=!AIMUBBb-HuyLuE8
重现步骤:
1,编译WindowsRuntimeComponent1
2,在APP1的project中add reference WindowsRuntimeComponent1中的winmd文件
3,编译app1
出现链接错误。
如果将这2个工程加入同一个解决方案一起编译就不会有问题,但是我只想提供winmd和相关文件给其他应用调用,不想提供winmd工程的源代码。
-
Hi,
这个可能是一个bug,我会寻求更专业的技术人员来帮您解答这个问题!如您所说将project加进solution的这种方式也是可以调用
WindowsRuntimeComponent的!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.