-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
DotNetCore -> DotNet Rename Missed Objects #3722
Comments
Thanks @BlythMeister. This one you spotted is "by design". The goal was to introduce the new Unfortunately the class The plan is to remove all the That said, the fact that The only scenario I can think of where you would still need to include the old namespace is Frosting-only, if you specifically use Let me know if I missed anything |
Yeah, that's exactly how I noticed it, in my frosting project I bulk removed the "Core" from "DotNetCore" and this updated the using. It's not something I'm too concerned about to be honest and the reasoning makes perfect sense. So this can be closed 👍 |
The only other potential idea could be to move the classes in cake 2.x. At some point, this will be a hard break for someone using frosting whereby the namespace is in a using statement. Is it better to make that hard break now so its when they are changing to the new alias? |
Is this what you mean? 1.)
? Therefore breaking Frosting now, rather than in 3.0? |
Yeah exactly (and any of the other classes in the DotNetCore namespace which don't have DotNetCore in the name. I think it will mean 1 breaking release rather than 2. |
@BlythMeister Unfortunately we missed the boat on this one... Cake v2.0 shipped earlier today, so we'll have to schedule this one for v3.0 |
…iases * fixes cake-build#3991 * fixes cake-build#3722
…iases * fixes cake-build#3991 * fixes cake-build#3722
GH3722/GH3991: Remove Obsolete DotNetCore aliases
🎉 This issue has been resolved in version v3.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Prerequisites
Cake runner
Cake .NET Tool, Cake Frosting, Cake runner for .NET Framework, Cake runner for .NET Core
Cake version
2.0.0-rcx
Operating system
N/A
Operating system architecture
N/A
CI Server
No response
What are you seeing?
The new DotNetMSBuildSettings object (https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNet/MSBuild/DotNetMSBuildSettings.cs) iteself references some
DotNetCore
namespaced classes.What is expected?
DotNetCore
namespace is all obsolete and replaced with theDotNet
namespaceSteps to Reproduce
See file https://github.com/cake-build/cake/blob/develop/src/Cake.Common/Tools/DotNet/MSBuild/DotNetMSBuildSettings.cs it has a using statement
Cake.Common.Tools.DotNetCore.MSBuild;
as it neededs things in theDotNetCore
namespace.Output log
No response
The text was updated successfully, but these errors were encountered: