Changed compilation options

This commit is contained in:
Noikoio 2018-09-17 13:05:48 -07:00
parent 03de94625c
commit 13209e0bae
12 changed files with 21 additions and 33 deletions

View file

@ -1,6 +1,4 @@
Option Strict On Imports System.Text
Option Explicit On
Imports System.Text
Imports System.Threading Imports System.Threading
Imports Discord.WebSocket Imports Discord.WebSocket
Imports NodaTime Imports NodaTime

View file

@ -1,6 +1,4 @@
Option Strict On Imports BirthdayBot.CommandsCommon
Option Explicit On
Imports BirthdayBot.CommandsCommon
Imports Discord Imports Discord
Imports Discord.Net Imports Discord.Net
Imports Discord.WebSocket Imports Discord.WebSocket

View file

@ -10,6 +10,17 @@
<Company /> <Company />
<Description>Discord bot for birthday reminders.</Description> <Description>Discord bot for birthday reminders.</Description>
<StartupObject>Sub Main</StartupObject> <StartupObject>Sub Main</StartupObject>
<OptionStrict>On</OptionStrict>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn />
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn />
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -1,6 +1,4 @@
Option Strict On Imports System.Reflection
Option Explicit On
Imports System.Reflection
Imports Newtonsoft.Json.Linq Imports Newtonsoft.Json.Linq
Imports System.IO Imports System.IO

View file

@ -1,6 +1,4 @@
Option Strict On Imports Npgsql
Option Explicit On
Imports Npgsql
''' <summary> ''' <summary>
''' Some database abstractions. ''' Some database abstractions.

View file

@ -1,6 +1,4 @@
Option Strict On Imports System.Data.Common
Option Explicit On
Imports System.Data.Common
Imports Npgsql Imports Npgsql
Imports NpgsqlTypes Imports NpgsqlTypes

View file

@ -1,6 +1,4 @@
Option Strict On Imports System.Data.Common
Option Explicit On
Imports System.Data.Common
Imports Npgsql Imports Npgsql
Imports NpgsqlTypes Imports NpgsqlTypes

View file

@ -1,5 +1,3 @@
Option Strict On
Option Explicit On
Imports Discord Imports Discord
Imports Discord.WebSocket Imports Discord.WebSocket

View file

@ -1,6 +1,4 @@
Option Strict On Imports System.Text.RegularExpressions
Option Explicit On
Imports System.Text.RegularExpressions
Imports Discord.WebSocket Imports Discord.WebSocket
Imports NodaTime Imports NodaTime

View file

@ -1,6 +1,4 @@
Option Strict On Imports Discord
Option Explicit On
Imports Discord
Imports Discord.WebSocket Imports Discord.WebSocket
Friend Class HelpInfoCommands Friend Class HelpInfoCommands

View file

@ -1,6 +1,4 @@
Option Strict On Imports Discord.WebSocket
Option Explicit On
Imports Discord.WebSocket
Friend Class ManagerCommands Friend Class ManagerCommands
Inherits CommandsCommon Inherits CommandsCommon

View file

@ -1,8 +1,5 @@
Option Strict On Imports System.Text.RegularExpressions
Option Explicit On
Imports System.Text.RegularExpressions
Imports Discord.WebSocket Imports Discord.WebSocket
Imports NodaTime
Class UserCommands Class UserCommands
Inherits CommandsCommon Inherits CommandsCommon