You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dotnet new command doesnt create any errors, it just created the project as expected but it doesnt restore anything, meaning the references dont get installed and the used has to manually restore.
i tried multiple template.jsons including one with primaryOutputs but it didnt work either
The text was updated successfully, but these errors were encountered:
Product
dotnet CLI (dotnet new)
Describe The Bug
the dotnet restore post action in template.json is not being called, causing the user to have to manually restore after using dotnet new
To Reproduce
Steps:
dotnet Info
output
.NET SDK: Version: 8.0.108 Commit: 665a05cea7 Workload version: 8.0.100-manifests.109ff937Runtime Environment:
OS Name: linuxmint
OS Version: 21.3
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/sdk/8.0.108/
.NET workloads installed:
Workload version: 8.0.100-manifests.109ff937
There are no installed workloads to display.
Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5
.NET SDKs installed:
8.0.108 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Version
N/A
Additional context
The dotnet new command doesnt create any errors, it just created the project as expected but it doesnt restore anything, meaning the references dont get installed and the used has to manually restore.
i tried multiple template.jsons including one with primaryOutputs but it didnt work either
The text was updated successfully, but these errors were encountered: