Fluent Ribbon не компилируется в Visual Studio 2019

#c# #visual-studio #visual-studio-2019 #fluent-ribbon

#c# #visual-studio #visual-studio-2019 #fluent-лента

Вопрос:

Я относительно новичок в Visual Studio и пытаюсь скомпилировать Fluent.Лента.Демонстрация из этого репозитория: https://github.com/fluentribbon/Fluent .Лента

Я установил .NET core SDK v3.1.300, но я все еще получаю много ошибок при попытке компиляции.

Скриншот ошибок

Журнал сборки:

 NuGet package restore failed. Please see Error List window for detailed warnings and errors.
1>------ Build started: Project: Fluent.Ribbon, Configuration: Debug Any CPU ------
1>'""' is not recognized as an internal or external command,
1>operable program or batch file.
1>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.RibbonFluent.Ribbon.csproj(64,5): error MSB3073: The command """" exited with code 9009.
1>Done building project "Fluent.Ribbon.csproj" -- FAILED.
2>------ Build started: Project: Fluent.Ribbon.Showcase, Configuration: Debug Any CPU ------
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency JetBrains.Annotations does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro.IconPacks.Material does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency Microsoft.CodeAnalysis.CSharp does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency StyleCop.Analyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency WpfAnalyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1602: Fluent.Ribbon does not provide an inclusive lower bound for dependency ControlzEx. An approximate best match of ControlzEx 2.0.0.54 was resolved.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency JetBrains.Annotations does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro.IconPacks.Material does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency Microsoft.CodeAnalysis.CSharp does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency StyleCop.Analyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency WpfAnalyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1602: Fluent.Ribbon does not provide an inclusive lower bound for dependency ControlzEx. An approximate best match of ControlzEx 2.0.0.54 was resolved.
2>Done building project "Fluent.Ribbon.Showcase.csproj" -- FAILED.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency JetBrains.Annotations does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency MahApps.Metro.IconPacks.Material does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency Microsoft.CodeAnalysis.CSharp does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency StyleCop.Analyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1604: Project dependency WpfAnalyzers does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
2>C:UsersJosephDownloadsFluent.Ribbon-developFluent.Ribbon-developFluent.Ribbon.ShowcaseFluent.Ribbon.Showcase.csproj : error NU1602: Fluent.Ribbon does not provide an inclusive lower bound for dependency ControlzEx. An approximate best match of ControlzEx 2.0.0.54 was resolved.
2>Done building project "Fluent.Ribbon.Showcase.csproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
  

Это содержимое .csproject для Fluent.Лента.Демонстрация. Он не изменился по сравнению с тем, что я скачал с GitHub:

 <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
  <PropertyGroup>
    <RootNamespace>FluentTest</RootNamespace>
    <AssemblyName>Fluent.Ribbon.Showcase</AssemblyName>
    
    <NoWarn>$(NoWarn);SA0001</NoWarn>
    <InlcudeMahAppsMetro>true</InlcudeMahAppsMetro>
    <InlcudeMahAppsMetro Condition="$(TargetFramework) == 'net452'">false</InlcudeMahAppsMetro>

    <DefineConstants Condition="$(InlcudeMahAppsMetro)">$(DefineConstants);MahApps_Metro</DefineConstants>
  </PropertyGroup>
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <StartupObject>FluentTest.Program</StartupObject>
    <ApplicationIcon>IconsApp.ico</ApplicationIcon>
    <ApplicationManifest>app.manifest</ApplicationManifest>
  </PropertyGroup>

  <ItemGroup>
    <None Include="app.manifest" />
  </ItemGroup>

  <ItemGroup Condition="$(InlcudeMahAppsMetro) == false">
    <Page Remove="MahMetro*" />
    <Compile Remove="MahMetro*" />
    <None Include="MahMetro*" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..Fluent.RibbonFluent.Ribbon.csproj" />

    <PackageReference Include="MahApps.Metro.IconPacks.Material" />
    <PackageReference Include="MahApps.Metro" Condition="$(InlcudeMahAppsMetro)" />
  </ItemGroup>

  <ItemGroup Condition="$(DefineConstants.Contains(NETCOREAPP)) == false">
    <Reference Include="System.Web" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Data" />
    <Reference Include="WindowsFormsIntegration" />
  </ItemGroup>
</Project>
  

Комментарии:

1. Пожалуйста, опубликуйте полный журнал сборки в виде текста, вероятно, чего-то не хватает, что необходимо установить, но этого нет на скриншоте.

2. Хорошо, дайте мне секунду, и я отредактирую вопрос

3. Добавлен журнал сборки, это то, что вам нужно? Дайте мне знать, если вам нужно что-нибудь еще. Большое спасибо

4. Я просмотрел и установил перечисленные зависимости через NuGet, но это не внесло никаких изменений в вывод журнала сборки.

5. Содержимое вашего файла .csproj также поможет.