Open jbrezina opened 10 months ago
Any update on this please? It's a blocker for out C++ pipelines
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Thank you for the great support of your paid product!
New issue checklist
Task name
MSBuild@1
Task version
1.231.4
Issue Description
I have a vcxproj using vcpkg dependencies in manifest mode. The c++ project is configured to use v143 platform toolset and c++latest. All the dependencies using vcpkg (configured with cmake) are using VCToolsVersion 14.38.33130, but the project using MSBuild@1 is using version 14.37.32822 and that's causing link error:
##[error]LINK(0,0): Error C1047: The object or library file 'my.lib' was created by a different version of the compiler than other objects like 'Release\dllmain.obj'; rebuild all objects and libraries with the same compiler
There might be a problem in configuration of props files (Microsoft.VCToolsVersion.default.props
and/orMicrosoft.VCToolsVersion.default.props
) for Visual Studio located in:c:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\
I can provide diagnostic logs if necessary, but I'm not attaching the whole log for sec. reasons and I'm not sure what parts of the more than 5k lines are relevant for you.Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response