NiclasOlofsson / MiNET

A (not so) basic Minecraft Pocket Edition server written in C#
Other
869 stars 199 forks source link

Build failes - Mono incompatible with .NET v4.6 #83

Closed z3ntu closed 8 years ago

z3ntu commented 8 years ago

Pull Request #79 "fixes" (Instructions) it.

ghost commented 8 years ago

Nope, it fixes but the build fails on another point... Not only on ubuntu 15.10, but instead, in any linux that support mono 4.0.x...

ghost commented 8 years ago

as you can see in this full spammer log bellow... (I simply can't markdown it) I think some mono dependencies aren't in the right version for work with this framework version...

I don't know, really I'm a noob with "microsoft" related things... I born on linux...

root@localhost:/mnt/local/bln/minet/MiNET# xbuild /p:TargetFrameworkVersion="v4.5" src/MiNET/MiNET.sln XBuild Engine Version 12.0 Mono, Version 4.0.4.0 Copyright (C) 2005-2013 Various Mono authors

Build started 10/31/2015 3:44:46 PM.


Project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln" (default target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Target Build: Project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/MiNET.csproj" (default target(s)): Target RestorePackages: Executing: mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/" Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. Installing 'fNbt 0.6.3'. Successfully installed 'fNbt 0.6.3'. Installing 'LibNoise 0.2'. Successfully installed 'LibNoise 0.2'. Installing 'log4net 2.0.3'. Successfully installed 'log4net 2.0.3'. Installing 'Microsoft.AspNet.Identity.Core 2.2.1'. Successfully installed 'Microsoft.AspNet.Identity.Core 2.2.1'. Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Created directory "bin/Debug/" Created directory "obj/Debug/" Target CopyFilesMarkedCopyLocal: Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/fNbt.0.6.3/lib/net35-client/fNbt.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/fNbt.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/LibNoise.0.2/lib/NET45/LibNoise.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/LibNoise.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/log4net.2.0.3/lib/net40-full/log4net.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/log4net.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/Microsoft.AspNet.Identity.Core.2.2.1/lib/net45/Microsoft.AspNet.Identity.Core.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/Microsoft.AspNet.Identity.Core.dll' Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/MiNET.dll BlockEntities/BlockEntity.cs BlockEntities/BlockEntityFactory.cs BlockEntities/ChestBlockEntity.cs BlockEntities/FurnaceBlockEntity.cs BlockEntities/Sign.cs BlockFace.cs Blocks/AcaciaWoodStairs.cs Blocks/Bed.cs Blocks/BirchWoodStairs.cs Blocks/BlockStairs.cs Blocks/BookShelf.cs Blocks/BrickStairs.cs Blocks/CoalBlock.cs Blocks/CoalOre.cs Blocks/Cobblestone.cs Blocks/CobbleStoneStairs.cs Blocks/CraftingTable.cs Blocks/DarkOakWoodStairs.cs Blocks/DiamondOre.cs Blocks/Dirt.cs Blocks/DoubleStoneSlab.cs Blocks/DoubleWoodSlab.cs Blocks/Farmland.cs Blocks/Fence.cs Blocks/Fencegate.cs Blocks/Fire.cs Blocks/Flowing.cs Blocks/FlowingLava.cs Blocks/FlowingWater.cs Blocks/Furnace.cs Blocks/Glass.cs Blocks/GoldBlock.cs Blocks/GoldOre.cs Blocks/Grass.cs Blocks/Gravel.cs Blocks/Ice.cs Blocks/IronOre.cs Blocks/JungleWoodStairs.cs Blocks/LapsisBlock.cs Blocks/LapsisOre.cs Blocks/LitFurnace.cs Blocks/Obsidian.cs Blocks/Sandstone.cs Blocks/Snow.cs Blocks/Stationary.cs Blocks/StationaryLava.cs Blocks/NetherBrickStairs.cs Blocks/OakWoodStairs.cs Blocks/QuartzStairs.cs Blocks/Sand.cs Blocks/SandStoneStairs.cs Blocks/Sapling.cs Blocks/SpruceWoodStairs.cs Blocks/StandingSign.cs Blocks/Stone.cs Blocks/StoneBrick.cs Blocks/StoneBrickStairs.cs Blocks/StoneSlab.cs Blocks/TallGrass.cs Blocks/GrassPath.cs Blocks/Torch.cs Blocks/WallSign.cs Blocks/StationaryWater.cs Blocks/Wood.cs Blocks/WoodenPlanks.cs Blocks/WoodSlab.cs Blocks/Tnt.cs ConnectionState.cs Crafting/Recipe.cs Effects/Effect.cs Entities/Arrow.cs Entities/Egg.cs Entities/Entity.cs Entities/PlayerMob.cs Entities/ItemEntity.cs Entities/Mob.cs Entities/PrimedTnt.cs Entities/Snowball.cs Entities/Projectile.cs GreyListManager.cs Inventory.cs InventoryManager.cs Items/FoodItem.cs Items/ItemApple.cs Items/ItemBakedPotato.cs Items/ItemBed.cs Items/ItemBow.cs Items/ItemBread.cs Items/ItemCarrot.cs Items/ItemChest.cs Items/ItemCoal.cs Items/ItemCommand.cs Items/ItemCoockedChicken.cs Items/ItemCookedPorkshop.cs Items/ItemCookie.cs Items/ItemDiamondAxe.cs Items/ItemDiamondBoots.cs Items/ItemDiamondChestplate.cs Items/ItemDiamondHelmet.cs Items/ItemDiamondHoe.cs Items/ItemDiamondShovel.cs Items/ItemDiamondLeggings.cs Items/ItemDiamondSword.cs Items/ItemEgg.cs Items/ItemFurnace.cs Items/ItemGoldAxe.cs Items/ItemGoldenApple.cs Items/ItemGoldHoe.cs Items/ItemGoldShovel.cs Items/ItemGoldSword.cs Items/ItemHoe.cs Items/ItemIronAxe.cs Items/ItemIronBoots.cs Items/ItemIronChestplate.cs Items/ItemIronHelmet.cs Items/ItemIronHoe.cs Items/ItemIronLeggings.cs Items/ItemIronShovel.cs Items/ItemIronSword.cs Items/ItemMelonSlice.cs Items/ItemPotato.cs Items/ItemPumpkinPie.cs Items/ItemSign.cs Items/ItemShovel.cs Items/ItemSlab.cs Items/ItemSnowball.cs Items/ItemSpawnEgg.cs Items/ItemSteak.cs Items/ItemStick.cs Items/ItemStoneAxe.cs Items/ItemStoneHoe.cs Items/ItemStoneShovel.cs Items/ItemStoneSword.cs Items/ItemWoodenAxe.cs Items/ItemWoodenHoe.cs Items/ItemWoodenPickaxe.cs Items/ItemWoodenShovel.cs Items/ItemWoodenSword.cs Items/ItemRawBeef.cs Items/ItemRawChicken.cs Items/ItemRawPorkchop.cs LevelManager.cs MessageType.cs MotdProvider.cs Net/InternalPing.cs Net/McpeText.cs Net/SplitPartPackage.cs Net/UUID.cs Net/WiredAttribute.cs Net/Skin.cs Particles/BubbleParticle.cs Particles/CriticalParticle.cs Particles/DestroyBlockParticle.cs Particles/DustParticle.cs Particles/EnchantParticle.cs Particles/EntityFlameParticle.cs Particles/ExplosionParticle.cs Particles/FlameParticle.cs Particles/HeartParticle.cs Particles/InkParticle.cs Particles/ItemBreakParticle.cs Particles/LavaDripParticle.cs Particles/LavaParticle.cs Particles/Particle.cs Particles/PortalParticle.cs Particles/RedstoneParticle.cs Particles/SmokeParticle.cs Particles/SpawnParticle.cs Particles/SplashParticle.cs Particles/SporeParticle.cs Particles/TerrainParticle.cs Particles/WaterDripParticle.cs Particles/WaterParticle.cs PlayerFactory.cs PlayerNetworkSession.cs Plugins/Attributes/AuthorizeAttribute.cs Plugins/IStartup.cs Plugins/Plugin.cs Plugins/Attributes/CommandAttribute.cs Plugins/Attributes/PacketHandlerAttribute.cs Plugins/Attributes/PluginAttribute.cs Plugins/IPlugin.cs Blocks/Block.cs Blocks/Air.cs Blocks/Bedrock.cs Blocks/Chest.cs Blocks/BlockFactory.cs Blocks/WoodenDoor.cs Explosion.cs HealthManager.cs PlayerInventory.cs Items/Item.cs Items/ItemBlock.cs Items/ItemDoor.cs Items/ItemFactory.cs Items/ItemFlintAndSteel.cs Net/Ack.cs Net/ConnectedPackage.cs Net/Datagram.cs Net/DatagramHeader.cs Net/MessagePart.cs Net/MessagePartHeader.cs Net/Nak.cs Net/ObjectPool.cs Net/OpenConnectionRequest1.cs Net/Package.cs "Net/MCPE Protocol.cs" Net/RakNetIdentifiers.cs Net/Reliability.cs Net/UnknownPackage.cs MiNetServer.cs Player.cs Plugins/PluginContext.cs Plugins/PluginManager.cs Popup.cs Security/DefaultRoleStore.cs Security/DefaultUserStore.cs Security/Role.cs Security/User.cs ServerInfo.cs SessionManager.cs Utils/BoundingBox.cs Utils/ChunkCoordinates.cs Utils/EntityLocations.cs Utils/MetadataIntCoordinates.cs Utils/MetadataLong.cs Utils/OpenSimplex.cs Utils/Ray.cs Utils/TextUtils.cs Utils/Vector3.cs Utils/Compression.cs Utils/BlockCoordinates.cs Utils/Endian.cs Utils/CryptoRandom.cs Utils/Int24.cs Utils/ItemStack.cs Utils/MetadataByte.cs Utils/MetadataDictionary.cs Utils/MetadataEntry.cs Utils/MetadataFloat.cs Utils/MetadataInt.cs Utils/MetadataInts.cs Utils/MetadataShort.cs Utils/MetadataSlot.cs Utils/MetadataString.cs Utils/Nbt.cs Utils/NbtBinaryReader.cs Utils/NbtBinaryWriter.cs Utils/NbtFormatException.cs Utils/NibbleArray.cs Utils/PlayerLocation.cs Utils/Records.cs Worlds/AnvilWorldProvider.cs Worlds/ChunkColumn.cs Worlds/CoolWorldProvider.cs Worlds/CraftNetAnvilWorldProvider.cs Worlds/Difficulty.cs Worlds/EntityManager.cs Worlds/ExperimentalWorldProvider.cs Worlds/FlatlandWorldProvider.cs Worlds/GameMode.cs Worlds/IWorldProvider.cs Worlds/Level.cs Worlds/LevelInfo.cs Worlds/Structures/OakTree.cs Worlds/Structures/StructureClass.cs Properties/AssemblyInfo.cs Utils/Config.cs Items/ItemBucket.cs obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:../packages/fNbt.0.6.3/lib/net35-client/fNbt.dll /reference:../packages/LibNoise.0.2/lib/NET45/LibNoise.dll /reference:../packages/log4net.2.0.3/lib/net40-full/log4net.dll /reference:../packages/Microsoft.AspNet.Identity.Core.2.2.1/lib/net45/Microsoft.AspNet.Identity.Core.dll /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Configuration.dll /reference:/usr/lib/mono/4.5/System.Drawing.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /reference:/usr/lib/mono/4.5/mscorlib.dll /warn:4 Player.cs(60,15): warning CS0108: MiNET.Player.IsSpawned' hides inherited memberMiNET.Entities.Entity.IsSpawned'. Use the new keyword if hiding was intended Entities/Entity.cs(18,15): (Location of the symbol related to previous warning) Utils/MetadataInt.cs(52,31): warning CS0108: MiNET.Utils.MetadataSlots.FromStream(System.IO.BinaryReader)' hides inherited memberMiNET.Utils.MetadataDictionary.FromStream(System.IO.BinaryReader)'. Use the new keyword if hiding was intended Utils/MetadataDictionary.cs(41,36): (Location of the symbol related to previous warning) Utils/MetadataInts.cs(7,30): warning CS0108: MiNET.Utils.MetadataInts.FromStream(System.IO.BinaryReader)' hides inherited memberMiNET.Utils.MetadataDictionary.FromStream(System.IO.BinaryReader)'. Use the new keyword if hiding was intended Utils/MetadataDictionary.cs(41,36): (Location of the symbol related to previous warning) Entities/ItemEntity.cs(38,11): warning CS0219: The variable random' is assigned but its value is never used Entities/Projectile.cs(169,12): warning CS0219: The variablesubstBlock' is assigned but its value is never used Net/Package.cs(563,21): warning CS0168: The variable e' is declared but never used MiNetServer.cs(237,21): warning CS0168: The variablee' is declared but never used MiNetServer.cs(245,37): warning CS0168: The variable dex' is declared but never used MiNetServer.cs(657,22): warning CS0168: The variablee' is declared but never used MiNetServer.cs(1205,35): warning CS0168: The variable e' is declared but never used MiNetServer.cs(1208,21): warning CS0168: The variablee' is declared but never used MiNetServer.cs(963,23): warning CS0168: The variable e' is declared but never used MiNetServer.cs(1130,23): warning CS0168: The variablee' is declared but never used MiNetServer.cs(1121,29): warning CS0168: The variable e' is declared but never used Player.cs(1320,23): warning CS0168: The variablee' is declared but never used Player.cs(2066,24): warning CS0168: The variable e' is declared but never used Player.cs(1864,9): warning CS0219: The variabletimer' is assigned but its value is never used Worlds/AnvilWorldProvider.cs(245,9): warning CS0219: The variable compressionMode' is assigned but its value is never used Worlds/AnvilWorldProvider.cs(342,13): warning CS0219: The variableentities' is assigned but its value is never used Entities/Entity.cs(11,32): warning CS0414: The private field MiNET.Entities.Entity.Log' is assigned but its value is never used GreyListManager.cs(16,53): warning CS0414: The private fieldMiNET.GreylistManager._greylist' is assigned but its value is never used InventoryManager.cs(13,32): warning CS0414: The private field MiNET.InventoryManager.Log' is assigned but its value is never used Blocks/BlockFactory.cs(12,32): warning CS0414: The private fieldMiNET.Blocks.BlockFactory.Log' is assigned but its value is never used HealthManager.cs(33,32): warning CS0414: The private field MiNET.HealthManager.Log' is assigned but its value is never used HealthManager.cs(35,15): warning CS0169: The private fieldMiNET.HealthManager._hearts' is never used Net/Package.cs(769,32): warning CS0414: The private field MiNET.Net.Package<T>.Log' is assigned but its value is never used MiNetServer.cs(49,17): warning CS0169: The private fieldMiNET.MiNetServer._internalPingTimer' is never used MiNetServer.cs(50,17): warning CS0414: The private field MiNET.MiNetServer._ackTimer' is assigned but its value is never used Player.cs(44,15): warning CS0414: The private fieldMiNET.Player._datagramSequenceNumber' is assigned but its value is never used ServerInfo.cs(12,24): warning CS0414: The private field MiNET.ServerInfo._levelManager' is assigned but its value is never used Worlds/CoolWorldProvider.cs(14,25): warning CS0414: The private fieldMiNET.Worlds.SimplexOctaveGenerator._seed' is assigned but its value is never used Worlds/CoolWorldProvider.cs(15,24): warning CS0414: The private field MiNET.Worlds.SimplexOctaveGenerator._octaves' is assigned but its value is never used Target DeployOutputFiles: Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/obj/Debug/MiNET.dll.mdb' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/MiNET.dll.mdb' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/obj/Debug/MiNET.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/MiNET.dll' Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/MiNET.csproj". Project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/MiNET.Service.csproj" (default target(s)): Target RestorePackages: Executing: mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/" Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. WARNING: An exception was thrown by the type initializer for NuGet.ProxyCache Unable to find version '3.2.0' of package 'Topshelf'. /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1. Task "Exec" execution -- FAILED Done building target "RestorePackages" in project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/MiNET.Service.csproj".-- FAILED Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/MiNET.Service.csproj".-- FAILED Project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/MiNET.Test.csproj" (default target(s)): Target RestorePackages: Executing: mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/" Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. WARNING: An exception was thrown by the type initializer for NuGet.ProxyCache Unable to find version '4.2.1502.0911' of package 'Moq'. /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1. Task "Exec" execution -- FAILED Done building target "RestorePackages" in project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/MiNET.Test.csproj".-- FAILED Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/MiNET.Test.csproj".-- FAILED Project "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/TestPlugin.csproj" (default target(s)): Target RestorePackages: Executing: mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/" Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. WARNING: An exception was thrown by the type initializer for NuGet.ProxyCache Unable to find version '2.2.0' of package 'Microsoft.AspNet.Identity.Core'. /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1. Task "Exec" execution -- FAILED Done building target "RestorePackages" in project "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/TestPlugin.csproj".-- FAILED Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/TestPlugin.csproj".-- FAILED Project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/MiNET.Client.csproj" (default target(s)): Target RestorePackages: Executing: mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/packages.config" -source "" -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/" Restoring NuGet packages... To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Created directory "bin/Debug/" Created directory "obj/Debug/" Target CopyFilesMarkedCopyLocal: Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/fNbt.0.6.3/lib/net35-client/fNbt.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/fNbt.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/packages/log4net.2.0.3/lib/net40-full/log4net.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/log4net.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/MiNET.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/MiNET.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/MiNET.dll.mdb' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/MiNET.dll.mdb' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/Microsoft.AspNet.Identity.Core.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/Microsoft.AspNet.Identity.Core.dll' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug/LibNoise.dll' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/LibNoise.dll' Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/MiNET.Client.exe ClientUtils.cs MiNetClient.cs Properties/AssemblyInfo.cs obj/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:exe /define:"DEBUG;TRACE" /nostdlib /platform:AnyCPU /reference:../packages/fNbt.0.6.3/lib/net35-client/fNbt.dll /reference:../packages/log4net.2.0.3/lib/net40-full/log4net.dll /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /reference:/mnt/local/bln/minet/MiNET/src/MiNET/MiNET/bin/Debug//MiNET.dll /reference:/usr/lib/mono/4.5/mscorlib.dll /warn:4 ClientUtils.cs(19,4): warning CS0162: Unreachable code detected MiNetClient.cs(239,23): warning CS0219: The variableincoming' is assigned but its value is never used MiNetClient.cs(255,28): warning CS0219: The variable incoming' is assigned but its value is never used MiNetClient.cs(601,19): warning CS0219: The variableslot' is assigned but its value is never used MiNetClient.cs(35,16): warning CS0414: The private field MiNET.Client.MiNetClient._entityId' is assigned but its value is never used MiNetClient.cs(40,17): warning CS0169: The private fieldMiNET.Client.MiNetClient._connectedPingTimer' is never used Target _CopyAppConfigFile: Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/App.config' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/MiNET.Client.exe.config' Target DeployOutputFiles: Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/obj/Debug/MiNET.Client.exe.mdb' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/MiNET.Client.exe.mdb' Copying file from '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/obj/Debug/MiNET.Client.exe' to '/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/bin/Debug/MiNET.Client.exe' Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/MiNET.Client.csproj". Task "MSBuild" execution -- FAILED Done building target "Build" in project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln".-- FAILED Done building project "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln".-- FAILED

Build FAILED.

Warnings:

/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln (default targets) -> (Build target) -> /mnt/local/bln/minet/MiNET/src/MiNET/MiNET/MiNET.csproj (default targets) -> /usr/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    Player.cs(60,15): warning CS0108: `MiNET.Player.IsSpawned' hides inherited member `MiNET.Entities.Entity.IsSpawned'. Use the new keyword if hiding was intended
    Utils/MetadataInt.cs(52,31): warning CS0108: `MiNET.Utils.MetadataSlots.FromStream(System.IO.BinaryReader)' hides inherited member `MiNET.Utils.MetadataDictionary.FromStream(System.IO.BinaryReader)'. Use the new keyword if hiding was intended
    Utils/MetadataInts.cs(7,30): warning CS0108: `MiNET.Utils.MetadataInts.FromStream(System.IO.BinaryReader)' hides inherited member `MiNET.Utils.MetadataDictionary.FromStream(System.IO.BinaryReader)'. Use the new keyword if hiding was intended
    Entities/ItemEntity.cs(38,11): warning CS0219: The variable `random' is assigned but its value is never used
    Entities/Projectile.cs(169,12): warning CS0219: The variable `substBlock' is assigned but its value is never used
    Net/Package.cs(563,21): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(237,21): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(245,37): warning CS0168: The variable `dex' is declared but never used
    MiNetServer.cs(657,22): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(1205,35): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(1208,21): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(963,23): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(1130,23): warning CS0168: The variable `e' is declared but never used
    MiNetServer.cs(1121,29): warning CS0168: The variable `e' is declared but never used
    Player.cs(1320,23): warning CS0168: The variable `e' is declared but never used
    Player.cs(2066,24): warning CS0168: The variable `e' is declared but never used
    Player.cs(1864,9): warning CS0219: The variable `timer' is assigned but its value is never used
    Worlds/AnvilWorldProvider.cs(245,9): warning CS0219: The variable `compressionMode' is assigned but its value is never used
    Worlds/AnvilWorldProvider.cs(342,13): warning CS0219: The variable `entities' is assigned but its value is never used
    Entities/Entity.cs(11,32): warning CS0414: The private field `MiNET.Entities.Entity.Log' is assigned but its value is never used
    GreyListManager.cs(16,53): warning CS0414: The private field `MiNET.GreylistManager._greylist' is assigned but its value is never used
    InventoryManager.cs(13,32): warning CS0414: The private field `MiNET.InventoryManager.Log' is assigned but its value is never used
    Blocks/BlockFactory.cs(12,32): warning CS0414: The private field `MiNET.Blocks.BlockFactory.Log' is assigned but its value is never used
    HealthManager.cs(33,32): warning CS0414: The private field `MiNET.HealthManager.Log' is assigned but its value is never used
    HealthManager.cs(35,15): warning CS0169: The private field `MiNET.HealthManager._hearts' is never used
    Net/Package.cs(769,32): warning CS0414: The private field `MiNET.Net.Package<T>.Log' is assigned but its value is never used
    MiNetServer.cs(49,17): warning CS0169: The private field `MiNET.MiNetServer._internalPingTimer' is never used
    MiNetServer.cs(50,17): warning CS0414: The private field `MiNET.MiNetServer._ackTimer' is assigned but its value is never used
    Player.cs(44,15): warning CS0414: The private field `MiNET.Player._datagramSequenceNumber' is assigned but its value is never used
    ServerInfo.cs(12,24): warning CS0414: The private field `MiNET.ServerInfo._levelManager' is assigned but its value is never used
    Worlds/CoolWorldProvider.cs(14,25): warning CS0414: The private field `MiNET.Worlds.SimplexOctaveGenerator._seed' is assigned but its value is never used
    Worlds/CoolWorldProvider.cs(15,24): warning CS0414: The private field `MiNET.Worlds.SimplexOctaveGenerator._octaves' is assigned but its value is never used

/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln (default targets) -> (Build target) -> /mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Client/MiNET.Client.csproj (default targets) -> /usr/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    ClientUtils.cs(19,4): warning CS0162: Unreachable code detected
    MiNetClient.cs(239,23): warning CS0219: The variable `incoming' is assigned but its value is never used
    MiNetClient.cs(255,28): warning CS0219: The variable `incoming' is assigned but its value is never used
    MiNetClient.cs(601,19): warning CS0219: The variable `slot' is assigned but its value is never used
    MiNetClient.cs(35,16): warning CS0414: The private field `MiNET.Client.MiNetClient._entityId' is assigned but its value is never used
    MiNetClient.cs(40,17): warning CS0169: The private field `MiNET.Client.MiNetClient._connectedPingTimer' is never used

Errors:

/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln (default targets) -> (Build target) -> /mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/MiNET.Service.csproj (default targets) -> /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets (RestorePackages target) ->

    /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Service/packages.config" -source ""   -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1.

/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln (default targets) -> (Build target) -> /mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/MiNET.Test.csproj (default targets) -> /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets (RestorePackages target) ->

    /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.Test/packages.config" -source ""   -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1.

/mnt/local/bln/minet/MiNET/src/MiNET/MiNET.sln (default targets) -> (Build target) -> /mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/TestPlugin.csproj (default targets) -> /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets (RestorePackages target) ->

    /mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.targets: error : Command 'mono --runtime=v4.0.30319 "/mnt/local/bln/minet/MiNET/src/MiNET/.nuget/NuGet.exe" install "/mnt/local/bln/minet/MiNET/src/MiNET/TestPlugin/packages.config" -source ""   -RequireConsent -solutionDir "/mnt/local/bln/minet/MiNET/src/MiNET/"' exited with code: 1.

     38 Warning(s)
     3 Error(s)

Time Elapsed 00:00:50.7899660

z3ntu commented 8 years ago

I have mono-complete from deb http://download.mono-project.com/repo/debian wheezy main (in /etc/apt/sources.list) installed. For me it works...

Build log (the end):

Build succeeded. Warnings: many warnings ;) 59 Warning(s) 0 Error(s) Time Elapsed 00:00:04.1463820

ghost commented 8 years ago

Using 4.6 I get the same described on #82 ... Maybe because I'm on ubuntu 14.10? because i have the latest mono-complete here, (http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives), and I've compiled and installed the mono 3.10.0 here without luck, i got the same, so it's not a mono fault, is one of their dependencies... I just don't know if there's a way to fix it on utopic...

I'll try upgrading to wily, and downgrading to precise when i have time to see if it's really a fault of 14.10, just the "4.6" issue happens in any plataform as I can see...

z3ntu commented 8 years ago

However http://www.mono-project.com/docs/about-mono/compatibility/ says, that 4.6 is implemented...

ptnalexa commented 8 years ago

@z3ntu However, not although. :3

z3ntu commented 8 years ago

@ptnalexa what are you talking about? ^^ ;)

ptnalexa commented 8 years ago

@z3ntu :3

~ Peace out

NiclasOlofsson commented 8 years ago

Not helpful