-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Description
Open the solution Microsoft.Extensions.Logging in Visual Studio by executing
\build.cmd -vs Microsoft.Extensions.Logging
Try to build/rebuild the whole solution. Build fails with the following errors:
...\runtime\src\libraries\Microsoft.Extensions.Logging.Abstractions\gen\Microsoft.Extensions.Logging.Generators.csproj : error MSB4057: The target "GetTargetPath" does not exist in the project.
...\runtime\src\libraries\System.Text.Json\gen\System.Text.Json.SourceGeneration.csproj : error MSB4057: The target "GetTargetPath" does not exist in the project.
Building from a command line works ok. But this issue makes it impossible to work with unit tests in VS as they can't be built and executed.
Regression?
Microsoft.Extensions.Logging.Generators.csproj and System.Text.Json.SourceGeneration.csproj were added relatively recently. The problem didn't exist before.