PC Review


Reply
Thread Tools Rate Thread

Assembly Error!!

 
 
Vai2000
Guest
Posts: n/a
 
      3rd Jan 2007
Hi All, I have a .net 2.0 assembly which uses generic etc...If I try to add
it into my other project [vs.net 1.0] on a different machine which just has
1.0 framework installed, it throws error saying !!

"A reference to the foo.dll couldn't be added. This is not a valid assembly
or a COM Component. Only assemblies with extension dll and COM Components
can be referenced"

How do I rectify this solution, I have to use this in my 1.0 framework
Project


TIA!


 
Reply With Quote
 
 
 
 
Dustin Campbell
Guest
Posts: n/a
 
      3rd Jan 2007
A .NET 2.0 assembly cannot be loaded under framework 1.0 or 1.1. The 1.0/1.1
..NET runtime simply has no way to understand it.

Best Regards,
Dustin Campbell
Developer Express Inc



 
Reply With Quote
 
Jianwei Sun
Guest
Posts: n/a
 
      3rd Jan 2007
Vai2000 wrote:
> Hi All, I have a .net 2.0 assembly which uses generic etc...If I try to add
> it into my other project [vs.net 1.0] on a different machine which just has
> 1.0 framework installed, it throws error saying !!
>
> "A reference to the foo.dll couldn't be added. This is not a valid assembly
> or a COM Component. Only assemblies with extension dll and COM Components
> can be referenced"
>
> How do I rectify this solution, I have to use this in my 1.0 framework
> Project
>
>
> TIA!
>
>


1> Install 2.0 framework on that machine.
2> Only use .Net 1.0 features in your dll, and use .Net 1.0 compiler to
compile it.
3> I will be surprised if somebody comes out the third choice.

HTH.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in install package: Error 1001. Unable to get installer types in the Inv2_web.dll assembly Monty Microsoft ASP .NET 1 21st Jan 2008 03:04 AM
Error 1935. An error occurred during the installation of assembly. =?Utf-8?B?V2ZlZw==?= Windows Vista General Discussion 4 3rd Dec 2007 05:36 AM
[Assembly] gives "Type 'Assembly' not defined" error PKuhne Microsoft VB .NET 2 3rd Jul 2005 12:35 PM
Assembly loading error "manifest definition... does not match assembly reference" Gary McGill Microsoft Dot NET 3 24th May 2005 01:58 PM
Error creating assembly manifest: An internal error occurred. Seth Microsoft Dot NET Framework 2 26th Oct 2004 04:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:12 PM.