fixing build scripts and adding version number to output when starting app · 4688aed4bc - SVN.BY: Go Git Service
Browse Source

fixing build scripts and adding version number to output when starting app

Tiernan OToole 8 years ago
parent
commit
4688aed4bc
3 changed files with 5 additions and 3 deletions
  1. 3 1
      B2Uploader/Program.cs
  2. 1 1
      buildx64.cmd
  3. 1 1
      buildx86.cmd

+ 3 - 1
B2Uploader/Program.cs

@@ -43,7 +43,8 @@ namespace B2Uploader
43 43
         static void Main(string[] args)
44 44
         {
45 45
             var result = CommandLine.Parser.Default.ParseArguments<CmdLineOptions>(args);
46
-                      
46
+
47
+            logger.Debug("Starting B2Uploader Version: {0}", System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
47 48
 
48 49
             var existCode = result.MapResult(options => {
49 50
                 if (!Directory.Exists(options.Directory))
@@ -52,6 +53,7 @@ namespace B2Uploader
52 53
                     return 0;
53 54
                 }
54 55
 
56
+                
55 57
                 if (options.Verbose)
56 58
                 {
57 59
                     logger.Debug("Authorizing User");

+ 1 - 1
buildx64.cmd

@@ -1 +1 @@
1
-%SYSTEMROOT%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe /p:Configuration=Releasex64,OutputPath="%~dp0\bin\64"
1
+%SYSTEMROOT%\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe /m /p:Configuration=Releasex64,OutputPath="%~dp0\bin\x64"

+ 1 - 1
buildx86.cmd

@@ -1 +1 @@
1
-%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "%~dp0\B2Uploader.sln" /p:Configuration=Releasex86,OutputPath="%~dp0\bin\64"
1
+%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe /m "%~dp0\B2Uploader.sln" /p:Configuration=Releasex86,OutputPath="%~dp0\bin\x86"