简体   繁体   中英

Visual Studio 2010 Multi Project Solution Add class

I'm a rookie to this sort of thing so please bear with me. I have a Visual Studio 2010 solution that is made up of 4 different projects (Windows app).

All of the dependencies are set up so they compile in the proper order when you build.

I just added a new class to one of the projects. I need to access this class from one of the other projects, but for some reason my new class is invisible to the other projects within the solution. All of the other classes in the project are visible to other projects. My new class is the only one that is not.

When you add a new class in a scenario such as mine, is there something else you need to do other than add the file with the class and then click build?

Got it.

It seems as if the secondary projects were set to go to "Release" and they were compiling to "Release", but my Main Project was looking for them in "Debug"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM