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.

[Question]: Nuget package version compatibility

See original GitHub issue

Hello,

We’re using Azure DevOps to run our Playwright tests and at the moment we’re installing Playwright on demand before we run the tests via pwsh bin/Debug/net6.0/playwright.ps1 install --with-deps chromium

This takes approximately 1m 30s to install it.

We’d like to “pre-install” Playwright by baking it into a Docker image that we would use via a self-hosted build agent.

We’re not sure however if there is some sort of strong-coupling or backwards compatibility issues - e.g. if the current “client” Nuget version is 1.22.0 and we would bump the “server” to a newer version in our Docker image - would this lead to any issues?

The vice versa I would expect to lead to issues, especially if the “client” relies on some new functionality that is not available on an older “server” version.

Thank you, Cosmin

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mxschmittcommented, Aug 4, 2022

TL;DR: if you use the official Docker image with the exact version as .NET dependency, then you don’t need install/install-deps if you use an official supported OS aka Ubuntu or the official Docker image with a different version tag, then you need install/install-deps OR install --with-deps

1reaction
mxschmittcommented, Aug 4, 2022

Yes please, because like this you generate a huge amount of notifications, people will get emails etc. I’m totally fine with the other way!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introducing Compatible Packages on NuGet.org
This will give you a table of all provided assets based on the .NET product and version. In addition to compatible target framework...
Read more >
what is the best way to find out if a nuget package ...
If you see it targets a netstandard version then it will work with .NET Core. Share.
Read more >
Microsoft.Windows.Compatibility 7.0.4
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET...
Read more >
How to test for backwards compatibility in NuGet?
From my experience with NuGet, backwards compatibility is really good. Chance of package breaking something is small.
Read more >
NuGet - Package Compatibility
A compatible package means that it contains assemblies built for at least one target .NET framework that's compatible with the consuming project's target ......
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