简体   繁体   中英

Asp.Net using dll with web application project

i am developing an asp.net web application project.i have add a dll file with add reference command but i get error when i have said it Using namespace_name.

Note : i tried as Asp.Net Web site.But problem is continue.i checked framework version.

C# :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DenemePc; <-- dll file

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

ERROR:

'DenemePc' The type or namespace name could be found (are you missing a using directive or assembly reference?)

I believe I have answered a similar question ASP.NET => Compiler Error Message: CS0246: The type or namespace name 'HtmlAgilityPack'

Please set the Copy Local property to True on the Referenced DLL of DenemePc

This will copy the dll to the output directory of your application

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM