mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 01:06:35 +00:00
PckStudio - Enabled 'Treat all warnings as errors'
This commit is contained in:
2
PCK-Studio/Classes/Models/ModelView.Designer.cs
generated
2
PCK-Studio/Classes/Models/ModelView.Designer.cs
generated
@@ -57,8 +57,6 @@ namespace PckStudio.Models
|
||||
|
||||
private System.Drawing.Image backgroundTexture;
|
||||
|
||||
private System.Drawing.Image usernameImage;
|
||||
|
||||
internal PckStudio.Models.Matrix3D GlobalTransformation = PckStudio.Models.Matrix3D.Identity;
|
||||
|
||||
private System.Collections.Generic.List<PckStudio.Models.Texel> texelList = new System.Collections.Generic.List<PckStudio.Models.Texel>();
|
||||
|
||||
@@ -20,12 +20,8 @@ using System.Text;
|
||||
|
||||
namespace PckStudio.Forms
|
||||
{
|
||||
[Obsolete]
|
||||
public partial class generateModel : MetroForm
|
||||
{
|
||||
[Obsolete("We don't need a full control to get an image")]
|
||||
private PictureBox _skinPreview = new PictureBox();
|
||||
|
||||
private Image _previewImage;
|
||||
public Image PreviewImage => _previewImage;
|
||||
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<NoWarn>CS0618</NoWarn>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
||||
Reference in New Issue
Block a user