emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csharp-mode c9e1aa9 081/459: Merge pull request #29 fro


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode c9e1aa9 081/459: Merge pull request #29 from josteink/compilation-regexps
Date: Sun, 22 Aug 2021 13:59:01 -0400 (EDT)

branch: externals/csharp-mode
commit c9e1aa9f748b7f99349aa6f66f37a61ff7d00f97
Merge: 723341b 69eaa1a
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Merge pull request #29 from josteink/compilation-regexps
    
    Compilation regexps
---
 csharp-mode-tests.el           | 18 ++++++++++-
 csharp-mode.el                 | 70 +++++++++++++++++++++++++++++++++++++++-
 test-files/msbuild-error.txt   | 32 ++++++++++++++++++
 test-files/msbuild-warning.txt | 58 +++++++++++++++++++++++++++++++++
 test-files/xbuild-error.txt    | 47 +++++++++++++++++++++++++++
 test-files/xbuild-warning.txt  | 73 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 296 insertions(+), 2 deletions(-)

diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index 0662b6f..2021732 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -10,7 +10,7 @@
 
 (defun get-current-line-contents ()
   (let* ((start)
-        (end))
+         (end))
     (move-beginning-of-line 1)
     (setq start (point))
     (move-end-of-line 1)
@@ -49,5 +49,21 @@
       (should
        (equal buffer1 buffer2)))))
 
