Skip to content

Commit

Permalink
[ci skip] ref 10.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jan 26, 2025
1 parent bb99848 commit fed02c7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 27 deletions.
23 changes: 7 additions & 16 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,27 @@ It is recommended you have prior experience with multi-target .NET Core/Standard
In order to build the library, you will first need to install some software.

### Windows
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.
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.

* **Windows 10** - while we support running the library on Windows 7 and above, we only support building on Windows 10 and better.
* [**Git for Windows**](https://git-scm.com/download/win) - required to clone the repository.
* [**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.
* **Workloads**:
* **.NET Framework Desktop** - required to build .NETFX (4.5, 4.6, and 4.7 targets)
* **.NET Core Cross-Platform Development** - required to build .NET Standard targets (1.1, 1.3, and 2.0) and the project overall.
* **Individual Components**:
* **.NET Framework 4.5 SDK** - required for .NETFX 4.5 target
* **.NET Framework 4.6 SDK** - required for .NETFX 4.6 target
* **.NET Framework 4.7 SDK** - required for .NETFX 4.7 target
* [**.NET Core SDK 3.1**](https://www.microsoft.com/net/download) - required to build the project.
* [**Visual Studio 2022**](https://www.visualstudio.com/downloads/) - community edition or better. We do not support Visual Studio 2021 and older.
* **Windows PowerShell** - required to run the build scripts. You need to make sure your script execution policy allows execution of unsigned scripts.
* [**.NET SDK 8.0 or newer**](https://www.microsoft.com/net/download) - required to build the project.

### GNU/Linux
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.

While these should apply to any modern distribution, we only test against Debian 10. Your mileage may vary.
While these should apply to any modern distribution, we only test against Ubuntu 24.04. Your mileage may vary.

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.

* **Any modern GNU/Linux distribution** - like Debian 10.
* **Any modern GNU/Linux distribution** - like Ubuntu 24.04.
* **Git** - to clone the repository.
* [**Visual Studio Code**](https://code.visualstudio.com/Download) - a recent version is required.
* **C# for Visual Studio Code (powered by OmniSharp)** - required for syntax highlighting and basic Intellisense
* [**.NET SDK 6.0**](https://www.microsoft.com/net/download) - required to build the project.
* [**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.
* [**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.
* **p7zip-full** - required to package docs.
* [**.NET SDK 8.0 or newer**](https://www.microsoft.com/net/download) - required to build the project.
* [**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.

## Instructions
Once you install all the necessary prerequisites, you can proceed to building. These instructions assume you have already cloned the repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<ItemGroup>
<PackageReference Include="Backport.System.Threading.Lock" Version="3.1.4" />
<PackageReference Include="ConcurrentHashSet" Version="1.3.0" />
<PackageReference Include="DisCatSharp" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.1" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.1" />
<PackageReference Include="DisCatSharp.ApplicationCommands" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.ApplicationCommands" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Attributes" Version="10.6.*" />
<PackageReference Include="DisCatSharp.Lavalink" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.Common" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.Lavalink" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Common" Version="10.6.6" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
<ItemGroup>
<PackageReference Include="Backport.System.Threading.Lock" Version="3.1.4" />
<PackageReference Include="DatabaseWrapper.Sqlite" Version="6.1.4" />
<PackageReference Include="DisCatSharp" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.ApplicationCommands" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.ApplicationCommands" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Attributes" Version="10.6.*" />
<PackageReference Include="DisCatSharp.CommandsNext" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.Common" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.Interactivity" Version="10.6.6-nightly-031" />
<PackageReference Include="DisCatSharp.CommandsNext" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Common" Version="10.6.6" />
<PackageReference Include="DisCatSharp.Interactivity" Version="10.6.6" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.1" />
Expand Down
2 changes: 1 addition & 1 deletion Targets/Version.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VersionPrefix>3.0.6</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">
<Version>$(VersionPrefix)-$(VersionSuffix)-$(BuildNumber)</Version>
Expand Down

0 comments on commit fed02c7

Please sign in to comment.