diff --git a/src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs b/src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs index 98f17465..26c3ca60 100644 --- a/src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs +++ b/src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs @@ -11,6 +11,9 @@ namespace Aspire.Hosting public static partial class GolangAppHostingExtension { public static ApplicationModel.IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[]? args = null, string[]? buildTags = null) { throw null; } + + [System.Obsolete("Use AddGolangApp with buildTags parameter instead. This method will be removed in a future version.")] + public static ApplicationModel.IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, string name, string workingDirectory, string[] args) { throw null; } } }