Project always builds without any change

AI 6 Reputation points
2022-11-30T02:59:08.727+00:00

Hello,
We have a native project for UWP application that always re-builds regardless of any changes.
We have several other projects having similar configuration.
We are not sure what exactly triggering this behavior for this particular project.

When I tried to build using diagnostic mode output, it shows:

57>Project is not up-to-date: build output '\\?\c:\programdata\microsoft\windows\wer\temp' is missing  

This error message is very strange because we can't find any relation of that path with our project.
Also, I explored that path in my PC and this was already available.

Could you please help us to diagnose this problem? What to check to find out the root cause of this problem?
If you need any further information for diagnosis, please ask.

Thanks in advance.

Universal Windows Platform (UWP)
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
44,037 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,431 Reputation points Microsoft External Staff
    2022-11-30T12:37:42.463+00:00

    Hello @AI ,

    Welcome to Microsoft Q&A forum.

    Please check following aspects:

    1. Please check the .vcxproj file(right-click your project > Unload Project > Edit Project File) and make sure that no "rebuild" related settings were set.
    2. Please check if any installed extension affects.
    3. Remove the hidden .vs folder in your project folder and test again.
    4. Try to run VS as administrator and check if this issue disappears(not sure if this particular project needs elevated privilege to do something).

    If there are some other useful output information, please also share them with us to check.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.