Skip to content

Commit

Permalink
Use dual-targeting to run on both .netfx-3.5 and .netfx-4.0+.
Browse files Browse the repository at this point in the history
Fixes #11.
  • Loading branch information
binki committed Sep 14, 2018
1 parent 8a832f2 commit 27df4ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions X-Mouse Controls/X-Mouse Controls.csproj
Expand Up @@ -98,6 +98,7 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down
12 changes: 12 additions & 0 deletions X-Mouse Controls/app.config
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<configuration>
<!--
Specify both .net-3.5 and .net-4.0 so that the app works out of the box on Windows8+
which doesn’t ship with .net-3.5 preinstalled and older windows which don’t have .net-4.0
installed. See https://stackoverflow.com/a/20865375.
-->
<startup>
<supportedRuntime version="v4.0"/>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>

0 comments on commit 27df4ce

Please sign in to comment.