UWP和专用单元测试项目的DLL项目种类 [英] Kinds of DLL project for UWP and dedicated Unit Test projects

查看:64
本文介绍了UWP和专用单元测试项目的DLL项目种类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在VS2017中为UWP创建一个新的DLL项目,并找到两种VC ++项目

I want to create a new DLL project for UWP in VS2017 and found two kinds of VC++ projects

1 。 Windows驱动程序 - >申请 - >驱动程序的空DLL(通用)

1. Windows Driver -> Application -> Empty DLL for Drivers (Universal)

2。 Windows Universal - > DLL(通用Windows)

2. Windows Universal -> DLL (Universal Windows)

这两个项目有什么区别?

what's the difference between these two projects?

或  在什么发展要求我应该采取前一个,第二个是什么?

另一个问题是:

什么单元测试项目符合专用的DLL项目?

what Unit test project is compliant with dedicated DLL project?

我想要为新的DLL项目创建单元测试项目,

I would like to create Unit test project for the new DLL project,

我确实创建了一个"用于驱动程序的空DLL"。项目 
用于测试

and I did create an "Empty DLL for Drivers" project  for testing

for" ;单元测试应用程序",

它似乎与  "驱动程序的空DLL不兼容;项目 因为我不能在项目之间添加引用

It seems incompatible with "Empty DLL for Drivers" project  since I can't add reference between projects

用于"本机单元测试",

for "Native Unit Test",

我可以为空DLL项目添加引用,但是所有DLL中导出的方法无法链接

I can add reference for empty DLL project, but all exported methods from DLL can't be linked

并始终显示"未解析的外部符号"

and always shows "unresolved external symbols"

任何想法都会受到赞赏。

any ideas would be appreciated.

谢谢。

推荐答案

请参阅
发布指南:主题行标签
。我们应该将标签放入我们帖子的主题。

Please see Guide to posting: subject line tags. We are supposed to put tags into the subject of our posts.

每个帖子只能询问一个问题。这使得我们这些试图帮助你的人更容易,并且这使得将来需要帮助同样的人更容易。

Please ask only one question per post. That makes it easier for those of us that try to help you and it makes it easier for others in the future that need help with the same thing.

我没有任何项目在我VS的司机。你可能安装了所有东西或大部分东西而不知道它是什么,所以现在VS压倒你。最好只安装你熟悉的东西;您可以在以后需要时安装更多
。您可以忽略任何驱动程序;它们是先进的东西,所以如果你需要问它们是什么,那么你就不能这样做。

I don't have any projects for drivers in my VS. You probably installed everything or most everything without knowing what it is all for so now VS is overwhelming you. It would have been better to install only what you are familiar with; you can install more later when you need to. You can ignore anything for drivers; they are advanced stuff so if you need to ask what they are then you can't do them.


这篇关于UWP和专用单元测试项目的DLL项目种类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