Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions #883

Open
medic17 opened this issue Oct 18, 2024 · 1 comment
Open

Build instructions #883

medic17 opened this issue Oct 18, 2024 · 1 comment
Labels

Comments

@medic17
Copy link

medic17 commented Oct 18, 2024

I want to contribute to this project. However it's been a long time since I did anything in DotNet. Can someone tell me how to compile this project for debug? Since there are multiple projects it doesn't seems as easy as hitting debug in Visual Studio.

@Spiritreader
Copy link
Member

Spiritreader commented Nov 16, 2024

You should be good to go by cloning the repository and then opening the "Windows Auto Dark Mode.sln" solution file with Visual Studio 2022.

You will need the dotNET 8.0 SDK: https://dotnet.microsoft.com/en-us/download/dotnet/8.0

In addition, you will need the following workloads selected in the Visual Studio installer to actually compile ADM:

  • .NET desktop environment

Under individual components, make sure you have:

  • Windows 10 SDK
  • Windows 11 SDK

Once you have all of that, you need to build AutoDarkModeSvc and AutoDarkModeApp.

The App is the frontend, and the Svc is the backend.
If you need to debug both of them at the same time, you can create a StartupProject

image

If you have any further questions, feel free to reach out to us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants