-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
❯ dotnet new classlib
The template "Class Library" was created successfully.
Processing post-creation actions...
Restoring S:\play\response\response.csproj:
Determining projects to restore...
Restored S:\play\response\response.csproj (in 69 ms).
Restore succeeded.
❯ echo "-v:m" > Directory.Build.rsp
❯ dotnet build -bl
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
Some command line switches were read from the auto-response file "MSBuild.rsp". To disable this file, use the "-noAutoResponse" switch.
Determining projects to restore...
All projects are up-to-date for restore.
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfe
rence.targets(287,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-
policy [S:\play\response\response.csproj]
response -> S:\play\response\bin\Debug\net7.0\response.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.83In fact, the file wasn't MSBuild.rsp but Directory.Build.rsp. The new (#8146) message has the right path, but is a bit less clear in the message.
We should unify on one logging mechanism and one message.