Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Additional in "Open File in Workspace"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lio
Senior Member

25 Posts

Posted - Feb 20 2007 :  01:03:34 AM  Show Profile  Reply with Quote
I have a project where it is broken up into 2 solutions the first being compiled into a lib and the second including that lib and compiling an exe.

I want to be able to see all the files in both projects when I run "Open File in Workspace". Ie, is there a way to specify additional files that are listed there that are not in the current solution.

Thankyou in advance.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 20 2007 :  12:56:54 PM  Show Profile  Reply with Quote
Which IDE are you using?
Are both solutions part of the same workspace? I.e. do you see all of these files in the "Solution Explorer" tab in the IDE?

zen is the art of being at one with the two'ness
Go to Top of Page

Lio
Senior Member

25 Posts

Posted - Feb 20 2007 :  5:36:07 PM  Show Profile  Reply with Quote
I am using Microsoft Visual Studio 2003.

They are not part of the same 'workspace' they are 2 completely separate 'solutions', ie I do not see all the files in the 'solution explorer' of a single instance of the IDE. I see half the files in 1 project and half in the other, however want to be able to 'Open File in Workspace' of any of the files in either project.

The reason for this is that the files in 1 of the projects don't change very often so we have it compiled into a lib as a separate project. However a lot of the includes come from that project and I want to be able to open the files quickly as a reference.

Thankyou.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 21 2007 :  08:07:50 AM  Show Profile  Reply with Quote
Personally I would add the second project into the first project, and then exclude it from the build via the IDE's build menu -> Configuration Manager

This way it is available for reference, and to easily pull in and view the files, but it should not cause any issues, since the compiler has been told to ignore it. Just remember to exclude it from the build in all configurations.

zen is the art of being at one with the two'ness
Go to Top of Page

sl@sh
Tomato Guru

Switzerland
204 Posts

Posted - Feb 22 2007 :  04:46:33 AM  Show Profile  Reply with Quote
A "cleaner" solution might be to just add the shared include files to the other solution. If the include files are all within a certain directory this should work well enough. Just add them to the solution (not the project) using "add->add existing item".
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 22 2007 :  2:28:48 PM  Show Profile  Reply with Quote
That should work. So long as they are header files I don't expect the IDE to try and compile them, but you may have some interesting effects if you have precompiled header files turned on. I am not sure if this tells the compiler to compile all headers or only some of them.

zen is the art of being at one with the two'ness
Go to Top of Page

Lio
Senior Member

25 Posts

Posted - May 31 2007 :  9:09:27 PM  Show Profile  Reply with Quote
I was going to try this but left it for a while because it wasn't going to be so simple. The problem is the second solution contains 17 projects and we also use a custom build tools. These together make it very difficult to have the projects loaded in the solution without building them.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000