Changed to newer framework in tracker project
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<add name="Tournaments" connectionString="Server=.\SQLEXPR2017;Database=Tournaments;Trusted_Connection=True;" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
|
||||
@ -71,7 +71,7 @@ namespace TrackerUI
|
||||
int prizePercentage = 0;
|
||||
|
||||
bool prizeAmountValid = decimal.TryParse(prizeAmountValue.Text, out prizeAmount);
|
||||
bool prizePercentageValid = int.TryParse(prizeAmountValue.Text, out prizePercentage);
|
||||
bool prizePercentageValid = int.TryParse(prizePercentageValue.Text, out prizePercentage);
|
||||
|
||||
if (prizePercentageValid == false || prizeAmountValid == false)
|
||||
{
|
||||
|
||||
@ -117,7 +117,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\TrackerLibrary\TrackerLibrary.csproj">
|
||||
<Project>{b4ffd708-5d53-4d58-b5a6-5691020ef6dc}</Project>
|
||||
<Project>{27ba8b4b-4ef6-4ca2-8e43-7c930552ecd9}</Project>
|
||||
<Name>TrackerLibrary</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user