Skip to content

[Bug]: error when building #7

@Inevitabilis

Description

@Inevitabilis

Short summary

error building the project from git using readme instructions

ProjectRover version

Built from source

Operating system

Other Linux

OS release / distro version (freeform)

Arch garuda 260115

Architecture

x64

How did you install .NET

Distro package (apt / yum)

How did you run Rover?

Other

dotnet --info output

.NET SDK:
Version: 10.0.100
Commit: b0f34d51fc
Workload version: 10.0.100-manifests.4eab3e0f
MSBuild version: 18.0.2

Runtime Environment:
OS Name: garuda
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/10.0.100/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.0
Architecture: x64
Commit: b0f34d51fc

.NET SDKs installed:
10.0.100 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.NETCore.App 8.0.22 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

dotnet --list-runtimes output

Microsoft.NETCore.App 8.0.22 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Error message / stack trace

Image
dotnet run
/home/envy/RiderProjects/ProjectRover/src/ProjectRover.Shims/System/Windows/Threading/Dispatcher.cs(70,61): warning CS3021: 'Dispatcher.Translate(DispatcherPriority)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
/home/envy/RiderProjects/ProjectRover/src/ProjectRover.Shims/System/Windows/Threading/Dispatcher.cs(7,17): warning CS3014: 'DispatcherPriority' cannot be marked as CLS-compliant because theassembly does not have a CLSCompliant attribute
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/WebCilFile.cs(35,15): warning CA1063: Provide an overridable implementation of Dispose(bool) on 'WebCilFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/DotNetCorePathFinder.cs(33,15): warning CA1060: Move pinvokes to native methods class (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1060)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/PEFile.cs(34,15): warning CA1063: Provide an overridable implementation of Dispose(bool) on 'PEFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/ResourcesFile.cs(34,15): warning CA1063: Provide an overridable implementation of Dispose(bool) on 'ResourcesFile' or mark the type as sealed. A call to Dispose(false) should only clean up native resources. A call to Dispose(true) should clean up both managed and native resources. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/ResXResourceWriter.cs(307,23): warning CA1063: Ensure that 'ResXResourceWriter.Dispose' is declared as public andsealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/EmptyList.cs(102,20): warning CA1063: Ensure that 'EmptyList.System.IDisposable.Dispose' is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/EmptyList.cs(102,20): warning CA1063: Rename 'EmptyList.System.IDisposable.Dispose' to 'Dispose' and ensure that it is declared as public and sealed (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/LongSet.cs(31,16): warning CA2231: Implement the equality operators and make their behavior identical to that of the Equals method (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2231)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Output/PlainTextOutput.cs(31,22): warning CA1001: Type 'PlainTextOutput' owns disposable field(s) 'writer' but is not disposable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/IAnnotatable.cs(120,11): warning CA2002: Do not lock on objects with weak identity (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/ExtensionDeclaration.cs(27,44): warning CA1065: get_SymbolKind creates an exception of type NotImplementedException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/MetadataFile.cs(288,66): warning CA1065: get_SectionHeaders creates an exception of type BadImageFormatException, an exception type that should not be raised in a property. If this exception instance might be raised, use a different exception type, convert this property into a method, or change this property's logic so that it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/PEFile.cs(58,15): warning CA1063: Modify 'PEFile.Dispose' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/LongSet.cs(367,4): warning CA1065: GetHashCode creates an exception of type NotImplementedException. Exceptions should not be raised in this type of method. If this exception instance might be raised, change this method's logic so it no longer raises an exception. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Metadata/WebCilFile.cs(248,15): warning CA1063: Modify 'WebCilFile.Dispose' so that it calls Dispose(true), then callsGC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/ResourcesFile.cs(229,15): warning CA1063: Modify 'ResourcesFile.Dispose' so that it calls Dispose(true), then calls GC.SuppressFinalize on the current object instance ('this' or 'Me' in Visual Basic), and then returns (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/TypeSystem/Implementation/CustomAttribute.cs(79,10): warning CA2002: Do not lock on objects with weak identity (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/ResXResourceWriter.cs(52,22): warning CA2213: 'ResXResourceWriter' contains field 'textwriter' that is of IDisposable type 'TextWriter', but it is never disposed. Change the Dispose method on 'ResXResourceWriter' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ICSharpCode.Decompiler/Util/ResXResourceWriter.cs(51,18): warning CA2213: 'ResXResourceWriter' contains field 'stream' that is of IDisposabletype 'Stream', but it is never disposed. Change the Dispose method on 'ResXResourceWriter' to call Close or Dispose on this field. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213)
/usr/share/dotnet/sdk/10.0.100/Microsoft.Common.CurrentVersion.targets(2189,5): warning MSB9008: The referenced project ../../../ProDataGrid/src/Avalonia.Controls.DataGrid/Avalonia.Controls.DataGrid.csproj does not exist.
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(87,62): error CS0122: 'DataGridGridLinesVisibility' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(85,57): error CS0122: 'DataGridCheckBoxColumn' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(82,45): error CS0122: 'DataGridRowDetailsVisibilityMode' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(84,49): error CS0122: 'DataGridColumn' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(89,56): error CS0122: 'DataGridSelectionMode' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(81,67): error CS0122: 'DataGridRowDetailsVisibilityMode' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(97,47): error CS0122: 'DataGridCell' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(86,57): error CS0122: 'DataGridTemplateColumn' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(90,56): error CS0234: The type or namespace name 'DataGridSelectionUnit' does not exist in the namespace 'Avalonia.Controls' (are you missing an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(76,43): error CS0122: 'DataGrid' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(88,60): error CS0122: 'DataGridHeadersVisibility' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(83,72): error CS0122: 'DataGridAutoGeneratingColumnEventArgs' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/GlobalUsings.cs(79,53): error CS0122: 'DataGridTextColumn' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Metadata/Helpers.cs(37,7): error CS0246: The type or namespace name 'DataGridExtensions' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Metadata/HexFilterControl.ContentFilter.cs(3,7): error CS0246: The type or namespace name 'DataGridExtensions' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Metadata/FlagsContentFilter.cs(1,7): error CS0246: The type or namespace name 'DataGridExtensions' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/Settings/DisplayMacSettingsViewModel.cs(65,50): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler DisplayMacSettingsViewModel.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'.
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/ContextMenuEntry.cs(309,51): error CS0246: The type or namespace name 'DataGridContextMenuEventArgs' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Commands/SimpleCommand.cs(28,29): warning CS8612: Nullability of reference types in type of 'event EventHandler SimpleCommand.CanExecuteChanged' doesn't match implicitly implemented member 'event EventHandler? ICommand.CanExecuteChanged'.
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs(57,57): error CS0246: The type or namespace name 'DataTemplateSelector' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Metadata/CoffHeaderTreeNode.cs(114,53): error CS0246: The type or namespace name 'DataTemplateSelector' could not be found (are you missing a using directive or an assembly reference?)
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Commands/DelegateCommand.cs(15,29): warning CS8612: Nullability of reference types in type of 'event EventHandler DelegateCommand.CanExecuteChanged' doesn't match implicitly implemented member 'event EventHandler? ICommand.CanExecuteChanged'.
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/Commands/DelegateCommand.cs(47,29): warning CS8612: Nullability of reference types in type of 'event EventHandler DelegateCommand<T>.CanExecuteChanged' doesn't match implicitly implemented member 'event EventHandler? ICommand.CanExecuteChanged'.
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/obj/Debug/net10.0/Avalonia.Generators/Avalonia.Generators.NameGenerator.AvaloniaNameSourceGenerator/ICSharpCode.ILSpy.Search.SearchPane.g.cs(20,44): error CS0122: 'DataGrid' is inaccessible due to its protection level
/home/envy/RiderProjects/ProjectRover/src/ProjectRover/Commands/CommandWrapper.cs(89,29): warning CS8612: Nullability of reference types in type of 'event EventHandler CommandWrapper.CanExecuteChanged' doesn't match implicitly implemented member 'event EventHandler? ICommand.CanExecuteChanged'.
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/ViewModels/LegacyToolPaneModel.cs(40,17): warning CS0108: 'LegacyToolPaneModel.Content' hides inherited member 'DockableBase.Content'. Use the new keyword if hiding was intended.
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/ViewModels/TabPageModel.cs(66,18): warning CS0108: 'TabPageModel.Content' hides inherited member 'DockableBase.Content'. Use the new keyword if hiding was intended.
/home/envy/RiderProjects/ProjectRover/src/ILSpy/ILSpy/SessionSettings.cs(184,44): warning CS8612: Nullability of reference types in type of 'event PropertyChangedEventHandler SessionSettings.PropertyChanged' doesn't match implicitly implemented member 'event PropertyChangedEventHandler? INotifyPropertyChanged.PropertyChanged'.

The build failed. Fix the build errors and run again.

Reproduction steps

i followed instructions from readme

Linux-specific notes (optional but helpful)

dotnet from pacman

What you expected to happen

compilation would work

Additional information

No response

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