Closed tebeco closed 10 months ago
This error also occurs whenever a template is uninstalled through the uninstall / dotnet new update command.
Below are messages that are logged in the console.
Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.cs.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.de.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.en.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.es.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.fr.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.it.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ja.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ko.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pl.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pt-BR.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ru.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.tr.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hans.json), it will be skipped from further processing. Warning: Failed to read or parse localization file /usr/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hant.json), it will be skipped from further processing.
I'm seeing the same on a fresh install of .Net 8.0 rc2 on Mac OS 10.15 when doing "dotnet new".
"Warning: Failed to read or parse localization file /usr/local/share/dotnet/templates/8.0.0-rc.2.23480.2/microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.cs.json), it will be skipped from further processing."
i'm seeing the same on a fresh install of visual studio preview 2022
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.cs.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.de.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.en.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.es.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.fr.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.it.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ja.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ko.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pl.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pt-BR.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ru.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.tr.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hans.json)", it will be skipped from further processing. Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hant.json)", it will be skipped from further processing. These templates matched your input:
Template Name Short Name Language Tags
.NET MAUI App maui [C#] MAUI/Android/iOS/macOS/Mac Catalyst/Windows/Tizen
.NET MAUI Blazo... maui-blazor [C#] MAUI/Android/iOS/macOS/Mac Catalyst/Windows/Tizen/Blazor/Blazor Hybrid .NET MAUI Class... mauilib [C#] MAUI/Android/iOS/macOS/Mac Catalyst/Windows/Tizen
.NET MAUI Conte... maui-page-csharp [C#] MAUI/Android/iOS/macOS/Mac Catalyst/WinUI/Tizen/Xaml/Code
.NET MAUI Conte... maui-page-xaml [C#] MAUI/Android/iOS/macOS/Mac Catalyst/WinUI/Tizen/Xaml/Code
.NET MAUI Conte... maui-view-csharp [C#] MAUI/Android/iOS/macOS/Mac Catalyst/WinUI/Tizen/Xaml/Code
.NET MAUI Conte... maui-view-xaml [C#] MAUI/Android/iOS/macOS/Mac Catalyst/WinUI/Tizen/Xaml/Code
.NET MAUI Resou... maui-dict-xaml [C#] MAUI/Android/iOS/macOS/Mac Catalyst/WinUI/Xaml/Code
Android Activit... android-activity [C#] Android/Mobile
Android Applica... android [C#] Android/Mobile
Android Class L... androidlib [C#] Android/Mobile
Android Java Li... android-bindinglib [C#] Android/Mobile
Android Layout ... android-layout [C#] Android/Mobile
Android Wear Ap... androidwear [C#] Android/Mobile
API Controller apicontroller [C#] Web/ASP.NET
ASP.NET Core Empty web [C#],F# Web/Empty
ASP.NET Core gR... grpc [C#] Web/gRPC/API/Service
ASP.NET Core We... webapi [C#],F# Web/WebAPI/Web API/API/Service
ASP.NET Core We... webapiaot [C#] Web/Web API/API/Service
ASP.NET Core We... webapp,razor [C#] Web/MVC/Razor Pages
ASP.NET Core We... mvc [C#],F# Web/MVC
ASP.NET Core wi... angular [C#] Web/MVC/SPA
ASP.NET Core wi... react [C#] Web/MVC/SPA
ASP.NET Core wi... reactredux [C#] Web/MVC/SPA
Blazor Server App blazorserver [C#] Web/Blazor
Blazor Server A... blazorserver-empty [C#] Web/Blazor/Empty
Blazor Web App blazor [C#] Web/Blazor/WebAssembly
Blazor WebAssem... blazorwasm-empty [C#] Web/Blazor/WebAssembly/PWA/Empty
Blazor WebAssem... blazorwasm [C#] Web/Blazor/WebAssembly/PWA
Class Library classlib [C#],F#,VB Common/Library
Console App console [C#],F#,VB Common/Console
dotnet gitignor... gitignore,.gitignore Config
Dotnet local to... tool-manifest Config
EditorConfig file editorconfig,.editorconfig Config
global.json file globaljson,global.json Config
iOS Application ios [C#],F#,VB iOS/Mobile
iOS Binding Lib... iosbinding [C#] iOS/Mobile
iOS Class Library ioslib [C#],VB iOS/Mobile
iOS Controller ios-controller [C#] iOS/Mobile
iOS Storyboard ios-storyboard [C#] iOS/Mobile
iOS Tabbed Appl... ios-tabbed [C#] iOS/Mobile
iOS View ios-view [C#] iOS/Mobile
iOS View Contro... ios-viewcontroller [C#] iOS/Mobile
Mac Catalyst Ap... maccatalyst [C#],VB macOS/Mac Catalyst
Mac Catalyst Bi... maccatalystbinding [C#] macOS/Mac Catalyst
Mac Catalyst Cl... maccatalystlib [C#],VB macOS/Mac Catalyst
Mac Catalyst Co... maccatalyst-controller [C#] macOS/Mac Catalyst
Mac Catalyst St... maccatalyst-storyboard [C#] macOS/Mac Catalyst
Mac Catalyst View maccatalyst-view [C#] macOS/Mac Catalyst
Mac Catalyst Vi... maccatalyst-viewcontroller [C#] macOS/Mac Catalyst
macOS Application macos [C#],VB macOS
macOS Binding L... macosbinding [C#] macOS
macOS Class Lib... macoslib [C#],VB macOS
macOS Controller macos-controller [C#] macOS
macOS Storyboard macos-storyboard [C#] macOS
macOS View macos-view [C#] macOS
macOS View Cont... macos-viewcontroller [C#] macOS
MSBuild Directo... buildprops MSBuild/props
MSBuild Directo... buildtargets MSBuild/props
MSTest Playwrig... mstest-playwright [C#] Test/MSTest/Playwright
MSTest Test Pro... mstest [C#],F#,VB Test/MSTest
MVC Controller mvccontroller [C#] Web/ASP.NET
MVC ViewImports viewimports [C#] Web/ASP.NET
MVC ViewStart viewstart [C#] Web/ASP.NET
NuGet Config nugetconfig,nuget.config Config
NUnit 3 Test Item nunit-test [C#],F#,VB Test/NUnit
NUnit 3 Test Pr... nunit [C#],F#,VB Test/NUnit
NUnit Playwrigh... nunit-playwright [C#] Test/NUnit/Playwright
Protocol Buffer... proto Web/gRPC
Razor Class Lib... razorclasslib [C#] Web/Razor/Library/Razor Class Library
Razor Component razorcomponent [C#] Web/ASP.NET
Razor Page page [C#] Web/ASP.NET
Razor View view [C#] Web/ASP.NET
Solution File sln,solution Solution
tvOS Application tvos [C#],VB tvOS/Mobile
tvOS Binding Li... tvosbinding [C#] tvOS/Mobile
tvOS Class Library tvoslib [C#],VB tvOS/Mobile
tvOS Controller tvos-controller [C#] tvOS/Mobile
tvOS Storyboard tvos-storyboard [C#] tvOS/Mobile
tvOS View tvos-view [C#] tvOS/Mobile
tvOS View Contr... tvos-viewcontroller [C#] tvOS/Mobile
Web Config webconfig Config
Windows Forms App winforms [C#],VB Common/WinForms
Windows Forms C... winformslib [C#],VB Common/WinForms
Windows Forms C... winformscontrollib [C#],VB Common/WinForms
Worker Service worker [C#],F# Common/Worker/Web
WPF Application wpf [C#],VB Common/WPF
WPF Class Library wpflib [C#],VB Common/WPF
WPF Custom Cont... wpfcustomcontrollib [C#],VB Common/WPF
WPF User Contro... wpfusercontrollib [C#],VB Common/WPF
xUnit Test Project xunit [C#],F#,VB Test/xUnit
I also hit this with .NET 8 RC2, though my machine wasn't entirely clean. It was a clean VM with .NET 8 RC2, but I then added some private MSFT internal feeds and ran dotnet workload update --skip-sign-check
as well as installing a different private workload. I then got the same error as above:
dotnet new list
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.cs.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.de.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.en.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.es.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.fr.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.it.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ja.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ko.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pl.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.pt-BR.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.ru.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.tr.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hans.json)", it will be skipped from further processing.
Warning: Failed to read or parse localization file "C:\Program Files\dotnet\templates\8.0.0-rc.2.23480.2\microsoft.dotnet.web.projecttemplates.8.0.8.0.0-rc.2.23480.2.nupkg(/content/BlazorWeb-CSharp/.template.config/localize/templatestrings.zh-Hant.json)", it will be skipped from further processing.
These templates matched your input:
Template Name Short Name Language Tags
--------------------------- -------------------------- ---------- --------------------------------------------------
API Controller apicontroller [C#] Web/ASP.NET
ASP.NET Core Empty web [C#],F# Web/Empty
ASP.NET Core gRPC Service grpc [C#] Web/gRPC/API/Service
ASP.NET Core Web API webapi [C#],F# Web/Web API/API/Service
ASP.NET Core Web API (na... webapiaot [C#] Web/Web API/API/Service
ASP.NET Core Web App webapp,razor [C#] Web/MVC/Razor Pages
ASP.NET Core Web App (Mo... mvc [C#],F# Web/MVC
[... and more templates ...]
dotnet --info
.NET SDK:
Version: 8.0.100-rc.2.23502.2
Commit: 0abacfc2b6
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22621
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.100-rc.2.23502.2\
.NET workloads installed:
[other_workload]
[...details omitted...]
[maui-windows]
Installation Source: VS 17.9.34217.233
Manifest Version: 8.0.0-rc.2.9437/8.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.maui\8.0.0-rc.2.9437\WorkloadManifest.json
Install Type: Msi
[maccatalyst]
Installation Source: VS 17.9.34217.233
Manifest Version: 17.0.8459-net8-rc2.1/8.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.maccatalyst\17.0.8459-net8-rc2.1\WorkloadManifest.json
Install Type: Msi
[ios]
Installation Source: VS 17.9.34217.233
Manifest Version: 17.0.8459-net8-rc2.1/8.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.ios\17.0.8459-net8-rc2.1\WorkloadManifest.json
Install Type: Msi
[android]
Installation Source: VS 17.9.34217.233
Manifest Version: 34.0.3/8.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100-rc.2\microsoft.net.sdk.android\34.0.3\WorkloadManifest.json
Install Type: Msi
Host:
Version: 8.0.0-rc.2.23479.6
Architecture: x64
Commit: 0b25e38ad3
.NET SDKs installed:
8.0.100-rc.2.23502.2 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.0-rc.2.23480.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.0-rc.2.23479.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.0-rc.2.23479.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
I'm getting the same error when installing/updating templates located in a local folder. Since the issue is linked to RC2, I've managed to work around it by placing a global.json
file in my working directory thus forcing .NET 7 to be used.
Hope this gets fixed by .NET 8 RTM timeframe...
We have already fixed this error in the RTM branches.
Actual problem if templatecache.json
in .templateengine
directory doesn't exist (tested on binaries install):
.NET SDK:
Version: 8.0.401
Commit: 811edcc344
Workload version: 8.0.400-manifests.b6724b7a
MSBuild version: 17.11.4+37eb419ad
Runtime Environment:
OS Name: Windows
OS Version: 10.0.17763
OS Platform: Windows
RID: win-x64
Base Path: D:\dotnet\sdk\8.0.401\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5
.NET SDKs installed:
8.0.401 [D:\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.8 [D:\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.8 [D:\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.8 [D:\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [D:\dotnet]
Describe the bug
Warn/error on
dotnet new wpf -n WpfDelete
To Reproduce
This only happened on the absolute first
dotnet new
so you'd need a computer thatdotnet new wpf -WpfDelete
Exceptions (if any)
see above
Further technical details