Kompilacja programu C# na Linuxie za pomoca MonoDevelop

0

Witam

Próbuje skompilować sobie projekt który znalazłem na GitHubie - https://github.com/Rav3nPL/swapbot.git
Autor aplikacji dostarcza *.exe ale problem polega na tym że chciałbym uruchomić ten program na GNU/Linux Mint 18

Wczoraj zainstalowałem MonoDevelop, udało mi się skompilowac program ale podczas działania nastepował błąd i program kończył działanie.
Dziś z kolei nawet skompilowac nie idzie, możecie pomóc mi go skompilować na Linuxksa za pomoca MonoDevelop?

 
Building: swapbot (Debug)

Build started 2017-01-24 18:32:51.
__________________________________________________
Project "/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj" (Build target(s)):
	
	Target PrepareForBuild:
		Configuration: Debug Platform: AnyCPU
	
	Target GetFrameworkPaths:
/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).
	
	Target GetReferenceAssemblyPaths:
/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.
	
	Target ResolveAssemblyReferences:
/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Deployment' not resolved
		For searchpath {CandidateAssemblyFiles}
		Warning: {CandidateAssemblyFiles} not supported currently
		For searchpath {HintPathFromItem}
		HintPath attribute not found
		For searchpath {TargetFrameworkDirectory}
		For searchpath {PkgConfig}
		Considered System.Deployment, but could not find in any pkg-config files.
		For searchpath {GAC}
		Considered System.Deployment, but could not find in the GAC.
		For searchpath {RawFileName}
		Considered 'System.Deployment' as a file, but the file does not exist
		For searchpath bin/Debug/
		Considered '/home/<user_name>/Pulpit/swapbot/swapbot/bin/Debug/System.Deployment' as a file, but the file does not exist
		Considered '/home/<user_name>/Pulpit/swapbot/swapbot/bin/Debug/System.Deployment.exe' as a file, but the file does not exist
		Considered '/home/<user_name>/Pulpit/swapbot/swapbot/bin/Debug/System.Deployment.dll' as a file, but the file does not exist
	
	Target CopyFilesMarkedCopyLocal:
		Copying file from '/home/<user_name>/Pulpit/swapbot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll' to '/home/<user_name>/Pulpit/swapbot/swapbot/bin/Debug/Newtonsoft.Json.dll'
	
	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 /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /keyfile:swapbot_TemporaryKey.pfx /optimize- /out:obj/Debug/swapbot.exe /resource:obj/Debug/swapbot.SwapBot.resources /resource:obj/Debug/swapbot.Properties.Resources.resources SwapBot.cs SwapBot.Designer.cs Program.cs Properties/AssemblyInfo.cs Properties/Resources.Designer.cs Properties/Settings.Designer.cs /target:winexe /define:"DEBUG;TRACE" /main:swapbot.Program /nostdlib /platform:AnyCPU /reference:/usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll /reference:/usr/lib/mono/gac/System.Web/4.0.0.0__b03f5f7f11d50a3a/System.Web.dll /reference:/usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll /reference:/usr/lib/mono/gac/System.Data.DataSetExtensions/4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/gac/Microsoft.CSharp/4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll /reference:/usr/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll /reference:/usr/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll /reference:/usr/lib/mono/gac/System.Net.Http/4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll /reference:/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll /reference:/usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll /reference:../packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll /reference:/usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll /warn:4
CSC: error CS1548: Error during assembly signing. The specified key file `swapbot_TemporaryKey.pfx' does not exist
CSC: error CS0518: The predefined type `System.Object' is not defined or imported
CSC: error CS0518: The predefined type `System.ValueType' is not defined or imported
CSC: error CS0518: The predefined type `System.Attribute' is not defined or imported
CSC: error CS0518: The predefined type `System.Int32' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt32' is not defined or imported
CSC: error CS0518: The predefined type `System.Int64' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt64' is not defined or imported
CSC: error CS0518: The predefined type `System.Single' is not defined or imported
CSC: error CS0518: The predefined type `System.Double' is not defined or imported
CSC: error CS0518: The predefined type `System.Char' is not defined or imported
CSC: error CS0518: The predefined type `System.Int16' is not defined or imported
CSC: error CS0518: The predefined type `System.Decimal' is not defined or imported
CSC: error CS0518: The predefined type `System.Boolean' is not defined or imported
CSC: error CS0518: The predefined type `System.SByte' is not defined or imported
CSC: error CS0518: The predefined type `System.Byte' is not defined or imported
CSC: error CS0518: The predefined type `System.UInt16' is not defined or imported
CSC: error CS0518: The predefined type `System.String' is not defined or imported
CSC: error CS0518: The predefined type `System.Enum' is not defined or imported
CSC: error CS0518: The predefined type `System.Delegate' is not defined or imported
CSC: error CS0518: The predefined type `System.MulticastDelegate' is not defined or imported
CSC: error CS0518: The predefined type `System.Void' is not defined or imported
CSC: error CS0518: The predefined type `System.Array' is not defined or imported
CSC: error CS0518: The predefined type `System.Type' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerator' is not defined or imported
CSC: error CS0518: The predefined type `System.Collections.IEnumerable' is not defined or imported
CSC: error CS0518: The predefined type `System.IDisposable' is not defined or imported
CSC: error CS0518: The predefined type `System.IntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.UIntPtr' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeFieldHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.RuntimeTypeHandle' is not defined or imported
CSC: error CS0518: The predefined type `System.Exception' is not defined or imported
	Task "Csc" execution -- FAILED
	Done building target "CoreCompile" in project "/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj".-- FAILED
	
Done building project "/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj".-- FAILED

Build FAILED.

Warnings:

/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj (Build) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (GetFrameworkPaths target) ->

	/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.5.2' not supported by this toolset (ToolsVersion: 4.0).

/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj (Build) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (GetReferenceAssemblyPaths target) ->

	/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.5.2'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.

/home/<user_name>/Pulpit/swapbot/swapbot/swapbot.csproj (Build) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

	/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Deployment' not resolved

------------------ Zakończone ------------------

Budowanie: 32 błędów, 3 ostrzeżeń

0

Skoro autor dostarcza exe, to możesz go spróbować odpalić pod Linuksem.

http://www.mono-project.com/archived/guiderunning_mono_applications/

1 użytkowników online, w tym zalogowanych: 0, gości: 1