0x0ade / XnaToFna

Relink games / tools using the XNA Framework 4.0 to use FNA instead
zlib License
52 stars 5 forks source link

new build requirements? #14

Closed rfht closed 6 years ago

rfht commented 6 years ago

Hi,

I understand that XnaToFna is a moving target right now, but I can't build the latest check out anymore and am wondering if I'm missing build system requirements if you guys still build it successfully.

The error seems to be related to langversion 7.3 not begin detected. Replacing those with 7.2 leads to a long list of other errors (let me know if you want to see a log of that).

Build System:

$ msbuild XnaToFna.csproj
Microsoft (R) Build Engine version 15.1.8.0 ( Wed Sep  5 19:27:37 UTC 2018) for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/5/2018 9:15:09 PM.
Project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
Project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" (1) is building "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.csproj" (2: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:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
_CopyOutOfDateSourceItemsToOutputDirectoryAlways:
  Copying file from "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.dll.config" to "bin/Debug/FNA.dll.config".
CopyFilesToOutputDirectory:
  FNA -> /home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/bin/Debug/FNA.dll
Done Building Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.csproj" (default targets).
Project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" (1) is building "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj" (3:2) on node 1 (default targets).
Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj" (3:2) is building "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj" (4:3) on node 1 (default targets).
CoreCompile:
  /usr/lib/mono/msbuild/15.0/bin/Roslyn/csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva- /reference:/usr/lib/mono/2.0-api/mscorlib.dll /reference:/usr/lib/mono/2.0-api/System.Core.dll /reference:/usr/lib/mono/2.0-api/System.dll /debug+ /debug:portable /filealign:512 /optimize- /out:obj/Debug/MonoMod.Utils.dll /target:library /utf8output /langversion:7.3 ../MonoMod/Properties/AssemblyInfo.Common.cs DynamicMethodDefinition.cs DynamicMethodHelper.cs DynDll.cs Extensions.cs LimitedStream.cs ModInterop/ModExportName.cs ModInterop/ModImportName.cs MonoMod__OldName__.cs MonoModExt.cs Platform.cs PlatformHelper.cs Properties/AssemblyInfo.cs FastReflectionHelper.cs RelinkFailedException.cs RelinkTargetNotFoundException.cs StringInjectExtension.cs ModInterop/ModInteropManager.cs
CSC : error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values. [/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj]
Done Building Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj" (default targets) -- FAILED.
Done Building Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj" (default targets) -- FAILED.
Done Building Project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" (default targets) -- FAILED.

Build FAILED.

