Hello @Morgan, Scot,
Welcome to Microsoft Q&A forum.
As far as I know, no options can be set for keeping a project from touching another’s project .lastbuildstate
file in VS 2013.
The .lastbuildstate
file is generated automatically by VS and set by default. Not only the .lastbuildstate
files, but also the .tlog
files are used to help detect if the files/projects are "out of date".
Typically, if the related projects/files are not used or prepared to be used then the .lastbuildstate
file should not be touched by another project, except this is a potential issue(as some features have been improved in higher versions of VS, it is recommended to use a higher version of VS, if it is possible). If the error message mentions that some files/projects are out of date and are needed to rebuild, then you may check if the files/projects are indeed used and out of date and keep them up-to-date.
BTW, Incremental Build helps to improve the build process. Adding <TrackFileAccess>false</TrackFileAccess>
property in .xxproj file may make VS stop tracking files but this property disables the support for Incremental Build and will cause VS build all the projects.
Sincerely,
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.