Visual Studio 2017 Designtime Build Failed Error: IntelliSense Unavailable
Visual Studio 2017 Designtime Build Failed Error: IntelliSense Unavailable
Error Message:
error: Designtime build failed for project 'D:\jenkins\workspace\Confocal\Confocal\Confocal\Confocal.vcxproj', configuration 'Debug|x64'. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME=true and restart Visual Studio to investigate.
error: Designtime build failed for project 'D:\jenkins\workspace\Confocal\Confocal\CameraPlugins\HIKCamera\HIKCamera.vcxproj', configuration 'Debug|x64'. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME=true and restart Visual Studio to investigate.
error: Designtime build failed for project 'D:\jenkins\workspace\Confocal\Confocal\CameraPlugins\VirtualCamera8\VirtualCamera8.vcxproj', configuration 'Debug|x64'. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME=true and restart Visual Studio to investigate.
error: Designtime build failed for project 'D:\jenkins\workspace\Confocal\Confocal\CameraPlugins\VirtualCamera16\VirtualCamera16.vcxproj', configuration 'Debug|x64'. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME=true and restart Visual Studio to investigate.
error: Designtime build failed for project 'D:\jenkins\workspace\Confocal\Confocal\CameraPlugins\TusCamera\TusCamera.vcxproj', configuration 'Debug|x64'. IntelliSense might be unavailable.
Set environment variable TRACEDESIGNTIME=true and restart Visual Studio to investigate.
========== Build: 0 succeeded, 0 failed, 5 up-to-date, 0 skipped ============
Problem:
The error message indicates that a design-time build failed for multiple projects, resulting in IntelliSense becoming unavailable. This usually happens during project builds.
Solution:
- Set the environment variable TRACEDESIGNTIME to true: This will help you troubleshoot the issue by providing more detailed logs.
- Restart Visual Studio: This will ensure that the environment variable change is applied and the logs are generated correctly.
Steps:
- Right-click 'My Computer' or 'This PC' and select 'Properties'.
- Click 'Advanced system settings'.
- In the System Properties window, select the 'Advanced' tab.
- Click 'Environment Variables'.
- Under 'System variables', click 'New'.
- In the 'Variable name' field, enter 'TRACEDESIGNTIME'.
- In the 'Variable value' field, enter 'true'.
- Click 'OK' to close all windows.
- Restart Visual Studio.
By following these steps, you should be able to resolve the 'Designtime build failed' error and restore IntelliSense functionality in your Visual Studio 2017 project.
原文地址: https://www.cveoy.top/t/topic/qtSm 著作权归作者所有。请勿转载和采集!