Duplikat "System.reflection.Assembly ... Attribut" CS0579C#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Duplikat "System.reflection.Assembly ... Attribut" CS0579

Post by Anonymous »

Kürzlich habe ich angefangen, Fehler nach dem Erstellen von .NET-Kernprojekten zu erhalten. Attribute.
.AssemblyInfo.cs:

Code: Select all

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("
")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+142bed33b63d7fbc51dcbe3285bff11b4f6740e0")]
[assembly: System.Reflection.AssemblyProductAttribute("")]
[assembly: System.Reflection.AssemblyTitleAttribute("")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

Im .NetCoreApp, Version = v9.0.AssemblyAttributes.cs Ich erhalte einen Fehler doppelte Duplikat 'Duplicate' Global :: System.Runtime.versioning.targetFrameWorgTribute 'Attribut . />.netcoreApp.version=V9.0.AssemblyAttributes.cs:
//
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]

< /code>

Ich bin vor dem Problem in verschiedenen Projekten mit verschiedenen Versionen von .NET Core < /li>
Ich habe versucht zu reinigen, wiederherzustellen und wiederherzustellen. Reproduzieren
dotnet build

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post