Compiling Custom Web Controls
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


AValiquette@neorcc.on.ca
-- Moved from [aspngdata] to [aspngcontrolsvb] by Charles M. Carroll <Click here to reveal e-mail address> --Hello,    I have a strange problem I need help with. I have created a customcontrol with VS.Net as per examples found at msdn. I have a ControlLibrary Project with one .vb file in it. When I build and try to runan .aspx file which uses the control I get an error "Could not load type SimpleControlSamples.SimpleVB from assembly myCalendar,Version=1.0.718.31898, Culture=neutral, PublicKeyToken=null."However, if I compile the same .vb file using the command line set outdir=bin\myCalendar.dllset assemblies=System.dll,System.Web.dll vbc /t:library /out:%outdir% /r:%assemblies% simpleControl.vbeverything works fine. Do I need to change the VS.NET project compilerdefaults, or something similar?Regards,Alain Valiquette
Reply to this message...
 
    
Ollie Cornes

Do you have a reference in your web project that points to the library
project?

Ollie

----- Original Message -----
From: <Click here to reveal e-mail address>
To: "aspngcontrolsvb" <Click here to reveal e-mail address>
Sent: Thursday, December 20, 2001 4:15 PM
Subject: [aspngcontrolsvb] Compiling Custom Web Controls

> -- Moved from [aspngdata] to [aspngcontrolsvb] by Charles M. Carroll
<Click here to reveal e-mail address> --
[Original message clipped]

Reply to this message...
 
    
AValiquette@neorcc.on.ca
Yes I do.

Alain

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: December 20, 2001 1:45 PM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] Re: Compiling Custom Web Controls

Do you have a reference in your web project that points to the library
project?

Ollie

----- Original Message -----
From: <Click here to reveal e-mail address>
To: "aspngcontrolsvb" <Click here to reveal e-mail address>
Sent: Thursday, December 20, 2001 4:15 PM
Subject: [aspngcontrolsvb] Compiling Custom Web Controls

> -- Moved from [aspngdata] to [aspngcontrolsvb] by Charles M. Carroll
<Click here to reveal e-mail address> --
[Original message clipped]

| [aspngcontrolsvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com