Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15157

VS 2017 VB .NET BC30002 VB.NET Type is not defined

$
0
0
I had this working in the past but something must have changed. This could be related to a circular dependency, but I resolved that by pointing to the built DLL. Visual Studio 2017


Error I am getting:
BC30002 VB.NET Type is not defined


Things I tried:
1. Cleaning solution and re-building
2. Making sure .NET framework are identical
3. Rebooting computer
4. Posting here, but no answer yet: https://stackoverflow.com/posts/66402158/edit

Code:

Dim overlay As StudyCSharp.OverlayQuestion = New StudyCSharp.OverlayQuestion  'Object  'set it to object to avoid circular dependency
'Dim overlay As Object = CreateObject("StudyCSharp.OverlayQuestion") 'Keep to avoid early binding with circular dependency

[1]: https://i.stack.imgur.com/NGsyz.png
[2]: https://i.stack.imgur.com/4yaRb.png
[3]: https://i.stack.imgur.com/DNvay.png
[4]: https://i.stack.imgur.com/PugqW.png
Name:  NGsyz.jpg
Views: 25
Size:  30.5 KB
Name:  4yaRb.jpg
Views: 23
Size:  33.5 KB
Name:  DNvay.jpg
Views: 23
Size:  30.7 KB
Name:  PugqW.jpg
Views: 23
Size:  29.9 KB
Attached Images
    

Viewing all articles
Browse latest Browse all 15157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>