Do you have a reference to Framwork.dll in your vbUnitTests.vbproj? It's not
clear from what you wrote, but it sounds like that is missing.
"Paul Linville" wrote:
> I have a solution that has both c# and vb.net projects. Visual Studio 2005
> sp1.
>
> One of the lower level asseblies "Utils.csproj" is a c# project that
> references a 3rd party dll "Framework.dll".
>
> Other c# projects reference Utils.csproj (Utils.dll) just fine. However
> when referencing the Utils.csproj in a vb project in the same solution and
> trying to access a class of the Utils.csproj classes I get the error
> "reference required to assembly xxx please add one to your project".
>
> So in VBUnitTests.vbproj when calling
>
> Dim x as ObjectA
>
> And
> Utils.ObjectA inherits from FrameWork.VirtualClass
>
> That is when I get the "Reference required to Framework.dll"
>
> That particular assembly IS referenced. I see it in the referenced library
> list and intellisense works with all other classes I have tried. It only
> failes with the Utils class that inherits from a virtual class in the
> framework.dll
|