1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 15:57:50 +00:00

contributing: update for vs2022 (#12811)

This commit is contained in:
ilike2burnthing 2022-01-13 17:44:22 +00:00 committed by GitHub
parent a3d3456f41
commit 533ecae219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,24 +104,31 @@ We've developed the guide below to make sure we're all on the same page because
The following guide assumes you've never worked with a Visual Studio project with GitHub before. The following guide assumes you've never worked with a Visual Studio project with GitHub before.
This will give you the minimum necessary tools to get started. There are plenty of optional tools that may help you, but we won't cover those here. This will give you the minimum necessary tools to get started. There are plenty of optional tools that may help you, but we won't cover those here.
- The guide is currently only geared towards developing on Windows using Visual Studio Community 2019. - The guide is currently only geared towards developing on Windows using Visual Studio Community 2022.
If you use something else, please add it here for others. If you use something else, please add it here for others.
<details open=true> <summary> Windows </summary> <details open=true> <summary> Windows </summary>
<details open=true> <summary> Visual Studio 2019 </summary> <details open=true> <summary> Visual Studio 2022 </summary>
- Install [Visual Studio Community 2019](http://visualstudio.com) for free. - Install [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/) for free.
- About 2GB download. 8GB installed. - About 2GB download. 8GB installed.
- Make sure it includes the following Workloads/Components: - Make sure it includes the following Workload and Individual Components:
- .Net Desktop Development - .NET desktop development
- .Net Core Cross-Platform Development - .Net Framework 4.6.1 SDK
- GitHub extension for Visual Studio - .Net Framework 4.6.1 targeting pack
- [Connect and synchronize your forked repository to Visual Studio](https://doc.fireflymigration.com/working-with-github-fork-in-visual-studio.html) - From the `Get Started` screen:
- Open `Tools -> NuGet Package Manager -> Package Manager Console` - `Clone a repository -> Browse a repository -> GitHub -> Sign in -> clone your forked repository`
- From the PMC, run `dotnet tool install -g dotnet-format` and `dotnet restore` - Double-click `Jackett.sln` in `Solution Explorer` to load your project
- Run `Build -> Rebuild Solution` to restore NuGet packages - Ensure `Jackett.Server` is the Startup Project (instead of `Jackett.Service`) and the Run Target (instead of `IIS Express`)
- Ensure `Jackett.Server` is the Startup Project (instead of `Jackett.Service`), and the Run Target (instead of `IIS Express`) - Open `Tools -> NuGet Package Manager -> Package Manager Console`
- From the PMC, with `Jackett.Service` as the default project, run:
- `dotnet tool install -g dotnet-format`
- `dotnet msbuild /restore`
- `dotnet restore`
- `dotnet build`
- [For more information on working with your forked GitHub repository in Visual Studio](https://doc.fireflymigration.com/working-with-github-fork-in-visual-studio.html)
- UPDATE: changes are now made in `Git Changes` and `Git Repository` (instead of `Team Explorer`)
</details> </details>