-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fake target InstallDotNetCore
#79
Comments
I think the only way it can be useful is if it upgrades the local machine when we upgrade the template to the latest SDK. But for clean machines there's no point is there?. |
Upgrading local machine can be seen as dangerous I think. It will not impact only the template but all the project on the user system. |
Agreed. I'm happy to remove that task. |
I vote to keep it. It's very useful for the rest of the team and it upgrades the stuff for everyone if you touch global.json |
I think that's a separate concern though. I've been burned by this - what if you run a project with an old global.json and it overwrites what you already have? Alternatively, you may not want to upgrade - this happens without your evening knowing. |
not project.json - global.json and that file is .NET Core best practice |
Yeah, sorry - typo. I know they're different :-) Still not sure that's really what we want but open to being educated :-) |
If you think this is the good way I am ok with that :) It's just take forever (5 to 15minutes) to do the first build. And I suppose my issue is more because I work on a lot of project and it's annoying when each one download his own version of dotnet by erasing the previous ones. What I am trying to say, his perhaps this not an issue for SAFE-Template because in general people with want to use it for their work and not some OSS project (library, etc.). |
First run time is super important. It's already long enough with Paket and Yarn downloading the universe. |
It won't take forever if you already have the correct version. |
Perhaps, we could simply make it an option in the template ? |
sure that would work |
And turn it off by default. Especially if you have multiple projects this will just end up ping-ponging between versions. |
It's important to use the correct version. Similar to locking in paket and
yarn
Isaac Abraham <notifications@github.com> schrieb am Do., 3. Mai 2018, 19:04:
… And turn it off by default. Especially if you have multiple projects this
will just end up ping-ponging between versions.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNPRewb7pzSFR8LdaooUVwRf10laBks5tuziRgaJpZM4TwwtX>
.
|
If we make it an option, no one is ever going to use it I'm afraid. |
This actually broke my setup today. The template created a project with .NET Core 2.1.105, when I already had 2.1.300 installed. The build went off fine, eventually, but Ionide couldn't get any of the projects to work, which I then learned was because somehow my local tools had broken as well due to the mismatched version. Changing global.json to 2.1.300 and reinstalling the SDK fixed it, but it was a nasty surprise. |
I think a netcore2.1 version will be released soon
Am Di., 12. Juni 2018 um 17:20 Uhr schrieb Annaia Berry <
notifications@github.com>:
… This actually broke my setup today. The template created a project with
.NET Core 2.1.105, when I already had 2.1.300 installed. The build went off
fine, eventually, but Ionide couldn't get any of the projects to work,
which I then learned was because somehow my local tools had broken as well
due to the mismatched version.
Changing global.json to 2.1.300 and reinstalling the SDK fixed it, but it
was a nasty surprise.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNN6wjAZRA1zgzTS9VmBJnK9kHzMXks5t79xHgaJpZM4TwwtX>
.
|
Yes it's still in progress #101 |
I notice that the FAKE build script also is coupled to a specific version of dotnetcore - so we now have global.json and FAKE pointing to (currently) 2.1.3. I can see people changing one but not other other etc. etc. |
What's your take on moving the required version back to global.json #146 ? |
Better to have one source of truth :) And |
I've decided to remove "Install dotnet" step for now - e4462c9 Let's see what people think of it - if you encounter issues please reopen |
Do we really need the
InstallDotNetCore
target ?If the user want to use the template they need to have
dotnet
already installed. I am asking because, when contributing to a new project this is really painful to have this target.I always comment it so it doesn't download dotnet each time I switch from one project to another.
But perhaps there is good reason for it.
The text was updated successfully, but these errors were encountered: