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 version number to paket.restore.targets

See original GitHub issue

Description

We have multiple developers working on the same repository and we see that paket.restore.targets is changing a lot of the time.

We assume that different versions of paket are used by different developers which causing the paket.restore.targets file to be updated/downgraded when different developers work on the repo. Even with paket “magic mode” there may be some delays as to when one developer gets an update and when another developer does.

If we could have the version number of paket to which the paket.restore.targets file belongs inside the file then developers can see whether they are behind on a paket version.

This would also open up the possibility to only update the paket.restore.targets when the version is newer and maybe warn that you are using an older version of paket.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
forkicommented, Nov 19, 2018

Imho the solution ist to force the team to use same paket version. Just put “version x.yyy.z” on top of the dependencies file

0reactions
vbfoxcommented, Nov 19, 2018

One thing I don’t remember is if the non-magic bootstrapper check the version and re-downloads if it finds a paket.exe (I didn’t change it in anyway)

If I might ask, why not magic mode ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change to Paket.Restore.targets breaks ...
Reverting the changes to the Paket.Restore.targets or downgrading to 5.173.4 fixes the build, but trying to build with 5.174.0 updates the Paket ...
Read more >
paket restore
A dependency manager for .NET with support for NuGet packages and git repositories.
Read more >
NuGet Package Version Reference
Exact details on specifying version numbers and ranges for other ... Install/restore version 6.1.0, accept any version 6.1.0 and above on ...
Read more >
Up and running with PAKET - Devon Burriss' Blog
Instructions on getting up and running fast with Paket dependency manager.
Read more >
Getting Started with Paket – Part 1 - The Cockney Coder
Paket will add the file to your project as a linked, ... MSBuild target that allows csproj files to automatically restore NuGet dependencies ......
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