Open
Description
Problem with a Blazor server-side app. The csproj has the following:
<PropertyGroup> <PrepareForBuildDependsOn>WebCompile</PrepareForBuildDependsOn> </PropertyGroup>
Describe the bug
When rebuilding with Visual Studio 17.3.3, the rebuild fails with the following error:
MSB4057 The target "WebCompile" does not exist in the project.
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1193
The problem does not occur when rebuilding with Visual Studio 17.3.2.
Expected behavior
The rebuild should be successful with the latest versions of Visual Studio.