-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Build failed. Properties, Items, and Target results cannot be obtained. See details in stderr above. #9339
Comments
This looks pretty interesting, but the first thing that jumps out at me is Was there any output to stderr? This isn't a good error experience, which we should look at--but if you describe what you want in slightly more detail we may be able to help you out. |
you shouldn't! |
Can you add -bl to that invocation and see if there are any more error details in the binlog? |
There are no errors in the bin log at first glance. |
Ok; I think I figured out what went wrong here. If you restore only (0 other targets), it skips adding the ProvideProjectStateAfterBuild flag. I'll look into how to resolve that momentarily. |
Thanks everyone! |
Issue Description
I'm trying to get the values of the
ReferencePathWithRefAssemblies
after adotnet restore
Steps to Reproduce
src/Telplin
dotnet restore --getProperty:ReferencePathWithRefAssemblies
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
The text was updated successfully, but these errors were encountered: