VB errors: type or namespace not defined (but defined)

MaciejWojda
Enthusiast
Enthusiast

VB errors: type or namespace not defined (but defined)

MaciejWojda
Enthusiast
Enthusiast

I cannot build the solution because of missing definition of types, which I have defined. Does anybody have an idea what's going on and how to resolve it?

 

MaciejWojda_0-1645553265900.png

 

0 Likes
Reply
Accepted solutions (1)
208 Views
1 Reply
Reply (1)

MaciejWojda
Enthusiast
Enthusiast
Accepted solution

Well, I found where is the problem. I had also warnings like below:

The primary reference "Autodesk.Connectivity.Extensibility.Framework" could not be resolved because it was built against the ".NETFramework,Version=v4.7" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".

 

The solution is just to open properties of project and change target framework to suitable, in my case .NET 4.7.

MaciejWojda_0-1645557135889.png

I hope I can help someone with similar difficulties 🙂 

0 Likes