Switcheroo icon indicating copy to clipboard operation
Switcheroo copied to clipboard

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

Open zzm88 opened this issue 2 years ago • 2 comments

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.

zzm88 avatar Jan 24 '23 02:01 zzm88

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

rawbeans avatar Feb 19 '23 21:02 rawbeans

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

leondatamatic avatar Sep 15 '23 14:09 leondatamatic