Hello,
I created a C++ MFC project and when configuring the build definition I kept the settings to default.
I received an error regarding these two files.
C:\Builds\1\TestFive\TestFiveAppTwo\Sources\D\Projects\TestFive\TestFiveApp\TestFiveApp\TestFiveApp.vcxproj (22)
: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists
on disk.
After doing some research I found reference to a work around and added this line to the build definition in the process tab under MSBuild Arguments:
/p:$(VCTargetsPath)="C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.props"
Once I did this it appeared to resolve the issue related to “C:\Microsoft.Cpp.Default.props” However after that I no longer saw the issue related to C:\Builds\1\TestFive\TestFiveAppTwo\Sources\D\Projects\TestFive\TestFiveApp\TestFiveApp\TestFiveApp.vcxproj
Once I did the work around the issue for not finding this c:\build\1…. Disappeared and I only saw a vague error message
Exception Message: MSBuild error 1 has ended this build. You can find more specific information
about the cause of this error in above messages. (type BuildProcessTerminateException)Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
After fixing some Windows updates (KB2822241) (KB2998527), (KB2966827) and a code a code 800B0001 for a day I no longer needed the work around for C:\Microsoft.Cpp.Default.props”
and then was able to see the c:\build\1…. error again.
Without making any changes to the settings the error “C:\Microsoft.Cpp.Default.props” has reappeared a couple days later.
I went back to check for Windows Updates I get a code 800B0001 that was resolved by our IT but is now back again.
As a reference I created a simple C Sharp project that passes this portion and just has some warnings for an earlier part.
This appears to be failing at the “Get Impacted Tests, Index Sources and Publish Symbols. I unable to find what is generating the request for this file in the properties and
options.
I can detailed log and or diagnostic log, or any other information that would assist resolving this issue.
Thank you,
Marla Manley