diff --git a/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs b/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
index d451f31ee..5ed97e733 100644
--- a/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
+++ b/src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs
@@ -16,8 +16,9 @@ public static class GolangAppHostingExtension
/// The working directory to use for the command. If null, the working directory of the current process is used.
/// The optinal arguments to be passed to the executable when it is started.
/// A reference to the .
+ [Obsolete("Use AddGolangApp with buildTags parameter instead. This method will be removed in a future version.")]
public static IResourceBuilder AddGolangApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string workingDirectory, string[] args)
- => AddGolangApp(builder, name, workingDirectory, args);
+ => AddGolangApp(builder, name, workingDirectory, args, null);
///
/// Adds a Golang application to the application model. Executes the executable Golang app.