.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification