Home > Net >  With after joining the Form errors: BC30311 Visual Basic AND VB.NET a Value of type always be
With after joining the Form errors: BC30311 Visual Basic AND VB.NET a Value of type always be

Time:11-19



As seen above, the development environment VS 2019 Framework="net40
"I have with the error will appear when added to the Form: BC30311 type 'Reporting. WinForms. With' value cannot be converted to 'Control'
But when I open up a new Project to add with without error, didn't find the reason for 3 days, hope you to provide some experience for me,
If the new Project is not an error, which is not the problem such as incompatible with version, can only be a problem cause me where in the original Project,
What what cause this problem? Where to start debugging? Please guide, thank!

CodePudding user response:

Vs development environment to upgrade now
The latest VS2019 environment with the new with
The upgrade before VS environment to install it again, nor with selected installation,

Conclusion:
If just upgrade VS the development environment, you can put the upgraded the original project, the Framework into the latest version can use with the new version,
Method of adjustment framework version:
Project (engineering) - & gt; Project properties (attributes) - & gt; The compile - & gt; The advanced compile options (advanced) - & gt; The target framework

CodePudding user response:

With such, we are using VS2008 to edit,

Say more are tired,,
  • Related