question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add dependency on System.Xml.Linq

See original GitHub issue

Currently FluentAssertions.dll is tightly dependent on System.Xml.Linq.dll. Its unreferencing causes a compiler error:

The type 'XDocument' is required here and is unavailable. You must add a reference to assembly 'System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Please consider re-designing to remove such necessity…

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:21 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
dennisdoomencommented, Dec 17, 2019

You’re right @comecme.

0reactions
jnyrupcommented, Nov 29, 2022

@harvzor Can you share your .csproj file or even better a minimal csproj reproducing this?

It sounds a bit like an outdated nuget package manager or IDE that does not correctly know about net6 (the one released ~1 year ago) and thinks is some .net framework 6.0 (which does not exists.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.Xml.Linq dependency on unsigned System.Core
This was a case of me learning the VSCode/Ionide. When first setting up the project, System.Xml.Linq did not resolve.
Read more >
System.Xml.Linq Namespace
Create XML trees from scratch using functional construction. Query XML trees using LINQ queries. Manipulate in-memory XML trees. Validate XML trees using XSD....
Read more >
System.Xml.Linq 3.5.21022.801
System.Xml.Linq.dll. ... dotnet add package System. ... README; Frameworks; Dependencies; Used By; Versions; Release Notes. System.Xml.Linq.
Read more >
Where the heck is System.Linq.dll? in UI for ASP.NET AJAX
I can fix one error if I right-click on my references folder, select "Add Reference...", select the ".NET" tab, and find System.Xml.Linq ......
Read more >
System.Xml.Linq reference missing - Questions & Answers
I am running Unity 5.3.1f1 Personal with VSTU 2.1 in Visual Studio 2015 Community. I have imported the Easy Touch controls. ... If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found