Closed konzolcowboy closed 1 month ago
@konzolcowboy sorry, this appears to have got lost in the shuffle. Is this still an issue for you?
cc @radekdoulik
@konzolcowboy given there hasn't been any recent activity, I'm going to close the issue. If you find the problem still exists, please feel free to reopen and we'll take it from there.
Description
Blazor WebAssembly AOT failed with VS2022 17.9.0 Professional.
Reproduction Steps
<RunAOTCompilation>true</RunAOTCompilation>
in the project file.dotnet publish -c Release
Expected behavior
Blazor WebAssembly AOT compiling is done sucessfully without error messages and all files are created in publish folder.
Actual behavior
The AOT compiling produces the following output and the publish failed:
The compiling always fails with the error message:
error : The specified response file can not be read
.Regression?
This scenario is working with VS2022 17.9.0 Community edition on Windows 10 and Windows 11, but it does not work on my laptop with Windows 11 Pro 23H2 and VS2022 17.9.0, neither with .NET 7.0.16 and nor with .NET 8.0.2
When the
<DisableParallelAot>true</DisableParallelAot>
is set in the project file the compiling produces the following output:As you can see the count of the error message:
The specified response file can not be read
is reduced, but it still failed.Maybe it is a parallelization problem?
Known Workarounds
Currently I do not know about workarounds of this issue.
Configuration
.NET version: 8.0.2 OS: Windows 11 Pro 23H2 Processor: 13th Gen Intel(R) Core(TM) i7-13700H 2.40 GHz x64 Visual studio: Visual Studio 2022 17.9.0 Professional
Other information
No response