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
Option Explicit On
Imports System.Text
Imports System.Text
Imports System.Threading
Imports Discord.WebSocket
Imports NodaTime

View file

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

View file

@ -10,6 +10,17 @@
<Company />
<Description>Discord bot for birthday reminders.</Description>
<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>
<ItemGroup>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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