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

I want to contribute, but never write windows software before. so how? #165

Open
zzm88 opened this issue Jan 24, 2023 · 2 comments
Open

Comments

@zzm88
Copy link

zzm88 commented Jan 24, 2023

dear kvakulo, i like this product very much, and it's even free.
I love it so much, so i want to do something for this project. I would like to make the ui scalable to adapt to a 4k mon. also i make a trigger to toggle process title.

But i never wrote a windows software before. I tried to setup developing evironment but failed.
Could any veteran give me a small instruction how to prepare this developing evironment for switcheroo? Just a few keyword I can do my own research. That would be more than helpful.

Happy new year to all of you.

Thank you for building this great product.

@rawbeans
Copy link

I just set up a dev environment yesterday to add some features to this application. Here is what I did:

  • Installed Visual Studio Community. I only checked the box for Windows Desktop C# development (about 8 GB)
  • Cloned the most active fork (in my opinion): https://github.com/elig0n/Switcheroo
  • Loaded the solution in VS. It prompted me to Reload some projects for .NET 4.8 (was set up for 4.5). I chose Reload All
  • The resulting app had build errors. The reload removed some necessary code. I added this back in, and only kept the changes that incremented build/version numbers in the project files.
  • At this point, building the solution (ctrl+shift+b) worked fine. I could build a release, and the output binaries would be created properly. From here I could either just run the exe, or copy the files over to the Program Files install location.
  • However, if I tried to run the application in the debugger, it gave me an error A project with an Output type of Class Library cannot be started directly. To fix this issue, I updated "Startup Project" in the solution's properties to Switcheroo from Switcheroo.Core

@leondatamatic
Copy link

Thanks a lot for the question zzmm88 and the same for the answer rawbeans! I love switcheroo; all keys and no distraction.

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

No branches or pull requests

3 participants