Commit Graph

35 Commits

Author SHA1 Message Date
Gustas
64b2bd4735 Update to HTTPS 2024-06-03 10:25:06 +02:00
RoosterDragon
83561d639d Update LangVersion to C# 9.
mono was the bottleneck restricting our ability to use a newer C# version. mono 6.12 is currently available. Although poorly documented on their website, this supports C# 9. https://www.mono-project.com/docs/about-mono/versioning/#mono-source-versioning indicates mono 6.12 uses Roslyn 3.9.0. https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning indicates Roslyn 3.9.0 supports C# 9.

This unlocks C# 8 and C# 9 features previously unavailable to us.
- https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-80
- https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-9

A newer version of StyleCop is required to avoid rules tripping up on the new syntax. Currently only prerelease versions are available but their use is encouraged https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3420#issuecomment-994899135

Fix style rule violations on existing rules where the newer language version makes some existing casts redundant or allows use of the null coalescing assignment operator.
2023-04-05 15:27:41 +03:00
abcdefg30
b12c15ea9d Update to .NET 6 2022-01-04 12:34:30 +01:00
Paul Chote
765944cfa2 Switch macOS and Linux default toolchain to .NET 5. 2021-01-16 22:58:05 +01:00
teinarss
5e74e58b22 Add support for dotnet core for Windows 2021-01-01 19:42:01 +01:00
Ivaylo Draganov
3ab4a584ab Remove trailing white-space from various files 2020-05-23 11:38:44 +02:00
teinarss
e13fd693c3 Add Nuget packages for all dependencies 2020-04-18 11:36:25 -05:00
Paul Chote
1955cac84e Unify Windows and mono build systems.
The Makefile behaviour is recreated using the new and significantly
cleaner .NET Core csproj format.

fixheader.exe is promoted to OpenRA.PostProcess.exe and now runs
on all platforms.
2019-05-05 23:19:04 +02:00
Paul Chote
761b5e094d Reduce minimum .NET requirement to 4.6.1.
4.7.2 causes compatibility issues with Mono 5.4
in the interim period before we migrate to netstandard2.
2019-05-05 23:19:04 +02:00
Paul Chote
93193d4e63 Document dependency changes in INSTALL.md. 2019-03-30 20:17:17 +01:00
Brenton Horne
38e8bed9c9 [INSTALL.md] Pkg lists->command; add extra distros 2018-10-06 23:48:36 +01:00
Matthias
cdedd1c7ac Some packages have been renamed in openSUSE
tested with openSUSE Leap 42.3
2017-10-16 15:35:06 +02:00
Matthias
7675c87593 Nuget dependency was dropped in #13912 2017-10-16 15:35:06 +02:00
Benjamin Hodgetts
8abf5ce372 Correct make install command
No-longer "install-all".
2017-04-25 12:08:13 +01:00
masihaama
b241034c6d Add OS X build instructions to INSTALL.md
The following subset of Linux build directions work for OSX 10.11.3. Mono JIT compiler version 4.2.1
2016-08-19 16:39:08 +02:00
Thomas van der Berg
f9f53a6925 Add curl package names to INSTALL.md 2016-07-10 21:13:59 +02:00
Matthias Mailänder
5029ac705f Update to .NET 4.5 2016-05-19 21:24:21 +02:00
Matthias Mailänder
44bd704799 Don't recommend WinForms on Debian
as that isn't a requirement anymore.
2016-01-31 20:04:46 +01:00
Matthias Mailänder
dc24d004c4 Don't recommend mono-mcs
as it is already a dependency of mono-devel.
2016-01-31 20:04:22 +01:00
Matthias Mailänder
c7b6695328 Don't recommend cli-common-dev
as it is meant to be for DEB building.
2016-01-31 20:03:44 +01:00
Matthias Mailänder
9bb130928b Don't use deprecated Mono compilers. 2016-01-31 19:44:07 +01:00
Matthias Mailänder
1ec3c4bc62 Update INSTALL.md
try to explain the changes from #7190 and #7197
2014-12-26 21:45:08 +01:00
Matthias Mailänder
e7ff627d87 Update INSTALL.md
add Windows PowerShell as dependency for the Makefile substitutes
2014-12-26 16:27:22 +01:00
Paul Chote
f4055dae53 Add --check-code-style utility command. 2014-12-25 10:18:20 +01:00
Matthias Mailänder
5402993930 document Makefile changes 2014-11-30 09:50:50 +01:00
jfinkels
79ac45814f Fixes incorrect package name in INSTALL.md
No package `libmono-winforms4.0-cil` exists in Debian or Ubuntu. The correct package name is `libmono-system-windows-forms4.0-cil`.
2014-08-14 23:47:10 -04:00
Matthias Mailänder
ff8e19e9e2 /usr/bin/openra needs make install-linux-shortcuts 2014-06-03 10:58:04 +02:00
Matthias Mailänder
17753ac6e2 complete the Gentoo dependencies via @cerebrum 2014-06-02 20:01:26 +02:00
Matthias Mailänder
bae893a5d3 fixed syntax errors 2014-06-02 19:54:35 +02:00
Matthias Mailänder
e547b71f20 document Lua 5.1 for Windows 2014-06-02 19:19:03 +02:00
Matthias Mailänder
69fe6f1349 update Debian/Ubuntu and SUSE build dependencies 2014-06-02 19:16:06 +02:00
Matthias Mailänder
da5ec9911a Slackware 13.37 is way too old for us now 2014-06-02 19:09:33 +02:00
Matthias Mailänder
6c762f9c55 separate make dependencies into CLI and bundled native ones 2014-06-01 05:10:24 +02:00
Paul Chote
03c3c3ae9b Remove legacy renderers. 2014-05-02 23:38:47 +12:00
Matthias Mailänder
3daa02ece5 converted INSTALL to Markdown
moved licensing information to the README
2014-04-19 09:40:42 +02:00