本文介绍了如何在网站项目中创建dll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
创建DLL文件: 转到文件 - > ;新 - >项目 选择类库 编写DLL文件的代码 要将DLL文件添加为ASP.NET网站的引用: 打开解决方案资源管理器 右键单击关于ASP.NET网站的参考资料 点击'添加参考...' 转到'解决方案'(在VS 2012/2013,在VS 2010中,转到解决方案选项卡) 选择DLL文件的项目 点击'确定' To create a DLL file:
Go to File -> New -> Project Select 'Class Library' Write the code for your DLL file To add the DLL file as reference to your ASP.NET website:
Open the Solution Explorer Right-click on the References of your ASP.NET website Click on 'Add Reference...' Go to 'Solutions' (in VS 2012/2013, in VS 2010, go to the Solutions tab) Select the project of your DLL file Click on 'OK'
我是初学者我想在我的网站上添加dll文件。 有谁能告诉我如何创建dll文件以及如何在网站中使用dll fiel
解决方案在Visual Studio中:
希望这会有所帮助。
要创建一个,你可以添加一个新项目,完成所有代码并编译它。要添加到您的网站,只需在Visual Studio中右键单击您的网站,然后选择添加参考,然后浏览到您的dll。
这里有很好的解释,很好的参考。 www.c-sharpcorner/ uploadfile / mahesh / dll12222005064058am / dll.aspx [ ^ ]
i am beginner i want to add dll file in my website. can anyone tell me how to create dll file and how use dll fiel in website
解决方案 In Visual Studio:
Hope this helps.
To create one you would add a new project, do all your code and compile it. To add to your website you just right click on your website in Visual Studio and choose Add Reference and browse to your dll.Here is good reference with good explanations. www.c-sharpcorner/uploadfile/mahesh/dll12222005064058am/dll.aspx[^]更多推荐
如何在网站项目中创建dll文件
发布评论