Bump SAM.Game to .NET4.

This commit is contained in:
gibbed
2017-11-24 08:57:04 -06:00
parent ec28921bc7
commit 66213562f1
4 changed files with 38 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -60,6 +60,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Download {
get {
object obj = ResourceManager.GetObject("Download", resourceCulture);
@@ -67,6 +70,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Invert {
get {
object obj = ResourceManager.GetObject("Invert", resourceCulture);
@@ -74,6 +80,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Lock {
get {
object obj = ResourceManager.GetObject("Lock", resourceCulture);
@@ -81,6 +90,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Refresh {
get {
object obj = ResourceManager.GetObject("Refresh", resourceCulture);
@@ -88,6 +100,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Reset {
get {
object obj = ResourceManager.GetObject("Reset", resourceCulture);
@@ -95,6 +110,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Sad {
get {
object obj = ResourceManager.GetObject("Sad", resourceCulture);
@@ -102,6 +120,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Save {
get {
object obj = ResourceManager.GetObject("Save", resourceCulture);
@@ -109,6 +130,9 @@ namespace SAM.Game.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Unlock {
get {
object obj = ResourceManager.GetObject("Unlock", resourceCulture);

View File

@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SAM.Game</RootNamespace>
<AssemblyName>SAM.Game</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ApplicationIcon>Blank.ico</ApplicationIcon>
<PublishUrl>publish\</PublishUrl>
@@ -28,6 +28,7 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -143,7 +144,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -31,5 +31,10 @@ namespace SAM.Game.Stats
public string IconLocked;
public bool IsHidden;
public int Permission;
public override string ToString()
{
return string.Format("{0}: {1}", this.Name ?? this.Id ?? base.ToString(), this.Permission);
}
}
}

3
SAM.Game/app.config Normal file
View File

@@ -0,0 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>