More errors more consistent

This commit is contained in:
RogueException
2015-12-29 05:11:42 -04:00
parent 41c04cc3e6
commit 660b64f571
5 changed files with 36 additions and 27 deletions

View File

@@ -24,6 +24,7 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<LangVersion>6</LangVersion> <LangVersion>6</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>

View File

@@ -23,6 +23,7 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<LangVersion>6</LangVersion> <LangVersion>6</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>

View File

@@ -24,6 +24,7 @@
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<LangVersion>6</LangVersion> <LangVersion>6</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>

View File

@@ -26,6 +26,7 @@
<WarningLevel>2</WarningLevel> <WarningLevel>2</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>6</LangVersion> <LangVersion>6</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
@@ -50,6 +51,7 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<LangVersion>6</LangVersion> <LangVersion>6</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">

View File

@@ -1,32 +1,36 @@
{ {
"version": "0.9.0-alpha2", "version": "0.9.0-alpha2",
"description": "An unofficial .Net API wrapper for the Discord client.", "description": "An unofficial .Net API wrapper for the Discord client.",
"authors": [ "authors": [
"RogueException" "RogueException"
], ],
"tags": [ "tags": [
"discord", "discord",
"discordapp" "discordapp"
], ],
"projectUrl": "https://github.com/RogueException/Discord.Net", "projectUrl": "https://github.com/RogueException/Discord.Net",
"licenseUrl": "http://opensource.org/licenses/MIT", "licenseUrl": "http://opensource.org/licenses/MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/RogueException/Discord.Net" "url": "git://github.com/RogueException/Discord.Net"
}, },
"compile": [ "**/*.cs", "../Discord.Net.Shared/*.cs" ], "compile": [ "**/*.cs", "../Discord.Net.Shared/*.cs" ],
"compilationOptions": {
"warningsAsErrors": true
},
"configurations": { "configurations": {
"TestResponses": { "TestResponses": {
"compilationOptions": { "compilationOptions": {
"define": [ "define": [
"DEBUG", "DEBUG",
"TRACE", "TRACE",
"TEST_RESPONSES" "TEST_RESPONSES"
] ]
} }
} }
}, },
"dependencies": { "dependencies": {
"Newtonsoft.Json": "7.0.1" "Newtonsoft.Json": "7.0.1"