VS2010 complains about Microsoft.VisualBasic addiction

I have a .NET solution that I just upgraded from VS2008 to VS2010. It contains three web projects and two direct VB projects. Web projects depend on (and have a link to) one of the VB projects called BusinessLogic.

All projects are focused on .NET 2.0, but VS2010 raises the following build warning:

The following build is dependent on the .NET version. A frame that is above the target and may not load correctly at runtime, resulting in a crash: BusinessLogic, Version = 1.0.4419.22315, Culture = Neutral, PublicKeyToken = null. Dependencies: Microsoft.VisualBasic, Version = 8.0.0.0, Culture = Neutral, PublicKeyToken = b03f5f7f11d50a3a. You must either make sure that the dependent assembly is correct for the target, or make sure that the target structure you are referring to is from the dependent assembly.

As far as I understand, 8.0.0.0 is the correct version of VB for .NET 2.0, so why is this a warning? What to worry about?

+4
source share
1 answer

You need to go to the Project | Properties and check the Links tab. Check if the links you are using are .NET 2.0 or higher.

0
source

Source: https://habr.com/ru/post/1395002/


All Articles