diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index f5d37a38e943..c776f31b95fa 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,9 +1,9 @@ - + https://github.com/dotnet/templating - b1fcea318f07681249f4d9ac33005eb99e77adb1 + 4827cbc295e50af2f7162172e81514ad3b671bf0 diff --git a/eng/Versions.props b/eng/Versions.props index c5127a08d9b1..56191ac381f5 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -124,7 +124,7 @@ - 8.0.100-alpha.1.23067.1 + 8.0.100-alpha.1.23068.2 $(MicrosoftTemplateEngineAbstractionsPackageVersion) $(MicrosoftTemplateEngineAbstractionsPackageVersion) $(MicrosoftTemplateEngineAbstractionsPackageVersion) @@ -185,7 +185,7 @@ - 6.8.0 + 6.9.0 6.1.0 8.0.0-beta.23054.2 4.8.2 diff --git a/src/Cli/Microsoft.TemplateEngine.Cli/CliTemplateEngineHost.cs b/src/Cli/Microsoft.TemplateEngine.Cli/CliTemplateEngineHost.cs index d278ccde493f..1992623aef22 100644 --- a/src/Cli/Microsoft.TemplateEngine.Cli/CliTemplateEngineHost.cs +++ b/src/Cli/Microsoft.TemplateEngine.Cli/CliTemplateEngineHost.cs @@ -83,27 +83,6 @@ public override bool TryGetHostParamDefault(string paramName, out string? value) } } - [Obsolete("Use " + nameof(Logger) + " instead")] - void ITemplateEngineHost.LogDiagnosticMessage(string message, string category, params string[] details) - { - //do nothing if used - //DefaultTemplateEngineHost may log these messages to Console - } - - [Obsolete("Use " + nameof(Logger) + " instead")] - void ITemplateEngineHost.LogTiming(string label, TimeSpan duration, int depth) - { - //do nothing if used - //DefaultTemplateEngineHost may log these messages to Console - } - - [Obsolete("Use " + nameof(Logger) + " instead")] - void ITemplateEngineHost.LogMessage(string message) - { - //do nothing if used - //DefaultTemplateEngineHost may log these messages to Console - } - [Obsolete("Use CreationStatusResult instead")] bool ITemplateEngineHost.OnPotentiallyDestructiveChangesDetected(IReadOnlyList changes, IReadOnlyList destructiveChanges) { diff --git a/src/Tests/Microsoft.TemplateEngine.Cli.UnitTests/CliTestHostFactory.cs b/src/Tests/Microsoft.TemplateEngine.Cli.UnitTests/CliTestHostFactory.cs index ebd53d189278..6df31217536a 100644 --- a/src/Tests/Microsoft.TemplateEngine.Cli.UnitTests/CliTestHostFactory.cs +++ b/src/Tests/Microsoft.TemplateEngine.Cli.UnitTests/CliTestHostFactory.cs @@ -113,64 +113,12 @@ public void Dispose() #region Obsolete methods #pragma warning disable CA1041 // Provide ObsoleteAttribute message - [Obsolete] - void ITemplateEngineHost.OnSymbolUsed(string symbol, object value) - { - //do nothing - } - - [Obsolete] - bool ITemplateEngineHost.OnParameterError(ITemplateParameter parameter, string receivedValue, string message, out string newValue) - { - //do nothing - newValue = receivedValue; - return false; - } - - [Obsolete] - bool ITemplateEngineHost.OnNonCriticalError(string code, string message, string currentFile, long currentPosition) - { - //do nothing - return false; - } - - [Obsolete] - void ITemplateEngineHost.OnCriticalError(string code, string message, string currentFile, long currentPosition) - { - //do nothing - } - - [Obsolete] - void ITemplateEngineHost.LogMessage(string message) - { - //do nothing - } - [Obsolete] bool ITemplateEngineHost.OnPotentiallyDestructiveChangesDetected(IReadOnlyList changes, IReadOnlyList destructiveChanges) { //do nothing return false; } - - [Obsolete] - bool ITemplateEngineHost.OnConfirmPartialMatch(string name) - { - //do nothing - return false; - } - - [Obsolete] - void ITemplateEngineHost.LogDiagnosticMessage(string message, string category, params string[] details) - { - //do nothing - } - - [Obsolete] - void ITemplateEngineHost.LogTiming(string label, TimeSpan duration, int depth) - { - //do nothing - } #pragma warning restore CA1041 // Provide ObsoleteAttribute message #endregion }