- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I upgraded to OneAPI 2022.3 from the previous version, and now my VS 2022 build fails with the errors below. To be clear, no other changes were made to the development environment.
After I uninstalled 2022.3, then reactivated OneAPI 2022.2 , the project built fine.
Simple projects also build fine. This is very complex project with many hundreds of files.
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: The specified task executable "icx.exe" could not be run. System.IO.IOException: The process cannot access the file 'Intel.Build.ICXTasks.ICX.read.1.tlog' because it is being used by another process.
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at Microsoft.Build.Utilities.CanonicalTrackedInputFiles.SaveTlog(DependencyFilter includeInTLog)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at Intel.Build.ICXTasks.ICX.PostExecuteTool(Int32 exitCode)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at Intel.Build.ICXTasks.ICX.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
34>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Platforms\x64\PlatformToolsets\Intel C++ Compiler 2022\Toolset.targets(344,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.Execute()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to fix this issue by
- Updating to VS 2022 17.3.5
- Completely removing all OneAPI versions
- re-installing OneAPI 2022.3
It's not clear what fixed the problem....
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
It seems to be a compatibility issue between Visual studio & Intel oneAPI toolkits.
Latest version OneAPI 2022.3 is compatible with the latest version of Visual Studio VS2022 17.2.3 and VS2022 17.2.6 (limited testing).
And OneAPI 2022.2 is compatible with the latest version of Visual Studio VS2022 17.0.2 and VS2022 17.1.0 (limited testing).
Please refer to the link below for more details.
If you still face any issues please provide the complete error log with the steps you have followed.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The latest version of Visual Studio 2022 is 17.3.4.
One API 2022.2 works just fine with 17.3.4.
OneAPI 2022.3 has some issues as per my report.
Could you be more specific about "complete error log". I have supplied the complete error as reported by Visual Studio.
Sadly, I have had to revert to OneAPI 2022.2 because OneAPI 2022.3 is unusable for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to fix this issue by
- Updating to VS 2022 17.3.5
- Completely removing all OneAPI versions
- re-installing OneAPI 2022.3
It's not clear what fixed the problem....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved.
If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks and Regards,
Pendyala Sesha Srinivas

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page