You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING.md
+7-16Lines changed: 7 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,36 +7,27 @@ It is recommended you have prior experience with multi-target .NET Core/Standard
7
7
In order to build the library, you will first need to install some software.
8
8
9
9
### Windows
10
-
On Windows, we only officially support Visual Studio 2019 16.10 or newer. Visual Studio Code and other IDEs might work, but are generally not supported or even guaranteed to work properly.
10
+
On Windows, we only officially support Visual Studio 2022 17.0 or newer. Visual Studio Code and other IDEs might work, but are generally not supported or even guaranteed to work properly.
11
11
12
12
***Windows 10** - while we support running the library on Windows 7 and above, we only support building on Windows 10 and better.
13
13
*[**Git for Windows**](https://git-scm.com/download/win) - required to clone the repository.
14
-
*[**Visual Studio 2021**](https://www.visualstudio.com/downloads/) - community edition or better. We do not support Visual Studio 2017 and older. Note that to build the library, you need Visual Studio 2019 version 16.10 or newer.
15
-
***Workloads**:
16
-
***.NET Framework Desktop** - required to build .NETFX (4.5, 4.6, and 4.7 targets)
17
-
***.NET Core Cross-Platform Development** - required to build .NET Standard targets (1.1, 1.3, and 2.0) and the project overall.
18
-
***Individual Components**:
19
-
***.NET Framework 4.5 SDK** - required for .NETFX 4.5 target
20
-
***.NET Framework 4.6 SDK** - required for .NETFX 4.6 target
21
-
***.NET Framework 4.7 SDK** - required for .NETFX 4.7 target
22
-
*[**.NET Core SDK 3.1**](https://www.microsoft.com/net/download) - required to build the project.
14
+
*[**Visual Studio 2022**](https://www.visualstudio.com/downloads/) - community edition or better. We do not support Visual Studio 2021 and older.
23
15
***Windows PowerShell** - required to run the build scripts. You need to make sure your script execution policy allows execution of unsigned scripts.
16
+
*[**.NET SDK 8.0 or newer**](https://www.microsoft.com/net/download) - required to build the project.
24
17
25
18
### GNU/Linux
26
19
On GNU/Linux, we support building via Visual Studio Code and .NET Core SDK. Other IDEs might work, but are not supported or guaranteed to work properly.
27
20
28
-
While these should apply to any modern distribution, we only test against Debian 10. Your mileage may vary.
21
+
While these should apply to any modern distribution, we only test against Ubuntu 24.04. Your mileage may vary.
29
22
30
23
When installing the below, make sure you install all the dependencies properly. We might ship a build environment as a docker container in the future.
31
24
32
-
***Any modern GNU/Linux distribution** - like Debian 10.
25
+
***Any modern GNU/Linux distribution** - like Ubuntu 24.04.
33
26
***Git** - to clone the repository.
34
27
*[**Visual Studio Code**](https://code.visualstudio.com/Download) - a recent version is required.
35
28
***C# for Visual Studio Code (powered by OmniSharp)** - required for syntax highlighting and basic Intellisense
36
-
*[**.NET SDK 6.0**](https://www.microsoft.com/net/download) - required to build the project.
37
-
*[**Mono 5.x**](http://www.mono-project.com/download/#download-lin) - required to build the .NETFX 4.5, 4.6, and 4.7 targets, as well as to build the docs.
38
-
*[**PowerShell Core**](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.1) - required to execute the build scripts.
39
-
***p7zip-full** - required to package docs.
29
+
*[**.NET SDK 8.0 or newer**](https://www.microsoft.com/net/download) - required to build the project.
30
+
*[**PowerShell Core**](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.5) - required to execute the build scripts.
40
31
41
32
## Instructions
42
33
Once you install all the necessary prerequisites, you can proceed to building. These instructions assume you have already cloned the repository.
/// The response given upon attempted two factor authentication.
29
+
/// The response given upon attempted two factor authentication.
37
30
/// </summary>
38
31
publicclassTwoFactorResponse
39
32
{
33
+
internalTwoFactorResponse()
34
+
{}
35
+
40
36
/// <summary>
41
-
/// The modal response <see cref="ComponentInteractionCreateEventArgs"/>. Null if <see cref="Result"/> is <see cref="TwoFactorResult.NotEnrolled"/> or <see cref="TwoFactorResult.TimedOut"/>.
37
+
/// The modal response <see cref="ComponentInteractionCreateEventArgs" />. Null if <see cref="Result" /> is
38
+
/// <see cref="TwoFactorResult.NotEnrolled" /> or <see cref="TwoFactorResult.TimedOut" />.
Copy file name to clipboardExpand all lines: DisCatSharp.Extensions.TwoFactorCommands/Extensions/ApplicationCommands/ApplicationCommandRequireEnrolledTwoFactorAttribute.cs
Copy file name to clipboardExpand all lines: DisCatSharp.Extensions.TwoFactorCommands/Extensions/ApplicationCommands/TwoFactorApplicationCommandExtension.cs
0 commit comments