vb.net Unit Test Project .NET Framework 4.8 has stopped seeing all subroutines and function in the project being tested.

John Smith 0 Reputation points
2024-04-22T05:25:41.7233333+00:00

I have created a vb.net project using .NET Framework 4.8 with a single public subroutine. Also, created a Unit Test project within the same solution and set the references in the Unit Test project pointing to the project being tested. I was able to successfully run the debug test option using break points in the main project. However, the next day the Unit Test Project no-longer was able to access or see the subroutine in the main project. I have recreated the projects from scratch however, I still could not get the unit test project to access the subroutine. It only has accessibility to constants in the main project. I even tried reinstalling Visual Studio 2022. Any idea why the unit test project no longer can access public variable or subroutines in the main project.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,735 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
351 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.