如何使用.net框架工作为Windows应用程序和移动应用程序创建单个dll [英] How to create single dll for windows application and mobile apps using .net frame work

查看:64
本文介绍了如何使用.net框架工作为Windows应用程序和移动应用程序创建单个dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用visual studio为windows应用程序和移动应用程序创建单个dll



我尝试了什么:



i希望在Windows应用程序和移动应用程序中开发应用程序我需要为Windows应用程序和移动应用程序编写单个dll

i want to create single dll for both windows application and mobile apps using visual studio

What I have tried:

i want to develop application for both in windows application and mobile apps i need to write single dll for both windows application and mobile apps

推荐答案

我认为你可以使用'可移植类库',它是Visual Studio中的项目类型,可以帮助您快速,轻松地为Microsoft平台构建跨平台的应用程序和库,可移植类库可以帮助您减少时间和开发和测试代码的成本。使用此项目类型编写和构建可移植的.NET Framework程序集,然后从面向多个平台(如Windows和Windows Phone)的应用程序引用这些程序集。



查看示例 [ ^ ]



希望有所帮助
I think you can use 'Portable Class Library', it is a project type in Visual Studio helps you build cross-platform apps and libraries for Microsoft platforms quickly and easily, Portable class libraries can help you reduce the time and costs of developing and testing code. Use this project type to write and build portable .NET Framework assemblies, and then reference those assemblies from apps that target multiple platforms such as Windows and Windows Phone.

look out this link for sample[^]

Hope it helps


这篇关于如何使用.net框架工作为Windows应用程序和移动应用程序创建单个dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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