将项目添加到 Visual Studio 2010 中的项目 [英] Adding projects to a project in Visual Studio 2010

查看:34
本文介绍了将项目添加到 Visual Studio 2010 中的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用托管 WiFi 的应用程序.通常我只会将 .dll 添加到项目中,但这个库是作为常规 VS 项目提供的.我如何在我的程序中使用它?我尝试将 Interop.sc 和 WlanApi.cs 添加到我的项目中,但无法识别 WiFi 类.

I'm developing an application that uses Managed WiFi. Normally I would just add the .dll to the project, but this library comes as a regular VS project. How do I use it in my program? I tried adding Interop.sc and WlanApi.cs to my project, but WiFi classes are not recognised.

推荐答案

只需将 ManagedWifi 项目添加到您的解决方案中,然后从您的主项目中引用 if(添加引用 → 项目选项卡).

Just add the ManagedWifi project to your solution and then reference if from your main project (Add reference → Projects tab).

这篇关于将项目添加到 Visual Studio 2010 中的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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