branch: externals/csharp-mode commit 2303fe016114aca3e6e464b45ad6fa11997b6924 Author: Jostein Kjønigsen <jost...@kjonigsen.net> Commit: Jostein Kjønigsen <jost...@kjonigsen.net>
Add msbuild and xbuild log-files for ERT-testing. --- test-files/msbuild-error.txt | 32 ++++++++++++++++++ test-files/msbuild-warning.txt | 58 +++++++++++++++++++++++++++++++++ test-files/xbuild-error.txt | 47 +++++++++++++++++++++++++++ test-files/xbuild-warning.txt | 73 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 210 insertions(+) diff --git a/test-files/msbuild-error.txt b/test-files/msbuild-error.txt new file mode 100644 index 0000000..d1ea947 --- /dev/null +++ b/test-files/msbuild-error.txt @@ -0,0 +1,32 @@ +-*- mode: 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..0f46911 --- /dev/null +++ b/test-files/msbuild-warning.txt @@ -0,0 +1,58 @@ +-*- mode: 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..ed14e16 --- /dev/null +++ b/test-files/xbuild-error.txt @@ -0,0 +1,47 @@ +-*- mode: 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..cc466ea --- /dev/null +++ b/test-files/xbuild-warning.txt @@ -0,0 +1,73 @@ +-*- mode: 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