Skip to content

Commit

Permalink
fix target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Jun 11, 2016
1 parent 918ecdb commit 26b4704
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 53 deletions.
7 changes: 6 additions & 1 deletion GameDVR_Config.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GameDVR_Config</RootNamespace>
<AssemblyName>GameDVR_Config</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -21,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -30,6 +32,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -59,7 +62,9 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down
2 changes: 1 addition & 1 deletion GameDVR_ConfigForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void HeightTextBox_TextChanged(object sender, EventArgs e)
{
int height;
try { height = Convert.ToInt32(HeightTextBox.Text); }
catch { height = 1280; }
catch { height = 720; }

SetInt("CustomVideoEncodingHeight", height);
}
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("GameDVR_Config")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("https://github.com/FunkyFr3sh/GameDVR_Config")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("cncnet.org")]
[assembly: AssemblyCompany("https://github.com/FunkyFr3sh/GameDVR_Config")]
[assembly: AssemblyProduct("GameDVR_Config")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
Expand Down
56 changes: 24 additions & 32 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 13 additions & 17 deletions Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1"/></startup></configuration>

0 comments on commit 26b4704

Please sign in to comment.