none
This project is out of date - Why?

    Question

  • I have a (VS 2013) solution with ~100 Projects (c++/cli/c#), and there is something wrong with one of the c++ Projects within. Every time i try to run the Debugger (F5), i get a message that says "This Project is out of date", "Would you like to build it?".

    Now, i can do any of the following:

    - Answer yes, (and the Project gets build automatically)
    - Cancel, and build the Project manually
    - Cancel, and rebuild the complete solution

    In any of These cases, the Project builds successfully. However, the next time i try to start the Debugger, the same message about the Project beeing out of date appears.

    I've already looked and found several other People with the same message, but none of the Solutions to their Problems applied. (e.g.: i'm not running as 'user' but Need an admin account, and i also do not have a custom build step for that Project. [although i do have one on for the solution.])

    I've also run the build with "detailed" logging: However, as the Project build successfully, i couldn't find any helpful info there.

    Is there any way to find out what makes vs think this Project is out of date? Any other suggestions how i might get rid of this?

    WM_THX
    -thomas woelfer


    http://www.die.de/blog

    Monday, January 13, 2014 10:44 AM

Answers

All replies

  • Hi Thomas,

    Please change the settings under TOOLS->Options->Projects and Solutions->Build and Run.

    Reference:

    http://msdn.microsoft.com/en-us/library/cyhcc7zc.aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 14, 2014 6:35 AM
  • Jack,

    i don't understand in what way any of these options would help me to find out, what makes vs think the project is out of date. With these options, i can make it discard the message box, or use the old build etc - but what i want to know is, _why_ it thinks a project is out of date so i can correct this problem.

    WM_THX
    -thomas woelfer


    http://www.die.de/blog

    Tuesday, January 14, 2014 9:25 AM
  • Hi Thomas,

    But what I want to know is, why it thinks a project is out of date so I can correct this problem.

    The following blogs shared us some information about how to get the reason why a project is out of date, it also shared the solutions/workarounds.

    Reference:

    ‘AlwaysCreate’ forces project to be re-built

    VS always thinks my project is out of date!

    Did you know… What to do when projects are out of date is only for VC? - #326

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, January 15, 2014 2:14 AM
  • hi Jack.

    >> http://blogs.msdn.com/b/saraford/archive/2008/10/02/did-you-know-what-to-do-when-projects-are-out-of-date-is-only-for-vc-326.aspx

    This does not help; it only tells you how to make vs build stuff incase vs thinks it needs to.

    >> http://blogs.msdn.com/b/adam_nathan/archive/2005/06/03/425043.aspx

    This doesn't help either; it is somewhat related, but applies to midl /w vc++, which, in my case, does not apply.

    >> http://blogs.msdn.com/b/dsvc/archive/2013/03/12/alwayscreate-forces-project-to-be-re-built.aspx

    This actually is what i was looking for: it explains how to get a log of what vc++ is thinking and why this is causing stuff to be "out of date".

    Unfortunately, it still doesn't help.

    i edited the config file as described, restartet vs, and launched debugview. vs _will_ log a lot of stuff indeed. however, i did a "rebuild" and than cleared debugviews Display. i next hit "run with Debugger" inside vs. again, visual Studio told me one of my Projects was out of date, but there was absolutely _no_ Information displayed in debugview. maybe i'm doing something wrong? Or maybe some implementation Detail in vs changed and the description in the blog post is longer valid?

    Any other suggestions ?

    WM_THX
    -thomas woelfer


    http://www.die.de/blog

    Thursday, January 16, 2014 10:10 AM
  • Hi Thomas,

    Thanks for your response.

    As far as I know, when we start the program but our latest changes have not been compiled, it would share us the "out of date" message, and it's just a reminder that we need to build before running.

    But if you just want to get the detailed log message, I did some research about this issue I just get the workaround like the first link provided in my latest reply. This thread also shared some information about it, but it seems that it is also related to the DebugView tool.

    As Nibu’s suggestion in this blog, we know that it would support the VS2013, since you couldn’t get the detailed log about the “out of date” message with this blog, one idea is that you could add a comment in above blog, I think we could get some information from the product team expert.

    Of course, to repro this issue, you could also share me a simple sample, I will debug it in my VS2013, and then check the detailed message in my side.  Please attach your Visual Studio project, you can upload it to the sky drive, and then share the download link in your post. Please also attach a screenshot image in your post.

    If there's any concern, please feel free to let me know.

    Have a nice weekend,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 17, 2014 3:33 AM
  • Jack,

    i posted a comment on that blog asking for clarification.

    >> repro this issue, you could also share me a simple sample,

    i don't have a simple sample; all i have is a solution with 100+ Projects in it, where the Problem appears for exactly one Project. if i move that Project into another solution where only that one Project is part of, the Problem is no longer reproducable.

    WM_THX
    -thomas woelfer


    http://www.die.de/blog

    Friday, January 17, 2014 11:05 AM
  • Hi Thomas,

    Thanks for your response.

    I posted a comment on that blog asking for clarification.

    Since you have posted this issue to that blog, as Nibu’s reply, I think we would get the latest information from him.

    We are changing the issue type to General Discussion before we get any latest information from Nibu. 

    If we get any latest information, I will change the issue type back to Question by opening the Options list at the top of the post editor window, and changing the type. Thanks for your understanding and cooperation.

    Of course, if this issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Have a nice day,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 20, 2014 1:55 AM
  • Jack,

    Nibu provided some more info (relevant to vs 2013) in the comments section of the blog post: http://blogs.msdn.com/b/dsvc/archive/2013/03/12/alwayscreate-forces-project-to-be-re-built.aspx

    i was able to determine the reason for the problem using his post; the problem got resolved.

    His blog post now describes how to find the reason for visual studio thinking a project target is out of date.

    WM_THX
    -thomas woelfer


    http://www.die.de/blog

    • Marked as answer by thomas_woelfer Thursday, January 30, 2014 1:20 PM
    Thursday, January 30, 2014 1:20 PM
  • Hi thomas,

    Glad to see this issue has been resolved and thank you for sharing your solutions here.

    Have a nice day,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 31, 2014 12:23 AM