microsoft / WinObjC

Objective-C for Windows
MIT License
6.24k stars 808 forks source link

Projects in tools.sln build will fail when logging set to diagnostic #2272

Closed memontic-ms closed 7 years ago

memontic-ms commented 7 years ago

Low priority right now, but we should find the root cause of this.

Clean build of tools.sln (x86, Release) with logging set to diagnostic:

Project 'xamltools' is not up to date. Missing output file 'C:\Source\WinObjC\tools\xib2xaml\xamltools\bin\Release\xamltools.dll'. Project 'BuildMonitor' is not up to date. Error (0x8000FFFF). Project 'ClangCompile' is not up to date. Missing output file 'C:\Source\WinObjC\tools\Release\ClangCompileTask.dll'. Project 'Legacy_ObjectiveC' is not up to date. Missing output file 'C:\Source\WinObjC\tools\legacy\ObjectiveC\bin\Release\ObjectiveC.dll'. Project 'AssetCatalogBuilder' is not up to date. Missing output file 'C:\Source\WinObjC\tools\Release\acbuilder.exe'. Project 'PropSchemaGen' is not up to date. Missing output file 'C:\Source\WinObjC\tools\Release\PropSchemaGen.exe'. Project 'xib2xaml' is not up to date. Missing output file 'C:\Source\WinObjC\tools\xib2xaml\xib2xaml\bin\Release\xib2xaml.exe'. Project 'Legacy_BuildMonitor' is not up to date. Error (0x8000FFFF). Project 'ObjectiveCVSIX' is not up to date. Error (0x8000FFFF). Project 'Legacy_ObjectiveCVSIX' is not up to date. Missing output file 'C:\Source\WinObjC\tools\legacy\VSIX\bin\Release\VSIX.dll'. Build: 28 succeeded, 4 failed, 0 up-to-date, 0 skipped

Build of tools.sln (x86, Release) with logging set to diagnostic after a clean build (should need to build the projects that failed from above)

Project 'BuildMonitor' is not up to date. Missing output file 'C:\Source\WinObjC\tools\BuildMonitor\bin\Release\BuildMonitor.pdb'. Project 'Legacy_BuildMonitor' is not up to date. Missing output file 'C:\Source\WinObjC\tools\legacy\BuildMonitor\bin\Release\BuildMonitor.pdb'. Project 'ObjectiveCVSIX' is not up to date. Error (0x8000FFFF). Project 'Legacy_ObjectiveCVSIX' is not up to date. Missing output file 'C:\Source\WinObjC\tools\legacy\VSIX\bin\Release\VSIX.dll'.7 Build: 5 succeeded, 5 failed, 22 up-to-date, 0 skipped

Turned logging back down to minimal, everything builds fine. Output:

1>------ Build started: Project: BuildMonitor, Configuration: Release Any CPU ------ 2>------ Build started: Project: WinObjC.Packaging, Configuration: Release Any CPU ------ 3>------ Build started: Project: Legacy_BuildMonitor, Configuration: Release Any CPU ------ 4>------ Build started: Project: WinObjC.Logging, Configuration: Release x86 ------ 5>------ Build started: Project: WinObjC.Language, Configuration: Release x86 ------ 2>AddSingleConfigBuildOutput Platform: 2>Created package at C:\Source\WinObjC\tools\OutputPackages\Release\WinObjC.Packaging.0.2.160928-pr-20170317222702.nupkg. 4>Created package at C:\Source\WinObjC\tools\OutputPackages\Release\WinObjC.Logging.0.2.160928-pr-20170317222702.nupkg. 5>AddSingleConfigBuildOutput Platform: Win32|Debug 5>WinObjCRTLib.vcxproj -> C:\Source\WinObjC\tools\Win32\Debug\WinObjCRTLib\WinObjCRTLib.lib 5>WinObjCRT.vcxproj -> C:\Source\WinObjC\tools\Win32\Debug\WinObjCRT\WinObjCRT.dll 5>WinObjCRT.vcxproj -> C:\Source\WinObjC\tools\Win32\Debug\WinObjCRT\WinObjCRT.pdb (Partial PDB) 1> BuildMonitor -> 1> BuildMonitor -> 1> BuildMonitor -> C:\Source\WinObjC\tools\BuildMonitor\bin\Release\BuildMonitor.dll 1> Creating intermediate PkgDef file. 1> Creating VSIX Container... 1> BuildMonitor -> C:\Source\WinObjC\tools\BuildMonitor\bin\Release\BuildMonitor.vsix 6>------ Build started: Project: ObjectiveCVSIX, Configuration: Release Any CPU ------ 3> Legacy_BuildMonitor -> 3> Legacy_BuildMonitor -> 3> Legacy_BuildMonitor -> C:\Source\WinObjC\tools\legacy\BuildMonitor\bin\Release\BuildMonitor.dll 3> Creating intermediate PkgDef file. 3> Creating VSIX Container... 3> Legacy_BuildMonitor -> C:\Source\WinObjC\tools\legacy\BuildMonitor\bin\Release\BuildMonitor.vsix 7>------ Build started: Project: Legacy_ObjectiveCVSIX, Configuration: Release Any CPU ------ 6> ObjectiveCVSIX -> C:\Source\WinObjC\tools\VSIX\bin\Release\VSIX.vsix 8>------ Build started: Project: WinObjC.Tools, Configuration: Release x86 ------ 8>Created package at C:\Source\WinObjC\tools\OutputPackages\Release\winobjc-tools.0.2.160928-pr-20170317222702.nupkg. 5>Created package at C:\Source\WinObjC\tools\OutputPackages\Release\WinObjC.Language.0.2.160928-pr-20170317222702.nupkg. 9>------ Build started: Project: BuildFinalizer, Configuration: Release x86 ------ 7> Legacy_ObjectiveCVSIX -> C:\Source\WinObjC\tools\legacy\VSIX\bin\Release\VSIX.vsix ========== Build: 9 succeeded, 0 failed, 23 up-to-date, 0 skipped ==========

memontic-ms commented 7 years ago

@bbowman Not sure if this is related to changes from packaging (haven't tested out pre-packaging tools.sln yet), but something seems to be wonky with how our tools projects are building.