Skip to content

Commit a0501e6

Browse files
committed
fix: Allow the launcher to run on clean Windows 7 and 10
1 parent 952b197 commit a0501e6

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Source/Launcher/Launcher.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>ORTS</RootNamespace>
1111
<AssemblyName>OpenRails</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<ApplicationIcon>..\ORTS.ico</ApplicationIcon>
15-
<TargetFrameworkProfile />
1615
</PropertyGroup>
1716
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
1817
<DebugSymbols>true</DebugSymbols>
@@ -24,7 +23,6 @@
2423
<WarningLevel>4</WarningLevel>
2524
<LangVersion>7.3</LangVersion>
2625
<PlatformTarget>AnyCPU</PlatformTarget>
27-
<Prefer32Bit>false</Prefer32Bit>
2826
</PropertyGroup>
2927
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
3028
<DebugType>pdbonly</DebugType>
@@ -36,7 +34,6 @@
3634
<DocumentationFile>..\..\Program\OpenRails.xml</DocumentationFile>
3735
<NoWarn>1591</NoWarn>
3836
<LangVersion>7.3</LangVersion>
39-
<Prefer32Bit>false</Prefer32Bit>
4037
</PropertyGroup>
4138
<PropertyGroup>
4239
<ApplicationManifest>..\Launcher\app.manifest</ApplicationManifest>

Source/Launcher/app.config

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0"?>
22
<configuration>
3-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/></startup></configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0"/>
5+
<supportedRuntime version="v2.0.50727"/>
6+
</startup>
7+
</configuration>

0 commit comments

Comments
 (0)