Skip to content

dotnet 10 is current lts yet dotnet interactice still requires dotnet 9? #4179

@catmanjan

Description

@catmanjan

Created a blank aspire app from the visual studio 2026 template and attempted a publish to azure,

Saw this in console:

[1:03:16 PM Info] Creating dotnet tool manifest.
[1:03:16 PM Info] Executing command 'dotnet new tool-manifest'.
[1:03:17 PM Info] Command 'dotnet new tool-manifest' succeeded with exit code '0':
The template "Dotnet local tool manifest file" was created successfully.
[1:03:17 PM Info] Installing version '1.0.616301' of the dotnet interactive tool.
[1:03:17 PM Info] Executing command 'dotnet tool install Microsoft.dotnet-interactive --version 1.0.616301 --configfile NuGet.config'.
[1:03:47 PM Info] Command 'dotnet tool install Microsoft.dotnet-interactive --version 1.0.616301 --configfile NuGet.config' succeeded with exit code '0':
You can invoke the tool from this directory using the following commands: 'dotnet tool run dotnet-interactive' or 'dotnet dotnet-interactive'.
Tool 'microsoft.dotnet-interactive' (version '1.0.616301') was successfully installed. Entry is added to the manifest file C:\Users\sysadmin\AppData\Local\Temp\vs-dotnet-interactive\18.0_0c586a71\dotnet-tools.json.
[1:03:47 PM Error] Microsoft.DotNet.Interactive.Utility.CommandLineInvocationException: Exit code -2147450730

StdErr:
You must install or update .NET to run this application.App: C:\Users\sysadmin\.nuget\packages\microsoft.dotnet-interactive\1.0.616301\tools\net9.0\any\Microsoft.DotNet.Interactive.App.dllArchitecture: x64Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64).NET location: C:\Program Files\dotnet\The following frameworks were found:  2.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  5.0.17 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  6.0.36 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  8.0.23 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  8.0.24 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]  10.0.3 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]The following frameworks for other architectures were found:  x86    8.0.24 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]    10.0.3 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]Learn more:https://aka.ms/dotnet/app-launch-failedTo install missing framework, download:https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=9.0.0&arch=x64&rid=win-x64&os=win10

StdOut:
   at Microsoft.DotNet.Interactive.Connection.StdIoKernelConnector.<CreateRootProxyKernelAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Interactive.Core.InteractiveKernelFactory.<CreateAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Interactive.Core.LoggerExtensions.<CallWithCatchAsync>d__15`1.MoveNext()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions