Bug fix when building RiR from source. This error happens to all System.Reflection assembly attributes auto-generated across multiple RiR projects. This is a known conflict between SDK style csproj file and MSBuild csproj file.
The error CS0579 indicates that the AssemblyCompanyAttribute has been defined more than once for the project RhinoInside.Revit.External. This can happen if the attribute is explicitly defined in your code (e.g., within AssemblyInfo.cs or another file) and also generated automatically during the build process based on project properties.
Prefer to keep the attribute definitions in the code, we can disable the automatic generation of the AssemblyInfo.cs file by the build system.
Bug fix when building RiR from source. This error happens to all System.Reflection assembly attributes auto-generated across multiple RiR projects. This is a known conflict between SDK style csproj file and MSBuild csproj file.
Error (active) CS0579 Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute RhinoInside.Revit.External D:\Github\rhino.inside-revit\src\RhinoInside.Revit.External\obj\Debug-2024-R7\net481\RhinoInside.Revit.External.AssemblyInfo.cs 14
The error CS0579 indicates that the AssemblyCompanyAttribute has been defined more than once for the project RhinoInside.Revit.External. This can happen if the attribute is explicitly defined in your code (e.g., within AssemblyInfo.cs or another file) and also generated automatically during the build process based on project properties.
Prefer to keep the attribute definitions in the code, we can disable the automatic generation of the AssemblyInfo.cs file by the build system.