├── .gitignore ├── README.md ├── domjudge-version-extractor ├── Program.cs ├── Properties │ └── AssemblyInfo.cs └── domjudge-version-extractor.csproj └── domjudge-version-extractor.sln /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | obj/ 3 | /packages/ 4 | riderModule.iml 5 | /_ReSharper.Caches/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # domjudge-version-extractor 2 | Find out which .NET version DomJudge is using 3 | 4 | Simply submit `Program.cs` as your "solution" and check the output. 5 | -------------------------------------------------------------------------------- /domjudge-version-extractor/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace domjudge_version_extractor 4 | { 5 | internal class Program 6 | { 7 | public static void Main(string[] args) 8 | { 9 | Console.Write(typeof(string).Assembly.ImageRuntimeVersion); 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /domjudge-version-extractor.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "domjudge-version-extractor", "domjudge-version-extractor\domjudge-version-extractor.csproj", "{033E3819-D19C-4F68-AD59-8992FEF1D298}" 4 | EndProject 5 | Global 6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 7 | Debug|Any CPU = Debug|Any CPU 8 | Release|Any CPU = Release|Any CPU 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {033E3819-D19C-4F68-AD59-8992FEF1D298}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 12 | {033E3819-D19C-4F68-AD59-8992FEF1D298}.Debug|Any CPU.Build.0 = Debug|Any CPU 13 | {033E3819-D19C-4F68-AD59-8992FEF1D298}.Release|Any CPU.ActiveCfg = Release|Any CPU 14 | {033E3819-D19C-4F68-AD59-8992FEF1D298}.Release|Any CPU.Build.0 = Release|Any CPU 15 | EndGlobalSection 16 | EndGlobal 17 | -------------------------------------------------------------------------------- /domjudge-version-extractor/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // General Information about an assembly is controlled through the following 5 | // set of attributes. Change these attribute values to modify the information 6 | // associated with an assembly. 7 | [assembly: AssemblyTitle("domjudge_version_extractor")] 8 | [assembly: AssemblyDescription("")] 9 | [assembly: AssemblyConfiguration("")] 10 | [assembly: AssemblyCompany("")] 11 | [assembly: AssemblyProduct("domjudge_version_extractor")] 12 | [assembly: AssemblyCopyright("Copyright © 2020")] 13 | [assembly: AssemblyTrademark("")] 14 | [assembly: AssemblyCulture("")] 15 | 16 | // Setting ComVisible to false makes the types in this assembly not visible 17 | // to COM components. If you need to access a type in this assembly from 18 | // COM, set the ComVisible attribute to true on that type. 19 | [assembly: ComVisible(false)] 20 | 21 | // The following GUID is for the ID of the typelib if this project is exposed to COM 22 | [assembly: Guid("033E3819-D19C-4F68-AD59-8992FEF1D298")] 23 | 24 | // Version information for an assembly consists of the following four values: 25 | // 26 | // Major Version 27 | // Minor Version 28 | // Build Number 29 | // Revision 30 | // 31 | // You can specify all the values or you can default the Build and Revision Numbers 32 | // by using the '*' as shown below: 33 | // [assembly: AssemblyVersion("1.0.*")] 34 | [assembly: AssemblyVersion("1.0.0.0")] 35 | [assembly: AssemblyFileVersion("1.0.0.0")] -------------------------------------------------------------------------------- /domjudge-version-extractor/domjudge-version-extractor.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | Debug 7 | AnyCPU 8 | {033E3819-D19C-4F68-AD59-8992FEF1D298} 9 | Exe 10 | Properties 11 | domjudge_version_extractor 12 | domjudge_version_extractor 13 | v4.7.2 14 | 512 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | 26 | 27 | AnyCPU 28 | pdbonly 29 | true 30 | bin\Release\ 31 | TRACE 32 | prompt 33 | 4 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 53 | 54 | 55 | --------------------------------------------------------------------------------