VS Solution file with main project and unit test project Sysprogs forums › Forums › VisualGDB › VS Solution file with main project and unit test project This topic contains 1 reply, has 2 voices, and was last updated by support 1 month, 1 week ago. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 11, 2019 at 13:20 #26141 MarkgParticipant Hello, We just started using visual gdb and we want to add unit tests. If I understand the examples correctly we have to create a separate solution file per project: Solution file project one (contains production code) Solution file project one unit tests (contains unit tests for project one) What I rather have is: Solution file: -Project – production code -Project – unit tests But if I do it that way it will complain about two main.cpp Could you guys help us here? October 11, 2019 at 17:07 #26144 supportKeymaster Hi, Sorry for the confusion. Although most of VisualGDB’s tutorials indeed show one project per solution, VisualGDB fully supports having multiple projects in the same solution. Please simply right-click on the Solution item in Solution Explorer and select Add->New Project to add a new VisualGDB project (e.g. a unit test project) to the existing solution. If it doesn’t work, please let us know and we will help you further. Author Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.