【发布时间】:2022-12-02 02:17:52
【问题描述】:
I am using Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.3.0 Preview 1.1.
Error
Severity Code Description Project File Line Suppression State
Error NU1504 Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: StyleCop.Analyzers 1.1.118, StyleCop.Analyzers 1.1.118; Roslynator.Analyzers 3.2.2, Roslynator.Analyzers 3.2.2. Shared.DTOs C:\Users\donhu\source\repos\FSH\src\Shared\Shared.DTOs\Shared.DTOs.csproj 1
Error restoring packages
How to fix it?
【问题讨论】:
标签: visual-studio nuget visual-studio-2022 nuget-package-restore