Skip to content

Solve 'System.Object is not defined or imported' on csproj reference#466

Merged
waf merged 2 commits into
mainfrom
handle-system-object-error-on-csproj-reference
Jun 6, 2026
Merged

Solve 'System.Object is not defined or imported' on csproj reference#466
waf merged 2 commits into
mainfrom
handle-system-object-error-on-csproj-reference

Conversation

@waf
Copy link
Copy Markdown
Owner

@waf waf commented Jun 6, 2026

Ensure we use the implementation assemblies rather than implicitly loading the reference assemblies when evaluating -r Foo.csproj

@waf waf linked an issue Jun 6, 2026 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.4%. Comparing base (b3cf348) to head (0bf50cf).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #466   +/-   ##
=====================================
  Coverage   70.4%   70.4%           
=====================================
  Files         94      94           
  Lines       6836    6837    +1     
  Branches    1005    1006    +1     
=====================================
+ Hits        4814    4815    +1     
  Misses      1694    1694           
  Partials     328     328           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waf waf merged commit 4981566 into main Jun 6, 2026
3 checks passed
@waf waf deleted the handle-system-object-error-on-csproj-reference branch June 6, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error CS0518: Predefined type 'System.Object' is not defined or imported

1 participant