"/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" (default target) (1) ->
"/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj" (default target) (3:2) ->
"/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj" (default target) (4:3) ->
(CoreCompile target) -> 
  CSC : error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values. [/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.94
$ xbuild XnaToFna.csproj

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.14.0.177
Copyright (C) 2005-2013 Various Mono authors

Build started 10/5/2018 9:16:31 PM.
__________________________________________________
Project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj" (default target(s)):
    Target PrepareForBuild:
        Configuration: Debug Platform: AnyCPU
    Target ResolveProjectReferences:
        Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: x86
            Target CopyNonResxEmbeddedResources:
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/AlphaTestEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.AlphaTestEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/BasicEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.BasicEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/DualTextureEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.DualTextureEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/EnvironmentMapEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.EnvironmentMapEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/SkinnedEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.SkinnedEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/StockEffects/FXB/SpriteEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.SpriteEffect.fxb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/src/Graphics/Effect/YUVToRGBA/YUVToRGBAEffect.fxb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.YUVToRGBA.YUVToRGBAEffect.fxb'
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/x86/Debug/FNA.dll /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.AlphaTestEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.AlphaTestEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.BasicEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.BasicEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.DualTextureEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.DualTextureEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.EnvironmentMapEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.EnvironmentMapEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.SkinnedEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.SkinnedEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.StockEffects.FXB.SpriteEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.SpriteEffect.fxb /resource:obj/x86/Debug/Microsoft.Xna.Framework.src.Graphics.Effect.YUVToRGBA.YUVToRGBAEffect.fxb,Microsoft.Xna.Framework.Graphics.Effect.Resources.YUVToRGBAEffect.fxb src/Audio/AudioCategory.cs src/Audio/AudioChannels.cs src/Audio/AudioEmitter.cs src/Audio/AudioEngine.cs src/Audio/AudioListener.cs src/Audio/AudioStopOptions.cs src/Audio/Cue.cs src/Audio/DynamicSoundEffectInstance.cs src/Audio/InstancePlayLimitException.cs src/Audio/Microphone.cs src/Audio/MicrophoneState.cs src/Audio/NoAudioHardwareException.cs src/Audio/NoMicrophoneConnectedException.cs src/Audio/RendererDetail.cs src/Audio/SoundBank.cs src/Audio/SoundEffect.cs src/Audio/SoundEffectInstance.cs src/Audio/SoundState.cs src/Audio/WaveBank.cs src/BoundingBox.cs src/BoundingFrustum.cs src/BoundingSphere.cs src/Color.cs src/ContainmentType.cs src/Content/ContentExtensions.cs src/Content/ContentLoadException.cs src/Content/ContentManager.cs src/Content/ContentReader.cs src/Content/ContentReaders/AlphaTestEffectReader.cs src/Content/ContentReaders/ArrayReader.cs src/Content/ContentReaders/BasicEffectReader.cs src/Content/ContentReaders/BooleanReader.cs src/Content/ContentReaders/BoundingBoxReader.cs src/Content/ContentReaders/BoundingFrustumReader.cs src/Content/ContentReaders/BoundingSphereReader.cs src/Content/ContentReaders/ByteReader.cs src/Content/ContentReaders/CharReader.cs src/Content/ContentReaders/ColorReader.cs src/Content/ContentReaders/CurveReader.cs src/Content/ContentReaders/DateTimeReader.cs src/Content/ContentReaders/DecimalReader.cs src/Content/ContentReaders/DictionaryReader.cs src/Content/ContentReaders/DoubleReader.cs src/Content/ContentReaders/DualTextureEffectReader.cs src/Content/ContentReaders/EffectMaterialReader.cs src/Content/ContentReaders/EffectReader.cs src/Content/ContentReaders/EnumReader.cs src/Content/ContentReaders/EnvironmentMapEffectReader.cs src/Content/ContentReaders/ExternalReferenceReader.cs src/Content/ContentReaders/IndexBufferReader.cs src/Content/ContentReaders/Int16Reader.cs src/Content/ContentReaders/Int32Reader.cs src/Content/ContentReaders/Int64Reader.cs src/Content/ContentReaders/ListReader.cs src/Content/ContentReaders/MatrixReader.cs src/Content/ContentReaders/ModelReader.cs src/Content/ContentReaders/NullableReader.cs src/Content/ContentReaders/PlaneReader.cs src/Content/ContentReaders/PointReader.cs src/Content/ContentReaders/QuaternionReader.cs src/Content/ContentReaders/RayReader.cs src/Content/ContentReaders/RectangleReader.cs src/Content/ContentReaders/ReflectiveReader.cs src/Content/ContentReaders/SByteReader.cs src/Content/ContentReaders/SingleReader.cs src/Content/ContentReaders/SkinnedEffectReader.cs src/Content/ContentReaders/SongReader.cs src/Content/ContentReaders/SoundEffectReader.cs src/Content/ContentReaders/SpriteFontReader.cs src/Content/ContentReaders/StringReader.cs src/Content/ContentReaders/Texture2DReader.cs src/Content/ContentReaders/Texture3DReader.cs src/Content/ContentReaders/TextureCubeReader.cs src/Content/ContentReaders/TextureReader.cs src/Content/ContentReaders/TimeSpanReader.cs src/Content/ContentReaders/UInt16Reader.cs src/Content/ContentReaders/UInt32Reader.cs src/Content/ContentReaders/UInt64Reader.cs src/Content/ContentReaders/Vector2Reader.cs src/Content/ContentReaders/Vector3Reader.cs src/Content/ContentReaders/Vector4Reader.cs src/Content/ContentReaders/VertexBufferReader.cs src/Content/ContentReaders/VertexDeclarationReader.cs src/Content/ContentReaders/VideoReader.cs src/Content/ContentSerializerAttribute.cs src/Content/ContentSerializerCollectionItemNameAttribute.cs src/Content/ContentSerializerIgnoreAttribute.cs src/Content/ContentSerializerRuntimeTypeAttribute.cs src/Content/ContentSerializerTypeVersionAttribute.cs src/Content/ContentTypeReader.cs src/Content/ContentTypeReaderManager.cs src/Content/LzxDecoder.cs src/Content/ResourceContentManager.cs src/Curve.cs src/CurveContinuity.cs src/CurveKey.cs src/CurveKeyCollection.cs src/CurveLoopType.cs src/CurveTangent.cs src/Design/BoundingBoxConverter.cs src/Design/BoundingSphereConverter.cs src/Design/ColorConverter.cs src/Design/MathTypeConverter.cs src/Design/MatrixConverter.cs src/Design/PlaneConverter.cs src/Design/PointConverter.cs src/Design/QuaternionConverter.cs src/Design/RayConverter.cs src/Design/RectangleConverter.cs src/Design/Vector2Converter.cs src/Design/Vector3Converter.cs src/Design/Vector4Converter.cs src/DisplayOrientation.cs src/DrawableGameComponent.cs src/FNALoggerEXT.cs src/FNAPlatform/FNAPlatform.cs src/FNAPlatform/FNAWindow.cs src/FNAPlatform/IGLDevice.cs src/FNAPlatform/ModernGLDevice.cs src/FNAPlatform/ModernGLDevice_GL.cs src/FNAPlatform/OpenGLDevice.cs src/FNAPlatform/OpenGLDevice_GL.cs src/FNAPlatform/SDL2_FNAPlatform.cs src/FrameworkDispatcher.cs src/Game.cs src/GameComponent.cs src/GameComponentCollection.cs src/GameComponentCollectionEventArgs.cs src/GameServiceContainer.cs src/GameTime.cs src/GameWindow.cs src/Graphics/ClearOptions.cs src/Graphics/ColorWriteChannels.cs src/Graphics/CubeMapFace.cs src/Graphics/DepthFormat.cs src/Graphics/DeviceLostException.cs src/Graphics/DeviceNotResetException.cs src/Graphics/DirectionalLight.cs src/Graphics/DisplayMode.cs src/Graphics/DisplayModeCollection.cs src/Graphics/DxtUtil.cs src/Graphics/Effect/Effect.cs src/Graphics/Effect/EffectAnnotation.cs src/Graphics/Effect/EffectAnnotationCollection.cs src/Graphics/Effect/EffectMaterial.cs src/Graphics/Effect/EffectParameter.cs src/Graphics/Effect/EffectParameterClass.cs src/Graphics/Effect/EffectParameterCollection.cs src/Graphics/Effect/EffectParameterType.cs src/Graphics/Effect/EffectPass.cs src/Graphics/Effect/EffectPassCollection.cs src/Graphics/Effect/EffectTechnique.cs src/Graphics/Effect/EffectTechniqueCollection.cs src/Graphics/Effect/IEffectFog.cs src/Graphics/Effect/IEffectLights.cs src/Graphics/Effect/IEffectMatrices.cs src/Graphics/Effect/Resources.cs src/Graphics/Effect/StockEffects/AlphaTestEffect.cs src/Graphics/Effect/StockEffects/BasicEffect.cs src/Graphics/Effect/StockEffects/DualTextureEffect.cs src/Graphics/Effect/StockEffects/EffectHelpers.cs src/Graphics/Effect/StockEffects/EnvironmentMapEffect.cs src/Graphics/Effect/StockEffects/SkinnedEffect.cs src/Graphics/Effect/StockEffects/SpriteEffect.cs src/Graphics/GraphicsAdapter.cs src/Graphics/GraphicsDevice.cs src/Graphics/GraphicsDeviceStatus.cs src/Graphics/GraphicsProfile.cs src/Graphics/GraphicsResource.cs src/Graphics/IGraphicsDeviceService.cs src/Graphics/IRenderTarget.cs src/Graphics/Model.cs src/Graphics/ModelBone.cs src/Graphics/ModelBoneCollection.cs src/Graphics/ModelEffectCollection.cs src/Graphics/ModelMesh.cs src/Graphics/ModelMeshCollection.cs src/Graphics/ModelMeshPart.cs src/Graphics/ModelMeshPartCollection.cs src/Graphics/NoSuitableGraphicsDeviceException.cs src/Graphics/OcclusionQuery.cs src/Graphics/PackedVector/Alpha8.cs src/Graphics/PackedVector/Bgr565.cs src/Graphics/PackedVector/Bgra4444.cs src/Graphics/PackedVector/Bgra5551.cs src/Graphics/PackedVector/Byte4.cs src/Graphics/PackedVector/HalfSingle.cs src/Graphics/PackedVector/HalfTypeHelper.cs src/Graphics/PackedVector/HalfVector2.cs src/Graphics/PackedVector/HalfVector4.cs src/Graphics/PackedVector/IPackedVector.cs src/Graphics/PackedVector/NormalizedByte2.cs src/Graphics/PackedVector/NormalizedByte4.cs src/Graphics/PackedVector/NormalizedShort2.cs src/Graphics/PackedVector/NormalizedShort4.cs src/Graphics/PackedVector/Rg32.cs src/Graphics/PackedVector/Rgba64.cs src/Graphics/PackedVector/Rgba1010102.cs src/Graphics/PackedVector/Short2.cs src/Graphics/PackedVector/Short4.cs src/Graphics/PresentationParameters.cs src/Graphics/PresentInterval.cs src/Graphics/PrimitiveType.cs src/Graphics/RenderTarget2D.cs src/Graphics/RenderTargetBinding.cs src/Graphics/RenderTargetCube.cs src/Graphics/RenderTargetUsage.cs src/Graphics/ResourceCreatedEventArgs.cs src/Graphics/ResourceDestroyedEventArgs.cs src/Graphics/SamplerStateCollection.cs src/Graphics/SetDataOptions.cs src/Graphics/SpriteBatch.cs src/Graphics/SpriteEffects.cs src/Graphics/SpriteFont.cs src/Graphics/SpriteSortMode.cs src/Graphics/States/Blend.cs src/Graphics/States/BlendFunction.cs src/Graphics/States/BlendState.cs src/Graphics/States/CompareFunction.cs src/Graphics/States/CullMode.cs src/Graphics/States/DepthStencilState.cs src/Graphics/States/FillMode.cs src/Graphics/States/RasterizerState.cs src/Graphics/States/SamplerState.cs src/Graphics/States/StencilOperation.cs src/Graphics/States/TextureAddressMode.cs src/Graphics/States/TextureFilter.cs src/Graphics/SurfaceFormat.cs src/Graphics/Texture.cs src/Graphics/Texture2D.cs src/Graphics/Texture3D.cs src/Graphics/TextureCollection.cs src/Graphics/TextureCube.cs src/Graphics/Vertices/BufferUsage.cs src/Graphics/Vertices/DynamicIndexBuffer.cs src/Graphics/Vertices/DynamicVertexBuffer.cs src/Graphics/Vertices/IndexBuffer.cs src/Graphics/Vertices/IndexElementSize.cs src/Graphics/Vertices/IVertexType.cs src/Graphics/Vertices/VertexBuffer.cs src/Graphics/Vertices/VertexBufferBinding.cs src/Graphics/Vertices/VertexDeclaration.cs src/Graphics/Vertices/VertexDeclarationCache.cs src/Graphics/Vertices/VertexElement.cs src/Graphics/Vertices/VertexElementFormat.cs src/Graphics/Vertices/VertexElementUsage.cs src/Graphics/Vertices/VertexPositionColor.cs src/Graphics/Vertices/VertexPositionColorTexture.cs src/Graphics/Vertices/VertexPositionNormalTexture.cs src/Graphics/Vertices/VertexPositionTexture.cs src/Graphics/Viewport.cs src/Graphics/X360TexUtil.cs src/GraphicsDeviceInformation.cs src/GraphicsDeviceManager.cs src/IDrawable.cs src/IGameComponent.cs src/IGraphicsDeviceManager.cs src/Input/Buttons.cs src/Input/ButtonState.cs src/Input/GamePad.cs src/Input/GamePadButtons.cs src/Input/GamePadCapabilities.cs src/Input/GamePadDeadZone.cs src/Input/GamePadDPad.cs src/Input/GamePadState.cs src/Input/GamePadThumbSticks.cs src/Input/GamePadTriggers.cs src/Input/GamePadType.cs src/Input/Keyboard.cs src/Input/KeyboardState.cs src/Input/Keys.cs src/Input/KeyState.cs src/Input/Mouse.cs src/Input/MouseState.cs src/Input/TextInputEXT.cs src/Input/Touch/GestureSample.cs src/Input/Touch/GestureType.cs src/Input/Touch/TouchCollection.cs src/Input/Touch/TouchLocation.cs src/Input/Touch/TouchLocationState.cs src/Input/Touch/TouchPanel.cs src/Input/Touch/TouchPanelCapabilities.cs src/IUpdateable.cs src/LaunchParameters.cs src/MathHelper.cs src/Matrix.cs src/Media/MediaPlayer.cs src/Media/MediaQueue.cs src/Media/MediaState.cs src/Media/Song.cs src/Media/SongCollection.cs src/Media/VideoSoundtrackType.cs src/Media/VisualizationData.cs src/Media/Xiph/Video.cs src/Media/Xiph/VideoPlayer.cs src/NamespaceDocs.cs src/Plane.cs src/PlaneIntersectionType.cs src/PlayerIndex.cs src/Point.cs src/PreparingDeviceSettingsEventArgs.cs src/Properties/AssemblyInfo.cs src/Quaternion.cs src/Ray.cs src/Rectangle.cs src/Storage/StorageContainer.cs src/Storage/StorageDevice.cs src/Storage/StorageDeviceNotConnectedException.cs src/TitleContainer.cs src/TitleLocation.cs src/Utilities/AssemblyHelper.cs src/Utilities/FileHelpers.cs src/Utilities/FNAInternalExtensions.cs src/Vector2.cs src/Vector3.cs src/Vector4.cs lib/SDL2-CS/src/SDL2.cs lib/SDL2-CS/src/SDL2_image.cs lib/FAudio/csharp/FAudio.cs lib/MojoShader/csharp/MojoShader.cs lib/Theorafile/csharp/Theorafile.cs obj/x86/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.cs /target:library /unsafe+ /define:DEBUG /nostdlib /platform:x86 /reference:/usr/lib/mono/4.0-api/System.dll /reference:/usr/lib/mono/4.0-api/System.Core.dll /reference:/usr/lib/mono/4.0-api//mscorlib.dll /warn:4
                Microsoft (R) Visual C# Compiler version 2.7.0.62620 (e873e693)
                Copyright (C) Microsoft Corporation. All rights reserved.
            Target _CopyDeployFilesToOutputDirectoryAlways:
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.dll.config' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/bin/Debug/FNA.dll.config'
            Target DeployOutputFiles:
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/FNA.pdb' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/bin/Debug/FNA.pdb'
                Copying file from '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/obj/x86/Debug/FNA.dll' to '/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/bin/Debug/FNA.dll'
        Done building project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/FNA/FNA.csproj".
        Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target ResolveProjectReferences:
                Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj" (default target(s)):
                    Target PrepareForBuild:
                        Configuration: Debug Platform: AnyCPU
                    Target GenerateSatelliteAssemblies:
                    No input files were specified for target GenerateSatelliteAssemblies, skipping.
                    Target CoreCompile:
                        Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/MonoMod.Utils.dll ../MonoMod/Properties/AssemblyInfo.Common.cs DynamicMethodDefinition.cs DynamicMethodHelper.cs DynDll.cs Extensions.cs LimitedStream.cs ModInterop/ModExportName.cs ModInterop/ModImportName.cs MonoMod__OldName__.cs MonoModExt.cs Platform.cs PlatformHelper.cs Properties/AssemblyInfo.cs FastReflectionHelper.cs RelinkFailedException.cs RelinkTargetNotFoundException.cs StringInjectExtension.cs ModInterop/ModInteropManager.cs /target:library /define:"DEBUG;TRACE" /langversion:7.3 /nostdlib /reference:/usr/lib/mono/2.0-api/System.dll /reference:/usr/lib/mono/2.0-api/System.Core.dll /reference:/usr/lib/mono/2.0-api//mscorlib.dll /warn:4
                        Microsoft (R) Visual C# Compiler version 2.7.0.62620 (e873e693)
                        Copyright (C) Microsoft Corporation. All rights reserved.
CSC: error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values.
                    Task "Csc" execution -- FAILED
                    Done building target "CoreCompile" in project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj".-- FAILED
                Done building project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj".-- FAILED
            Task "MSBuild" execution -- FAILED
            Done building target "ResolveProjectReferences" in project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj".-- FAILED
        Done building project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj".-- FAILED
        Project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod/MonoMod.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/csc.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/MonoMod.exe InlineRT/MonoModRulesModder.cs MMIL/Inject.cs Modifiers/MonoModForceCallvirt.cs Modifiers/MonoModForceCall.cs Modifiers/MonoModLinkFrom.cs Modifiers/MonoMod__WasIDictionary__.cs Modifiers/MonoMod__SafeToCopy__.cs InlineRT/MonoModRulesManager.cs InlineRT/MonoModRule.cs Modifiers/MonoModCustomAttribute.cs Modifiers/MonoModHook.cs Modifiers/MonoModIfFlag.cs Modifiers/MonoModNoNew.cs Modifiers/MonoModOnPlatform.cs Modifiers/MonoModAdded.cs Modifiers/MonoModOriginal.cs Modifiers/MonoModOriginalName.cs Modifiers/MonoModTargetModule.cs Modifiers/MonoModPublic.cs Modifiers/MonoModPatch.cs MonoModder.cs Program.cs Properties/AssemblyInfo.cs Modifiers/MonoModIgnore.cs Modifiers/MonoModRemove.cs Modifiers/MonoModReplace.cs Modifiers/MonoModConstructor.cs Modifiers/MonoModLinkTo.cs Modifiers/MonoModEnumReplace.cs Properties/AssemblyInfo.Common.cs /target:exe /unsafe+ /define:"DEBUG;TRACE" /langversion:7.3 /nostdlib /platform:AnyCPU /reference:/usr/lib/mono/2.0-api/System.dll /reference:/usr/lib/mono/2.0-api/System.Core.dll /reference:/usr/lib/mono/2.0-api//mscorlib.dll /warn:4
                Microsoft (R) Visual C# Compiler version 2.7.0.62620 (e873e693)
                Copyright (C) Microsoft Corporation. All rights reserved.
CSC: error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values.
            Task "Csc" execution -- FAILED
            Done building target "CoreCompile" in project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod/MonoMod.csproj".-- FAILED
        Done building project "/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod/MonoMod.csproj".-- FAILED
    Task "MSBuild" execution -- FAILED
    Done building target "ResolveProjectReferences" in project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj".-- FAILED
Done building project "/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj".-- FAILED

Build FAILED.
Errors:

/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveProjectReferences target) ->
/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.RuntimeDetour/MonoMod.RuntimeDetour.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveProjectReferences target) ->
/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod.Utils/MonoMod.Utils.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    CSC: error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values.

/home/thfr/Desktop/x2f/XnaToFna/XnaToFna.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveProjectReferences target) ->
/home/thfr/Desktop/x2f/XnaToFna/lib-projs/MonoMod/MonoMod/MonoMod.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    CSC: error CS1617: Invalid option '7.3' for /langversion. Use '/langversion:?' to list supported values.

     0 Warning(s)
     2 Error(s)

Time Elapsed 00:00:02.2327680
0x0ade commented 6 years ago

You'll need to use Mono 5.16 or newer to compile C# 7.3 code.