Reference to existing class library

R

Random

I have a class library that I wrote in one project, and another project (my
testing app) as a windows app. I am having difficulty adding a reference to
the class library. The class library project is in Whidbey and the windows
app is in .NET 1.1, which is why they are both not in the same solution for
testing.

I am testing WSE2 in the windows app as well, and Whidbey is not supportive
of the WSE2 install right now, so there are reasons why I am doing things
the way I am, but I still do not think I should have difficulty with a
Whidbey compiled DLL.

The error I am getting is "A reference to 'MyDLL.dll' could not be added.
This is not a valid assembly or COM component. Only assemblies with
extension 'dll' and COM components can be referenced. Please make sure that
the file is accessible and that it is a valid assembly or COM component."
 
M

Mattias Sjögren

but I still do not think I should have difficulty with a Whidbey compiled DLL.

You can't use Whidbey assemblies in an application running on v1.x of
the framework.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top