diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs index e28a437e4eb0..fb51ae7a70e9 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureMemcacheRole.cs @@ -73,6 +73,7 @@ public EnableAzureMemcacheRoleCommand() [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { + WriteWarning("This cmdlet will be removed in a future release as we are retiring Managed Cache scaffolding support."); string rootPath = CommonUtilities.GetServiceRootPath(CurrentPath()); RoleName = string.IsNullOrEmpty(RoleName) ? CommonUtilities.GetRoleName(rootPath, CurrentPath()) : RoleName; diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs index e9194c082ca0..24297b5ffa8e 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/AddAzureCacheWorkerRole.cs @@ -49,6 +49,7 @@ public AddAzureCacheWorkerRoleCommand() [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { + WriteWarning("This cmdlet will be removed in a future release as we are retiring Managed Cache scaffolding support."); AddAzureCacheWorkerRoleProcess(Name, Instances, CommonUtilities.GetServiceRootPath(CurrentPath())); }