-
Notifications
You must be signed in to change notification settings - Fork 21
Development
This project is built for .NET Framework 4.8, which is supported up to Visual Studio 2022.
The WinNUT project is currently built in Visual Studio 2022. You can download the Community edition for free. Install recommended extensions as needed for your purposes.
The Assembly version is automatically incremented, as defined in SharedAssemblyInfo.vb. The build number is automatically set as the number of days since January 1 2000, and the revision is the number of seconds since midnight divided by two. Major and minor versions are determined manually.
When releasing, make a Release build and check the version of the client after it's built. Edit the properties of the WinNUT-Setup project:
- Update Version to the major.minor.build of the built client assembly
- Let the Product and PackageCodes be regenerated
Commit the Setup project changes (and any other uncommitted changes) in git, and tag the commit with the version in the format vmajor.minor.build. Push and merge forks as necessary. Build the Setup project (in Release mode), then upload that and an archive of the client build output to a new GitHub release.
- Microsoft Visual Studio Installer Projects 2022 Build MSI Installers. Not necessary unless you're creating a distribution/release.
- Stack Trace Explorer 2019/2022 View stack traces in Visual Studio from the pasted contents of a stack trace. Free.
- Globalizing Windows Forms applications
- Globalize and localize .NET applications
- Walkthrough: Localizing Windows Forms
This program uses the Multilingual App Toolkit 4.0 to provide translation support.
When a translation CSV is updated in the Translations/ folder, some manual work needs to be done in order to apply the translation to the program.
- Open the CSV file in an editor (Excel), and the related *.xlf file in the Multilingual toolkit.
- Copy and paste new/changed translations to their equivalent resource in the multilingual toolkit.
- Build the solution and make sure all resource files have been automatically updated.
- Microsoft Learn Windows Forms documentation
- Microsoft Learn Win32 User Experience Design Guidelines
- Microsoft Learn Walkthrough: Debug Custom Windows Forms Controls at Design Time
- BlogSpot, aviadezra MVP-VM Design Model, Design Codes
- SoftwareEngineering How to properly structure a project in winform?
- BlogSpot, aviadezra Twisting the MVC Triad - Model View Presenter (MVP) Design Pattern