Hi all,
I can successfully compile the xenvbd driver via build.ps1. However, if I directly double-click to open vs2022/xenvbd.sln(or xenbus.sln) in Visual Studio 2022, I encounter two issues:
1. Visual Studio prompts that IntelliSense is unavailable, resulting in the complete loss of visual studio features like code coloring, code navigation, and IDE intelligent suggestions.
2. Compilation also fails within Visual Studio.
After investigating the build.ps1 script, I resolved the compilation failure by manually setting environment variables like BUILD_NUMBERand MAJOR_VERSION.
However, the IntelliSense unavailable issue still persists, error log here:
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
error : Designtime build failed for project 'D:\win-xenvbd\vs2022\xenvbd\xenvbd.vcxproj' configuration 'Windows 10 Debug|x64'. IntelliSense might be unavailable.
....................................
I'm wondering if anyone else has encountered this problem?
Or do I need to create the Visual Studio solution/projects from scratch?
Thanks!