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.

Some classes implement IDisposableObservable, but there is no reference to Microsoft.VisualStudio.Validation

See original GitHub issue

Some classes, such as SimplexStream, implement the IDisposableObservable interface. This interface is defined in Microsoft.VisualStudio.Validation, but the NerdBank.Streams package dropped its (declared) dependency on Microsoft.VisualStudio.Validation in the 2.7 series.

Wouldn’t it be better NerdBank.Streams to add a package reference to Microsoft.VisualStudio.Validation if it exposes interfaces from that type?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
qmfrederikcommented, Apr 29, 2021

Yeah, probably:

In src/Nerdbank.Streams/Nerdbank.Streams.csproj:

    <PackageReference Include="Microsoft.VisualStudio.Threading" Version="16.9.60" PrivateAssets="build;analyzers;compile" />
0reactions
qmfrederikcommented, Apr 29, 2021

Thanks, @AArnott .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validate code with dependency diagrams - Visual Studio ...
This issue is reported on a project that does not include a dependency diagram file, but refers to the dependency validation analyzers. If ......
Read more >
"Cannot access a disposed object." Object name: 'Microsoft ...
Right-click Edit ConsoleApp1.csproj; Delete the Sdk attribute and it's contents; Save. ObjectDisposedException: Microsoft.VisualStudio.
Read more >
Error trying to install Visual Studio Community 2019 ...
After deleting all "Microsoft.VisualStudio.Validation.dll" found by a file explorer search and reinstalling visual studio, it worked!
Read more >
Microsoft.VisualStudio.Validation 17.6.11
This project is available as the Microsoft.VisualStudio.Validation NuGet package. Basic input validation via the Requires class throws an ArgumentException.
Read more >
Visual Studio - Wikipedia
Microsoft Visual Basic is Microsoft's implementation of the VB.NET language and associated tools and language services. It was introduced with Visual Studio ....
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