RE: Server controls and VS version
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 12 Dec 2005 08:03:04 GMT
Hi Salam,
Welcome.
As for the using webcontrol developed on a certain framework version (IDE)
on another framework (IDE) problem, I think it is surely error prone due to
the following reason:
1. For different .net framework though the most class library is
compatible, there still has some code which may break from one version to
another. Also, based on my understanding, asp.net 1.1 has much enhanced the
net CAS which may also make the code not work when moving between the
framework.. I've also sometimes seen some 3rd party webcontrol which
utilize some undocumented implementation feature of the .net framework, and
that no longer work when upgrade to a new framework.....(internal
implementation may change ....)
2. For web control, there also has design-time features which help us
finish the control properties or setting at design-time in VS.NET ide. And
such design-time interfaces are purely tight with VS.NET ide's version.
Thus, one webcontrol's deign-time implementation may bread when used in
another version of the VS.NET IDE...
The above things are all the common points which may bread webcontrol work
between different version of .net framework or VS.NET ide. You can try
directly declaring the control in page and run them without using vs.net
ide, if that works , the problem is caused by design-time interface
breaking..... elsewise, if it also not working at runtime, that may be
caused by some framework level incompatibility.....
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Server controls and VS version
| thread-index: AcX+MbDX7yIrWerNQTmARaiVMYNZeg==
| X-WBNR-Posting-Host: 81.56.243.244
| From: "=?Utf-8?B?U2FsYW1FbGlhcw==?=" <eliassal@xxxxxxxxxxxxx>
| Subject: Server controls and VS version
| Date: Sun, 11 Dec 2005 01:03:02 -0800
| Lines: 18
| Message-ID: <997B8435-5666-4689-BDA7-5876CB4BD089@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.vsnet.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.vsnet.general:29733
| X-Tomcat-NG: microsoft.public.vsnet.general
|
| I found some interesting server controls which works fine in VS 2003
| environment but not in 2002. Adding a reference to the dll in VS 2003 asp
web
| project works fine but when when I try to add the a refence to the same
dll
| in a 2002 VS asp project I get the folowing error :
|
| "A ref can not be added. This is not a valid assembly or COM component.
Only
| assemblies with extensions and COM components can be referenced. please
make
| sure that the file is accessible, and that it is a valid assembly or COM
| components".
|
| I am very sure that the dll (server control) was developed using VS 2003
| environment. If I am not mistaken, tghis should work in any project as
far as
| both frameworks and IDE exist on the same box. Generlly speaking, we
should
| not care in which environment the object was developed, NON?.
|
| Thanks for your ideas and workarounds.
|
| Salam
|
.
- Prev by Date: RE: VS 2003 configure for x64?
- Next by Date: Re: Tools for generating MSDN-style documentation?
- Previous by thread: RE: Crashed compilation leaves files "being used by another person.."
- Next by thread: FullRowSelect on A Datagrid?
- Index(es):
Relevant Pages
|