Is there any way to move the solution without restoring any project?

I have a great C ++ solution in Visual Studio 2008 with many projects that are linked to other libraries. sometimes I want to link the solution with various libraries, and for this and create a new exe file I need to re-link the solution.

But re-linking can only be done if at least one of the projects needs to be restored. so I manually change one line in the code and change it back ...

Is there a better way to just redo the layout process?

+6
source share
2 answers

Is there no possibility in the context of the project menu? Only Project -> link only? Sorry, I just translated it from a German studio in 2008.

+9
source

You can remove exe. Thus, it needs to be rebuilt, which is a simple link.

Although, if you use different libraries, you need different headers for them, if you need to delete objects - in this case, it is probably best to dive the rebuild of the main project.

Probably the most complete alternative, but the most difficult to implement, is to touch (i.e. change the timestamp of the change) the library and headers that you want to use, and then building Visual Studio will make a minimal build.

+1
source

Source: https://habr.com/ru/post/920674/


All Articles