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:

  1. Set the environment variable TRACEDESIGNTIME to true: This will help you troubleshoot the issue by providing more detailed logs.
  2. Restart Visual Studio: This will ensure that the environment variable change is applied and the logs are generated correctly.

Steps:

  1. Right-click 'My Computer' or 'This PC' and select 'Properties'.
  2. Click 'Advanced system settings'.
  3. In the System Properties window, select the 'Advanced' tab.
  4. Click 'Environment Variables'.
  5. Under 'System variables', click 'New'.
  6. In the 'Variable name' field, enter 'TRACEDESIGNTIME'.
  7. In the 'Variable value' field, enter 'true'.
  8. Click 'OK' to close all windows.
  9. 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.

Visual Studio 2017 Designtime Build Failed Error: IntelliSense Unavailable

原文地址: https://www.cveoy.top/t/topic/qtSm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录