I'm trying to introduce SonarQube scanning to our code base. I have ASP.NET MVC web application solution. This has roughly 50 projects. The minimum project target framework is .NET 4.5.2 (Some projects are 4.6.2). I can compile this solution absolutely fine in Visual Studio 2015.
I have SonarQube 8.9.3 LTS setup on a development server.
When adding a project on SonarQube the following commands are given to execute (at the solution root) the scanner from your local machine:
Step 1:
SonarScanner.MSBuild.exe begin /k:"MyBiz" /d:sonar.host.url="http://devserver:9600" /d:sonar.login="<token>"
Step 2:
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" MyBiz.sln /t:Rebuild
Step 3:
SonarScanner.MSBuild.exe end /d:sonar.login="<token>"
My problem is that I get an error on step 2 during the build process:
"C:\trunk\Dev4.0\MyBiz\MyBiz.sln" (Rebuild target) (1) ->
"C:\trunk\Dev4.0\Common\src\DataLayer\DataLayer.csproj" (Rebuild target) (4) ->
(CopyFilesToOutputDirectory target) ->
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(3813,5): error MSB3030: Could not copy the file "obj\Debug\ILRetail.eBusiness.Common.DataLayer.dll" because it was not found. [C:\trunk\Dev4.0\Common\src\DataLayer\DataLayer.csproj]
Obviously this solution compiles fine in Visual Studio so I'm guessing I'm missing some additional parameters on the MSBuild step in this process.
I'm attempted to explicitly use Configuration and Platform properties:
/property:Configuration=Debug /property:Platform="AnyCPU"
But this did not work:
The specified solution configuration "Debug|AnyCPU" is invalid
Is there something obvious I'm missing in the build command that would be the reason this works fine in Visual studio but not from command line?
Note in visual studio I would ordinarily compile using Debug & Mixed Platforms. I've attempted to use these parameters and I still get the same error as supplying no configuration/platform parameter.
Related
I'm trying to get a Xamarin Forms solution to build from the command line as part of a build script using the command dotnet build <solution.sln>. Most of the projects in the solution build; however, two projects fail with this error message: error MSB6006: "csc.exe" exited with code 1.(on Ubuntu) and error MSB6006: "csc.exe" exited with code 8. (on Mac).
I have running Ubuntu 18.04 (using Windows subsystem for Linux) and MacOS 10.13.6 on separate machines.
I have also tried to run dotnet build <solution.sln> from the windows command line which prints out this error message instead:
error MSB4062: The "XamarinLive.Build.XamarinLiveTask" task could not be loaded from the assembly C:\Users\Jason.nuget\packages\livexaml\2.1.22\build\XamarinLive.Build.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
However, the solution works and builds fine from within VS2017 (Version 15.9.7). I've tried scouring the binary log that is generated but I can't make much sense of it and there doesn't seem to be any obvious errors (on Ubuntu & Mac). Could the windows error message be related in some way?
The projects that are failing target netstandard 2.0 (The same as the projects that do build). The version returned by dotnet --version on all 3 environments is 2.1.504.
Any help would be greatly appreciated.
You need to use msbuild.exe instead of dotnet
build
for this situation.
msbuild.exe runs on full framework while dotnet buildruns on .NET Core, and most of the build tasks don't support that.
When you build them in VS,it actually calls the msbuild.exe to build the solution.So you can build it well by developer command prompt since it also calls the msbuild.exe.
For vs2017, you can find it in C:\Program Files (x86)\Microsoft Visual Studio\2017\Edition\MSBuild\15.0\Bin.
More details see Martin's answer from this similar issue. Thanks to his detailed description!
I'm pretty new to CI (from a brand new set up point at least). I created a project in Rider, using the default version of NUnit that is provided if you select to 'Create new NUnit Project', and I am now trying to set up an automated build for it using travis-CI.
The target .NET framework version of my project and test projects (confirmed in Project properties in Rider) is 4.5.
The version of Nunit I am using is the default version provided with Rider, 3.5.
Here is my .travis.yml build file:
language: csharp
solution: .sln
install:
- nuget restore FindWordsWithConcatenations.sln
- nuget install NUnit.Runners -Version 3.5.0 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Debug ./FindWordsWithConcatenations.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit-agent.exe ./TestFindWordsWithConcatenations/bin/Debug/TestFindWordsWithConcatenations.dll
I confirmed on my own machine by running the nuget command that the test runner path should be correct, when I run the nunit-agent (via agent, agent-x86, or agent-console) I get the following error (locally, and on the server):
Unhandled Exception: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid..ctor(String g)
at NUnit.Agent.NUnitTestAgent.Main(String[] args)
I've also tried running with no configuration mode specified, and with configuration mode of Debug and Release specified.
Unfortunately, the normal tactic of googling/stack overflow hasn't helped, I've seen this error in a few questions, but the cause never seems related to what I'm experiencing.
The last build of the pipeline is available to view here, all the builds thus far have failed, previous builds can be seen here.
Thanks in advance, I would be very grateful if someone had any idea about the cause of this issue, or how I could tackle the test running in a different way.
Solved it.
Updated the script section of the travis config to:
script:
- xbuild /p:Configuration=Debug ./FindWordsWithConcatenations.sln
- mono ./testrunner/NUnit.ConsoleRunner.3.5.0/tools/nunit3-console.exe ./TestFindWordsWithConcatenations/bin/Debug/TestFindWordsWithConcatenations.dll
So it's now running the correct console application. Also had to modify the test paths a bit for it to run on the server.
I got a Jenkins Server set up on Windows 2012 R2. These are my build settings:
Underneath you see the error. It should be said that the pre-build step runs successfully:
[Test CSharp Build Job] $ ...\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\MSBuild.SonarQube.Runner.exe end
SonarQube Scanner for MSBuild 2.0
Default properties file was found at ...\Documents\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\SonarQube.Analysis.xml
Loading analysis properties from ...\Documents\Jenkins\.jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\MSBuild_2.0\SonarQube.Analysis.xml
Post-processing started.
SonarQube Scanner for MSBuild End Step 1.1
No ProjectInfo.xml files were found. Possible causes:
1. The project has not been built - the end step was called right after the begin step, without a build step in between
2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported
3. The build step has been launched from a different working folder
Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
11:18:18.015 Creating a summary markdown file...
Post-processing failed. Exit code: 1
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 1)
So in my Jenkins Configuration I have this:
Am I missing something to make this work?
Okay I figured it out
I forgot to add a /t:rebuild in between building with MSBuild and running the End Analysis command.
I have a code which is developed in Mono framework & I need to do some changes into it; I have made some & now I am trying to make a package so I can deploy it on Mac. But some how its giving me error & I am not able to create a package.
It gives error saying Solution could not be deployed: . An unspecified error occurred while running 'autogen.sh' (the error log is provided below)
ERROR LOG (Tool output):
Creating packages
Package: Tarball
Building Solution: WebDisk.Mono (Debug|x86)
Building: WebDisk.Mono (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/3.2.1/bin/mcs /noconfig "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/mscorlib.dll" -nostdlib "/out:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/bin/Debug/WebDisk.Mono.exe" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/gtk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/glib-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/gdk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/glade-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/pango-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/gtk-sharp-2.0/atk-sharp.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Drawing.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Drawing.Design.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Data.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Data.DataSetExtensions.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Web.Services.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Xml.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/Mono.Posix.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/Mono.Cairo.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Configuration.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Windows.Forms.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.BusinessLogic.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.ObjectModel.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Common.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/WebDisk.Client.ServiceGateway.dll" "/r:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/UpdateManager.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/ICSharpCode.SharpZipLib.dll" "/r:/Library/Frameworks/Mono.framework/Versions/3.2.1/lib/mono/2.0/System.Core.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /main:WebDisk.MainClass /t:winexe "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/gui.stetic,gui.stetic" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/FileCheckOut.png,WebDisk.Mono.Assets.FileCheckOut.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Assets/download.ico,WebDisk.Mono.Assets.download.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/ClientMessages.xml,WebDisk.Mono.ClientMessages.xml" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/Theme.config,WebDisk.Mono.DefaultTheme.Theme.config" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/AddNewFile.png,WebDisk.Mono.DefaultTheme.images.AddNewFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CancelCheckout.png,WebDisk.Mono.DefaultTheme.images.CancelCheckout.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckInFile.png,WebDisk.Mono.DefaultTheme.images.CheckInFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckOutFile.png,WebDisk.Mono.DefaultTheme.images.CheckOutFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckoutFileIcon.png,WebDisk.Mono.DefaultTheme.images.CheckoutFileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/CheckoutList.png,WebDisk.Mono.DefaultTheme.images.CheckoutList.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DeleteFolder.png,WebDisk.Mono.DefaultTheme.images.DeleteFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DeleteFolder1.png,WebDisk.Mono.DefaultTheme.images.DeleteFolder1.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DowloadFolder.png,WebDisk.Mono.DefaultTheme.images.DowloadFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/download.ico,WebDisk.Mono.DefaultTheme.images.download.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/DownloadFile.png,WebDisk.Mono.DefaultTheme.images.DownloadFile.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/EditFileIcon.png,WebDisk.Mono.DefaultTheme.images.EditFileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FileCheckOut.png,WebDisk.Mono.DefaultTheme.images.FileCheckOut.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FileIcon.png,WebDisk.Mono.DefaultTheme.images.FileIcon.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/FolderNormal.png,WebDisk.Mono.DefaultTheme.images.FolderNormal.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/NewFolderAdd.png,WebDisk.Mono.DefaultTheme.images.NewFolderAdd.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/permission.png,WebDisk.Mono.DefaultTheme.images.permission.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Property.png,WebDisk.Mono.DefaultTheme.images.Property.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Refresh.png,WebDisk.Mono.DefaultTheme.images.Refresh.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Rename.png,WebDisk.Mono.DefaultTheme.images.Rename.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/SelectedFolder.png,WebDisk.Mono.DefaultTheme.images.SelectedFolder.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/Thumbs.db,WebDisk.Mono.DefaultTheme.images.Thumbs.db" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/View.png,WebDisk.Mono.DefaultTheme.images.View.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-connect.ico,WebDisk.Mono.DefaultTheme.images.webdisk-connect.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-connection.png,WebDisk.Mono.DefaultTheme.images.webdisk-connection.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-disconnect.ico,WebDisk.Mono.DefaultTheme.images.webdisk-disconnect.ico" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/DefaultTheme/images/webdisk-disconnection.png,WebDisk.Mono.DefaultTheme.images.webdisk-disconnection.png" "/res:/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/App.icns,WebDisk.Mono.App.icns" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CommonUtility.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/generated.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MainWindow.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/MainWindow.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/AssemblyInfo.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/Menubar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/Toolbar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MainClass.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskEvents.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/MyCheckedOutFiles.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/OpenFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.OpenFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/ButtonData.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/User.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/OpenNewWebDisk.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.OpenNewWebDisk.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/ClientConfiguration.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.ClientConfiguration.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/FolderProperty.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/FolderInfo.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.FolderProperty.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CustomViews.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/RenameDialog.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.RenameDialog.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/StatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.StatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.MyCheckedOutFiles.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/UploadDownload.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/UserListView.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.UserPermission.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/UserPermission.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskStatusBar.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/WebDiskTrayIcon.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/CheckinFile.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/Classes/OperationQueue.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/About.cs" "/var/folders/n5/m2b64gg513q8r195mhv3kc6h0000gn/T/mdTmpDir1260862193/WebDisk.Mono/gtk-gui/WebDisk.Mono.About.cs"
Compilation succeeded - 22 warning(s)
Build complete -- 0 errors, 22 warnings
Generating Autotools files for Solution WebDisk.Mono
Creating Makefile.am for Solution WebDisk.Mono
Creating Makefile.am for Project WebDisk.Mono
Creating autogen.sh
Creating configure.ac
Creating Makefile.include
Adding variables to top-level Makefile
Deploying Solution to Tarball
You must have autoconf installed to compile WebDisk.Mono.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/
You must have automake installed to compile WebDisk.Mono.
Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz
(or a newer version if it is available)
Autotools files were successfully generated.
Solution could not be deployed: . An unspecified error occurred while running 'autogen.sh'
Any solution regarding this will help a lot... Thanks
CONFIGURATIONS:
Xamarin Studio 4.0.12
Mono 3.2.1
My projects build fine in Visual Studio and also using MSBUILD on my machine.
On the build agent however if I run MSBUILD I get the error below.
I have already tried to specify a target framework of 4.0 but without success.
Any other ideas?
"c:\Test\Test.csproj" (default target) (6) ->
(CoreCompile target) ->
ItemSearchDelegate.cs(17,10): error CS0433: The type 'System.Action<T1,T2>' exists in both 'c:\Windows\Microsoft.NET\
Framework\v4.0.30319\mscorlib.dll' and 'c:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.
dll'
What I find most interesting: some lines above that error from MSBUILD, I see:
CSC : warning CS1685: The predefined type 'System.Action' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
So it decides to use v4 just to complain a second later?
All I do is: open the command line at the location of the .CSPROJ file and run "msbuild". Nothing fancy.