Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paket init: Default framework restriction #4228

Merged
merged 2 commits into from Nov 14, 2023
Merged

Conversation

ChrSteinert
Copy link
Contributor

In response to #4186 , changes the default framework restriction in the paket.dependencies file when running paket init to be `auto-detect, and adds a newline at the end of the file.

While it is obviously maintainers choice to take or leave this, I also quite often "stumble" over the net5 default restriction.
I would personally might pick something like the latest LTS, but auto-detect is the least … "getting in the way of the user".

Any advice/optinion is appreciated!

Changes the default framework restriction in the paket.dependencies file
when running paket init to be �uto-detect, and adds a newline at the
end of the file.
@smoothdeveloper
Copy link
Contributor

@ChrSteinert from my subjective experience, leaving the line totally out of the paket.dependencies gives me the best experience, and advanced users can "pin" it, if they don't like the behaviour.

I think having it omitted doesn't impact the .fsproj, causes no churn in terms of version control of those files, I assume it may make the paket install take a bit longer.

My suggestion unless we get better feedback would be to remove the line from the template / paket init.

@ChrSteinert
Copy link
Contributor Author

ChrSteinert commented Sep 25, 2023 via email

@ChrSteinert ChrSteinert marked this pull request as draft September 25, 2023 17:58
@ChrSteinert
Copy link
Contributor Author

Did I just miss it, or is the (top level/group level) framework restriction not even mentioned in the docs?

@ChrSteinert
Copy link
Contributor Author

Never mind… I just cant read…

Removes the global framework restriction from the initially
created `paket.dependencies` file.
@ChrSteinert ChrSteinert marked this pull request as ready for review October 16, 2023 14:26
@forki forki merged commit 24260ec into fsprojects:master Nov 14, 2023
1 check failed
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.

None yet

3 participants