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

Change target frameworks to net461 and netstandard2.0 #80

Open
gitfool opened this issue Oct 28, 2020 · 2 comments
Open

Change target frameworks to net461 and netstandard2.0 #80

gitfool opened this issue Oct 28, 2020 · 2 comments

Comments

@gitfool
Copy link

gitfool commented Oct 28, 2020

Given a netstandard2.0 TFM we should be able to run scripts using dotnet cake.

I'll have a crack and submit a PR... this is trickier than I thought due to its dependencies.

@AdaskoTheBeAsT
Copy link
Contributor

Cannot be done as netstandard2.0 - needed to be targeted to concrete versions o framework - done in #83

@A9G-Data-Droid
Copy link

The last a version that targets netstandard2 is Powershell 6.1.2 but that version doesn't come with the OS, like framework does.

If the draw to framework is that it comes with a base OS install then you would want a netstandard version that targets 'PSVersion 5.1.19041.4170' as that is the current version shipped with Win10.

I would recommend having separate versions for PowerShell5\netstandard and latest\latest. If you're requiring a PowerShell7 be installed then you can also require net8.

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

No branches or pull requests

3 participants