Skip to content

Project Feliz.CompilerPlugins.Tests fails to build (Rider IDE) #710

Description

@ConradRoesch

Build Feliz.CompilerPlugins.Tests fails with the error:

1>Feliz.CompilerPlugins.Tests.fsproj: Error NU1101 : Unable to find package System.Reflection.Metadata. No packages exist with this id in source(s): C:\Program Files\dotnet\sdk\10.0.201\FSharp\library-packs, nuget.org
1>Feliz.CompilerPlugins.Tests.fsproj: Error NU1101 : Unable to find package System.Diagnostics.DiagnosticSource. No packages exist with this id in source(s): C:\Program Files\dotnet\sdk\10.0.201\FSharp\library-packs, nuget.org
1>------- Finished building project: Feliz.CompilerPlugins.Tests. Succeeded: False. Errors: 2. Warnings: 0

(I am building the Feliz.sln using Rider.)

This can be fixed by specifying a package version for System.Diagnostics.DiagnosticSource in the Directory.Packages.props file in the Feliz.sln root.

If my proposed fix is acceptable, I have created a PR to add the latest stable version of System.Diagnostics.DiagnosticSource (version 10.0.6) to Directory.Packages.props.

#708

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions