in

dashCommerce

An ASP.NET Open Source e-Commerce Application

How to 'Exclude' these files?

Last post 06-10-2008 3:39 PM by theonlylawislove. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-09-2008 2:37 AM

    • dar
    • Top 50 Contributor
    • Joined on 06-03-2008
    • Posts 17

    How to 'Exclude' these files?

     I got following two errors:

    Error    1    Could not load type 'MettleSystems.dashCommerce.Web.admin.controls.sitesettings.header'.    E:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\admin\controls\sitesettings\header.ascx    1   

    Error    2    Could not load type 'MettleSystems.dashCommerce.Web.admin.controls.sitesettings.footer'.    E:\Waqas Dar\days\03-06-2008\dc_3.0_Source_B\Web\admin\controls\sitesettings\footer.ascx    1    

    I found the solution on thread (http://dashcommerce.org/forums/t/122.aspx) to just exclude these files from project.

    Please tell me how to exclude these files. I remove the line:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="header.ascx.cs" Inherits="MettleSystems.dashCommerce.Web.admin.controls.sitesettings.header" %> 

    from header.ascx and

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="footer.ascx.cs" Inherits="MettleSystems.dashCommerce.Web.admin.controls.sitesettings.footer" %> 

    from footer.ascx, then got more errors:(

    Regards,

    Waqas Tariq Dar 

    waqar dar
    Filed under:
  • 06-10-2008 3:39 PM In reply to

    Re: How to 'Exclude' these files?

    If you don't want to use it? Why not just delete the whole usercontrol? You can't just delete the controls declaration, because asp.net will still try to process it.

    ~Paul
Page 1 of 1 (2 items)