C#为dll Visual Studio添加功能 [英] C# Adding Capabilities to a dll Visual studio

查看:84
本文介绍了C#为dll Visual Studio添加功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


你好我有一个用c#制作的智能卡的测试程序,为了让它正常工作,我需要添加

    <  能力   名称  =  " SharedUserCertificates"     />   

项目Package.appxmanifest。


但问题是我需要在由c ++项目导入的dll中使用此功能。当我创建一个类型库(可移植通用Windows 8.1)的c#项目时,我认为这是我需要的,这个项目没有
Package.appmanifest,我可以在其中添加功能。显然没有c ++项目。任何人都对如何将此功能添加到此项目有任何想法。

解决方案

嗨约翰内斯,


欢迎来到MSDN论坛。


请参阅您的描述,您的问题是关于UWP项目的开发。由于我们的论坛将讨论Visual
Studio WPF / SL Designer,Visual Studio Guidance Automation Toolkit,开发人员文档和帮助系统以及Visual Studio Editor,我将帮助您将其移至相应的论坛:
Windows
和Windows手机应用
> 开发通用
Windows应用
如需专门的信息,您将从那里获得更专业的支持,谢谢您的理解。




祝你好运,


萨拉< /跨度>


Hello I have a testprogram with smartcards made in c#, in order to get it working I needed to add

 <Capability Name="SharedUserCertificates" />

in the projects Package.appxmanifest.

The problem however is that I need this functionality inside a dll that is being imported by a c++ project. When I create a c#-project of type Class Library (Portable for Universal Windows 8.1) Which I believe is what I need, this project has no Package.appmanifest where I can add capabilities. Neither obviously has the c++ project. Anyone has any ideas about where and how to add this capability to this project.

解决方案

Hi Johannes,

Welcome to the MSDN forum.

Refer to your description, your issue is about the development of UWP project. Since our forum is to discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor, I will help you move it to the appropriate forum: Windows and Windows phone apps > Developing Universal Windows apps for dedicated information, you will get a more professional support from there, thank you for your understanding.

Best regards,

Sara


这篇关于C#为dll Visual Studio添加功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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