13 Commits
Author SHA1 Message Date
Robin Krom de6a2b2e25 Fix for the DPI issue described in #26 2020-08-05 23:51:49 +02:00
Robin Krom 2601f9d525 Added strong naming and fixed a dependency (#34)
* Added strong naming for the .NET Framework 4.x dlls as was discussed in #3. Strong naming doesn't help for security but it's sometimes needed as companies want to build strongly named assemblies themselves, and these can only use other strong named assembly. The general way to do this, is to sign the assembly with a public known snk file (Which is in the repository) so it's strongly named but without negative side effects.
* Fixed a tricky issue with .resx files, concerns GenerateResourceUsePreserializedResources and dependencies.
* Fixed the copyright years.
* Fixed an issue with SystemInfo, somehow the DpiFactorX/DpiFactorY weren't initialized.
* As net45 doesn't build with "dotnet build", we need to use msbuild instead.
* Removing unneeded packages for net4x
* msbuild needs nuget restore before the build to work
* Make sure that PRs don't push the packages to the nuget feed (will fail anyway)
2020-08-05 13:47:07 +02:00
Robin Krom a901e167d0 A fix for the nuget package name, somehow this was reverted to the old one. 2020-05-08 23:44:00 +02:00
Robin Krom 8ad5329260 forcing build to use the specified NuGet.Config which usses the link. 2020-05-06 22:52:56 +02:00
Robin Krom 0d557c529e Fixed build by using an nuget version. 2020-05-06 22:33:22 +02:00
Robin Krom 7ab5a58c2a Fixed a warning about using the icon link for the nuget package, so we now use an icon.png
Updated the build to use the most current dotnet core and also the nerdbank gitversion.
2020-05-06 20:42:03 +02:00
Robin Krom b28894f2ca Removed the test, as there currently are none. 2020-01-29 10:15:49 +01:00
Robin Krom ec23684016 Excluded push for now, otherwise we can't test the build 2020-01-29 10:14:11 +01:00
Robin Krom 027a856b5b Added a possible azure-pipelines.yml, but don't know yet if this is going to work. 2019-09-25 23:52:12 +02:00
Robin Krom 3d3bb142e2 Migrated the project to dotnet core 3.0 2019-09-25 23:30:41 +02:00
Robin Krom 4fc0a4960e Removing some of the "magic numbers" (#10)
* Modified the WindowMessageSink to use an enum where possible.

* I managed to find more of the windows messages, and it was worth it. I expect that there is a bug, while currently two events aren't handled: WM_CONTEXTMENU & NIN_SELECT. Why can be read here: https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyiconw. Also added NIN_KEYSELECT
* A small stability fix, although it most likely wouldn't happen that the MouseEventReceived isn't assigned it's done so in a different location and might hit us somewhere in the future. I also removed unneeded assignments.
2019-07-19 14:05:13 +02:00
Robin Krom 23186feefe Code modernising (#8)
* Applied some code conventions, used more current language features which should improve readability and making it easier to re-factor / modify. Also fixed some typos in documentation.
* Changes based on PR conversation for the SystemInfo
* Some modifications due to conversations on the PR, especially I removed the FlagsAttribute on the BalloonFlags.
* Removed Silverlight targeting in code.
2019-07-16 14:09:59 +02:00
Robin Krom ce7d5b99b8 Changed the version to a shields.io badge
This looks nicer and as it's rendered at view time it will always represent the current version without changing the readme
2019-07-12 08:22:28 +02:00