Skip to content

[Bug]: Build failed. Properties, Items, and Target results cannot be obtained. See details in stderr above. #9339

@nojaf

Description

@nojaf

Issue Description

I'm trying to get the values of the ReferencePathWithRefAssemblies after a dotnet restore

Steps to Reproduce

Expected Behavior

I'm not sure this property exists, this is a bit of a hunch at this point.
At the very least, it should not error I think.

I'm having the same problem with dotnet restore -f --getTargetResult:Restore

Actual Behavior

Build failed. Properties, Items, and Target results cannot be obtained. See details in stderr above.

Analysis

I'm trying to get the resolved assemblies that are invoking dotnet restore.

Versions & Configurations

dotnet --version

8.0.100-rc.2.23502.2

dotnet msbuild --version

MSBuild version 17.8.0+6cdef4241 for .NET
17.8.0.47204

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triageHave yet to determine what bucket this goes in.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions