diff --git a/nuget/Program.cs b/nuget/Program.cs index daf408e794..df9d16f28a 100644 --- a/nuget/Program.cs +++ b/nuget/Program.cs @@ -33,9 +33,9 @@ public class Program /// /// Run with --help for a full list of arguments supported /// - public static void Main(string[] args) + public static int Main(string[] args) { - new AutoRun().Execute(args); + return new AutoRun().Execute(args); } } } \ No newline at end of file diff --git a/nuget/Program.vb b/nuget/Program.vb index f105be3ad0..86b8c0ea01 100644 --- a/nuget/Program.vb +++ b/nuget/Program.vb @@ -30,8 +30,8 @@ Public Class Program ''' various locations, depending on the arguments passed. ''' ''' Run with --help for a full list of arguments supported - Public Shared Sub Main(ByVal args() As String) - Call New AutoRun().Execute(args) - End Sub + Public Shared Function Main(ByVal args() As String) As Integer + Return New AutoRun().Execute(args) + End Function End Class