Skip to content

Can't install SwarmUI due to dotnet issue #1279

Description

@YukariMindGap

Package

SwarmUI

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

Nvidia Geforce RTX 3060 12GB

What happened?

When i try to install SwarmUI, it stopped with an error and the package refused to install. I think it's a .net thing but i already installed .net 8

Image

Console output

Unpacking resources
Unpacking resources
Cloning into 'D:\AI_Stuff\StabilityMatrix-win-x64\Data\Packages\SwarmUI'...
Download Complete
error: The source specified has already been added to the list of available package sources. Provide a unique source.


Usage: dotnet nuget add source [arguments] [options]

Arguments:
  PackageSourcePath  Path to the package source.

Options:
  -n|--name                       Name of the source.
  -u|--username                   Username to be used when connecting to an authenticated source.
  -p|--password                   Password to be used when connecting to an authenticated source.
  --store-password-in-clear-text  Enables storing portable package source credentials by disabling password encryption.
  --valid-authentication-types    Comma-separated list of valid authentication types for this source. Set this to basic if the server advertises NTLM or Negotiate and your credentials must be sent using the Basic mechanism, for instance when using a PAT with on-premises Azure DevOps Server. Other valid values include negotiate, kerberos, ntlm, and digest, but these values are unlikely to be useful.
  --configfile                    The NuGet configuration file. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see https://docs.microsoft.com/nuget/consume-packages/configuring-nuget-behavior.
  -h|--help                       Show help information

MSBuild version 17.7.4+3ebbd7c49 for .NET
  Determining projects to restore...
D:\AI_Stuff\StabilityMatrix-win-x64\Data\Assets\dotnet\sdk\7.0.405\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(160,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0.  Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. Download the .NET SDK from https://aka.ms/dotnet/download [D:\AI_Stuff\StabilityMatrix-win-x64\Data\Packages\SwarmUI\src\SwarmUI.csproj]

Build FAILED.

D:\AI_Stuff\StabilityMatrix-win-x64\Data\Assets\dotnet\sdk\7.0.405\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(160,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0.  Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. Download the .NET SDK from https://aka.ms/dotnet/download [D:\AI_Stuff\StabilityMatrix-win-x64\Data\Packages\SwarmUI\src\SwarmUI.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.34
Could not install StableSwarmUI (StabilityMatrix.Core.Exceptions.ProcessException: dotnet8 with args [build src/SwarmUI.csproj --configuration Release -o src/bin/live_release] failed with exit code 1:
System.IO.StreamReader
System.IO.StreamReader
   at StabilityMatrix.Avalonia.Helpers.WindowsPrerequisiteHelper.RunDotnet(ProcessArgs args, String workingDirectory, Action`1 onProcessOutput, IReadOnlyDictionary`2 envVars, Boolean waitForExit)
   at StabilityMatrix.Core.Models.Packages.StableSwarm.InstallPackage(String installLocation, InstalledPackage installedPackage, InstallPackageOptions options, IProgress`1 progress, Action`1 onConsoleOutput, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.InstallPackageStep.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
   at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

Version

v2.14.2

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions