File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 5252// by using the '*' as shown below:
5353// [assembly: AssemblyVersion("1.0.*")]
5454
55- [ assembly: AssemblyVersion ( "1.2.5 " ) ]
56- [ assembly: AssemblyFileVersion ( "1.2.5 " ) ]
55+ [ assembly: AssemblyVersion ( "1.2.6 " ) ]
56+ [ assembly: AssemblyFileVersion ( "1.2.6 " ) ]
Original file line number Diff line number Diff line change 1- using System . Diagnostics ;
1+ using System ;
2+ using System . Diagnostics ;
23using System . IO ;
34
45namespace SymlinkCreator . core
@@ -45,6 +46,18 @@ public void ExecuteAsAdmin()
4546 CreateWrapperScript ( wrapperScriptFileName , stderrFileName ) ;
4647 ExecuteWrapperScript ( wrapperScriptFileName , stderrFileName ) ;
4748 }
49+ catch ( Exception ex )
50+ {
51+ if ( StandardError . Length > 0 )
52+ {
53+ StandardError += "\n " ;
54+ }
55+ StandardError += ex . ToString ( ) ;
56+ if ( ExitCode == 0 )
57+ {
58+ ExitCode = - 1 ;
59+ }
60+ }
4861 finally
4962 {
5063 File . Delete ( wrapperScriptFileName ) ;
You can’t perform that action at this time.
0 commit comments