Skip to content

paket init: Default framework restriction - #4228

Merged
forki merged 2 commits into
fsprojects:masterfrom
ChrSteinert:4186
Nov 14, 2023
Merged

forki merged 2 commits into
fsprojects:masterfrom
ChrSteinert:4186

Conversation

@ChrSteinert

Copy link
Copy Markdown
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
Copy Markdown
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

ChrSteinert commented Sep 25, 2023 via email

Copy link
Copy Markdown
Contributor Author

@ChrSteinert
ChrSteinert marked this pull request as draft September 25, 2023 17:58
@ChrSteinert

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Never mind… I just cant read…

Removes the global framework restriction from the initially
created `paket.dependencies` file.
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.

3 participants