+(ert-deftest build-warnings-and-errors-are-parsed ()
+  (dolist (test-case
+          `(("./test-files/msbuild-warning.txt" 
,csharp-compilation-re-msbuild-warning 3)
+            ("./test-files/msbuild-error.txt" 
,csharp-compilation-re-msbuild-error 1)
+            ("./test-files/xbuild-warning.txt" 
,csharp-compilation-re-xbuild-warning 5)
+            ("./test-files/xbuild-error.txt" 
,csharp-compilation-re-xbuild-error 1)
+            ))
+
+    (let* ((file-name (car test-case))
+          (regexp    (cadr test-case))
+          (times     (caddr test-case))
+          (find-file-hook '()) ;; avoid vc-mode file-hooks when opening!
+          (buffer (find-file-read-only file-name)))
+      (dotimes (number times)
+       (re-search-forward regexp))
+      (kill-buffer buffer))))
 
 ;;(ert-run-tests-interactively t)
diff --git a/csharp-mode.el b/csharp-mode.el
index e2003e7..2975c20 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -2,7 +2,7 @@
 ;;; csharp-mode.el --- C# mode derived mode
 
 ;; Author     : Dylan R. E. Moonfire (original)
-;; Maintainer : Jostein Kj�nigsen <jostein@gmail.com>
+;; Maintainer : Jostein Kjønigsen <jostein@gmail.com>
 ;; Created    : Feburary 2005
 ;; Modified   : November 2014
 ;; Version    : 0.8.8
@@ -4136,6 +4136,74 @@ The return value is meaningless, and is ignored by 
cc-mode.
 ;;                ;; irrelevant menu alternatives.
 ;;                (cons "C#" (c-lang-const c-mode-menu csharp)))
 
+;;; Compilation regexps
+;; When invoked by MSBuild, csc’s errors look like this:
+;; subfolder\file.cs(6,18): error CS1006: Name of constructor must
+;; match name of class [c:\Users\user\project.csproj]
+
+(defun csharp--compilation-error-file-resolve ()
+  ;; http://stackoverflow.com/a/18049590/429091
+  (cons (match-string 1) (file-name-directory (match-string 4))))
+
+(defconst csharp-compilation-re-msbuild-error
+  (concat
+   "^[[:blank:]]*"
+   "\\([^(\r\n)]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): "
+   "error [[:alnum:]]+: [^[\r\n]+\\[\\([^]\r\n]+\\)\\]$")
+  "Regexp to match compilation error from msbuild.")
+
+(defconst csharp-compilation-re-msbuild-warning
+  (concat
+   "^[[:blank:]]*"
+   "\\([^(\r\n)]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): "
+   "warning [[:alnum:]]+: [^[\r\n]+\\[\\([^]\r\n]+\\)\\]$")
+  "Regexp to match compilation warning from msbuild.")
+
+(defconst csharp-compilation-re-xbuild-error
+  (concat
+   "^[[:blank:]]*"
+   "\\([^(\r\n)]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): "
+   "error [[:alnum:]]+: .+$")
+  "Regexp to match compilation error from xbuild.")
+
+(defconst csharp-compilation-re-xbuild-warning
+  (concat
+   "^[[:blank:]]*"
+   "\\([^(\r\n)]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): "
+   "warning [[:alnum:]]+: .+$")
+  "Regexp to match compilation warning from xbuild.")
+
+(eval-after-load 'compile
+  (lambda ()
+    (dolist
+        (regexp
+         `((xbuild-error
+            ,csharp-compilation-re-xbuild-error
+            1 2 3 2)
+           (xbuild-warning
+            ,csharp-compilation-re-xbuild-warning
+            1 2 3 1)
+           (msbuild-error
+            ,csharp-compilation-re-msbuild-error
+            csharp--compilation-error-file-resolve
+            2
+            3
+            2
+            nil
+            (1 compilation-error-face)
+            (4 compilation-error-face))
+           (msbuild-warning
+            ,csharp-compilation-re-msbuild-warning
+            csharp--compilation-error-file-resolve
+            2
+            3
+            1
+            nil
+            (1 compilation-warning-face)
+            (4 compilation-warning-face))))
+      (add-to-list 'compilation-error-regexp-alist-alist regexp)
+      (add-to-list 'compilation-error-regexp-alist (car regexp)))))
+
 ;;; Autoload mode trigger
 ;;;###autoload
 (add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
diff --git a/test-files/msbuild-error.txt b/test-files/msbuild-error.txt
new file mode 100644
index 0000000..db60400
--- /dev/null
+++ b/test-files/msbuild-error.txt
@@ -0,0 +1,32 @@
+-*- xmode: compilation; default-directory: 
"~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*-
+Compilation started at Sat Feb 21 10:26:47
+
+"C:\Program Files (x86)\MSBuild\12.0\Bin\Msbuild.exe"
+Microsoft (R) Build Engine version 12.0.31101.0
+[Microsoft .NET Framework, version 4.0.30319.35312]
+Copyright (C) Microsoft Corporation. All rights reserved.
+
+Build started 2/21/2015 10:26:47 AM.
+Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 on node 1 (default targets).
+Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (1) is building 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (2) on node 1 (default targets).
+GenerateTargetFrameworkMonikerAttribute:
+Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output 
files are up-to-date with respect to the input files.
+CoreCompile:
+  C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702 
/nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll" / [...]
+Folder\Class1.cs(11,12): error CS1002: ; expected 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+Done Building Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (default targets) -- FAILED.
+Done Building Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (default targets) -- FAILED.
+
+Build FAILED.
+
+"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (default target) (1) ->
+"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (default target) (2) ->
+(CoreCompile target) -> 
+  Folder\Class1.cs(11,12): error CS1002: ; expected 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+
+    0 Warning(s)
+    1 Error(s)
+
+Time Elapsed 00:00:00.26
+
+Compilation exited abnormally with code 1 at Sat Feb 21 10:26:48
diff --git a/test-files/msbuild-warning.txt b/test-files/msbuild-warning.txt
new file mode 100644
index 0000000..2411806
--- /dev/null
+++ b/test-files/msbuild-warning.txt
@@ -0,0 +1,58 @@
+-*- xmode: compilation; default-directory: 
"~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*-
+Compilation started at Sat Feb 21 10:24:14
+
+"C:\Program Files (x86)\MSBuild\12.0\Bin\Msbuild.exe"
+Microsoft (R) Build Engine version 12.0.31101.0
+[Microsoft .NET Framework, version 4.0.30319.35312]
+Copyright (C) Microsoft Corporation. All rights reserved.
+
+Build started 2/21/2015 10:24:14 AM.
+Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 on node 1 (default targets).
+Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (1) is building 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (2) on node 1 (default targets).
+GenerateTargetFrameworkMonikerAttribute:
+Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output 
files are up-to-date with respect to the input files.
+CoreCompile:
+  C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702 
/nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll" / [...]
+Class1.cs(11,11): warning CS0169: The field 
'ClassLibrary1.Class1.BadImageFormatExcep' is never used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+Folder\Class1.cs(11,9): warning CS0169: The field 
'ClassLibrary1.Folder.Class1.foo' is never used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+CopyFilesToOutputDirectory:
+  Copying file from "obj\Debug\ClassLibrary1.dll" to 
"bin\Debug\ClassLibrary1.dll".
+  ClassLibrary1 -> 
c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\bin\Debug\ClassLibrary1.dll
+  Copying file from "obj\Debug\ClassLibrary1.pdb" to 
"bin\Debug\ClassLibrary1.pdb".
+Done Building Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (default targets).
+GenerateTargetFrameworkMonikerAttribute:
+Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output 
files are up-to-date with respect to the input files.
+CoreCompile:
+  C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702 
/nostdlib+ /platform:anycpu32bitpreferred /errorreport:prompt /warn:4 
/define:DEBUG;TRACE /highentropyva+ 
/reference:c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\bin\Debug\ClassLibrary1.dll
 /reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" 
/reference:"C:\Program Files (x86)\Reference 
Assemblies\Microsoft\Framework\.NETFra [...]
+Program.cs(14,11): warning CS0168: The variable 'foo' is declared but never 
used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj]
+Program.cs(15,11): warning CS0168: The variable 'sgedf' is declared but never 
used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj]
+_CopyFilesMarkedCopyLocal:
+  Copying file from 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\bin\Debug\ClassLibrary1.dll"
 to "bin\Debug\ClassLibrary1.dll".
+  Copying file from 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\bin\Debug\ClassLibrary1.pdb"
 to "bin\Debug\ClassLibrary1.pdb".
+_CopyAppConfigFile:
+  Copying file from "App.config" to "bin\Debug\ConsoleApplication1.exe.config".
+CopyFilesToOutputDirectory:
+  Copying file from "obj\Debug\ConsoleApplication1.exe" to 
"bin\Debug\ConsoleApplication1.exe".
+  ConsoleApplication1 -> 
c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
+  Copying file from "obj\Debug\ConsoleApplication1.pdb" to 
"bin\Debug\ConsoleApplication1.pdb".
+Done Building Project 
"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (default targets).
+
+Build succeeded.
+
+"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (default target) (1) ->
+"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj"
 (default target) (2) ->
+(CoreCompile target) -> 
+  Class1.cs(11,11): warning CS0169: The field 
'ClassLibrary1.Class1.BadImageFormatExcep' is never used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+  Folder\Class1.cs(11,9): warning CS0169: The field 
'ClassLibrary1.Folder.Class1.foo' is never used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ClassLibrary1\ClassLibrary1.csproj]
+
+
+"c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj"
 (default target) (1) ->
+  Program.cs(14,11): warning CS0168: The variable 'foo' is declared but never 
used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj]
+  Program.cs(15,11): warning CS0168: The variable 'sgedf' is declared but 
never used 
[c:\Users\jesse_000\Dropbox\barfapp\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj]
+
+    4 Warning(s)
+    0 Error(s)
+
+Time Elapsed 00:00:00.92
+
+Compilation finished at Sat Feb 21 10:24:15
diff --git a/test-files/xbuild-error.txt b/test-files/xbuild-error.txt
new file mode 100644
index 0000000..77a366e
--- /dev/null
+++ b/test-files/xbuild-error.txt
@@ -0,0 +1,47 @@
+-*- xmode: compilation; default-directory: 
"~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*-
+Compilation started at Fri Feb 20 22:52:43
+
+xbuild /p:GenerateFullPaths=true
+XBuild Engine Version 12.0
+Mono, Version 3.12.0.0
+Copyright (C) 2005-2013 Various Mono authors
+
+Build started 2/20/2015 10:52:44 PM.
+__________________________________________________
+Project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj"
 (default target(s)):
+       Target PrepareForBuild:
+               Configuration: Debug Platform: AnyCPU
+       Target ResolveProjectReferences:
+               Project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj"
 (default target(s)):
+                       Target PrepareForBuild:
+                               Configuration: Debug Platform: AnyCPU
+                       Target GenerateSatelliteAssemblies:
+                       No input files were specified for target 
GenerateSatelliteAssemblies, skipping.
+                       Target GenerateTargetFrameworkMonikerAttribute:
+                       Skipping target 
"GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
+                       Target CoreCompile:
+                               Tool 
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mcs.exe 
execution started with arguments: /noconfig /debug:full /debug+ /optimize- 
/out:obj/Debug/ClassLibrary1.dll Class1.cs Folder/Class1.cs 
Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /fullpaths 
/nostdlib 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.dll
 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.Xml.Linq.dll
 /referenc [...]
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs(12):
 error CS1525: Unexpected symbol `}', expecting `;', `{', `=>', or `where'
+                       Task "Csc" execution -- FAILED
+                       Done building target "CoreCompile" in project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj".--
 FAILED
+               Done building project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj".--
 FAILED
+       Task "MSBuild" execution -- FAILED
+       Done building target "ResolveProjectReferences" in project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj".--
 FAILED
+Done building project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj".--
 FAILED
+
+Build FAILED.
+Errors:
+
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj
 (default targets) ->
+/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets
 (ResolveProjectReferences target) ->
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj
 (default targets) ->
+/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
 (CoreCompile target) ->
+
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs(12):
 error CS1525: Unexpected symbol `}', expecting `;', `{', `=>', or `where'
+
+        0 Warning(s)
+        1 Error(s)
+
+Time Elapsed 00:00:00.9346550
+
+Compilation exited abnormally with code 1 at Fri Feb 20 22:52:45
diff --git a/test-files/xbuild-warning.txt b/test-files/xbuild-warning.txt
new file mode 100644
index 0000000..5a77ba2
--- /dev/null
+++ b/test-files/xbuild-warning.txt
@@ -0,0 +1,73 @@
+-*- xmode: compilation; default-directory: 
"~/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/" -*-
+Compilation started at Fri Feb 20 22:55:05
+
+xbuild /p:GenerateFullPaths=true
+XBuild Engine Version 12.0
+Mono, Version 3.12.0.0
+Copyright (C) 2005-2013 Various Mono authors
+
+Build started 2/20/2015 10:55:06 PM.
+__________________________________________________
+Project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj"
 (default target(s)):
+       Target PrepareForBuild:
+               Configuration: Debug Platform: AnyCPU
+       Target ResolveProjectReferences:
+               Project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj"
 (default target(s)):
+                       Target PrepareForBuild:
+                               Configuration: Debug Platform: AnyCPU
+                       Target GenerateSatelliteAssemblies:
+                       No input files were specified for target 
GenerateSatelliteAssemblies, skipping.
+                       Target GenerateTargetFrameworkMonikerAttribute:
+                       Skipping target 
"GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
+                       Target CoreCompile:
+                               Tool 
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mcs.exe 
execution started with arguments: /noconfig /debug:full /debug+ /optimize- 
/out:obj/Debug/ClassLibrary1.dll Class1.cs Folder/Class1.cs 
Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /fullpaths 
/nostdlib 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.dll
 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.Xml.Linq.dll
 /referenc [...]
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Class1.cs(11):
 warning CS0169: The private field `ClassLibrary1.Class1.BadImageFormatExcep' 
is never used
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs(11):
 warning CS0169: The private field `ClassLibrary1.Folder.Class1.foo' is never 
used
+                       Target DeployOutputFiles:
+                               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/obj/Debug/ClassLibrary1.dll.mdb'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/bin/Debug/ClassLibrary1.dll.mdb'
+                               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/obj/Debug/ClassLibrary1.dll'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/bin/Debug/ClassLibrary1.dll'
+               Done building project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj".
+       Target CopyFilesMarkedCopyLocal:
+               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/bin/Debug/ClassLibrary1.dll'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/bin/Debug/ClassLibrary1.dll'
+               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/bin/Debug/ClassLibrary1.dll.mdb'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/bin/Debug/ClassLibrary1.dll.mdb'
+       Target GenerateSatelliteAssemblies:
+       No input files were specified for target GenerateSatelliteAssemblies, 
skipping.
+       Target GenerateTargetFrameworkMonikerAttribute:
+       Skipping target "GenerateTargetFrameworkMonikerAttribute" because its 
outputs are up-to-date.
+       Target CoreCompile:
+               Tool 
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mcs.exe 
execution started with arguments: /noconfig /debug:full /debug+ /optimize- 
/out:obj/Debug/ConsoleApplication1.exe Program.cs Properties/AssemblyInfo.cs 
/target:exe /define:"DEBUG;TRACE" /fullpaths /nostdlib /platform:AnyCPU 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.dll
 
/reference:/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/System.Xml.Linq.dll
 /referen [...]
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(14):
 warning CS0168: The variable `foo' is declared but never used
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(15):
 warning CS0168: The variable `sgedf' is declared but never used
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(16):
 warning CS0219: The variable `x' is assigned but its value is never used
+       Target _CopyAppConfigFile:
+       Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
+       Target DeployOutputFiles:
+               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/obj/Debug/ConsoleApplication1.exe.mdb'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/bin/Debug/ConsoleApplication1.exe.mdb'
+               Copying file from 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/obj/Debug/ConsoleApplication1.exe'
 to 
'/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/bin/Debug/ConsoleApplication1.exe'
+Done building project 
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj".
+
+Build succeeded.
+
+Warnings:
+
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj
 (default targets) ->
+/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Common.targets
 (ResolveProjectReferences target) ->
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/ClassLibrary1.csproj
 (default targets) ->
+/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
 (CoreCompile target) ->
+
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Class1.cs(11):
 warning CS0169: The private field `ClassLibrary1.Class1.BadImageFormatExcep' 
is never used
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs(11):
 warning CS0169: The private field `ClassLibrary1.Folder.Class1.foo' is never 
used
+
+/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/ConsoleApplication1.csproj
 (default targets) ->
+/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
 (CoreCompile target) ->
+
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(14):
 warning CS0168: The variable `foo' is declared but never used
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(15):
 warning CS0168: The variable `sgedf' is declared but never used
+       
/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs(16):
 warning CS0219: The variable `x' is assigned but its value is never used
+
+        5 Warning(s)
+        0 Error(s)
+
+Time Elapsed 00:00:01.1888770
+
+Compilation finished at Fri Feb 20 22:55:07



reply via email to

[Prev in Thread] Current Thread [Next in Thread]