Update .gitignore and add WindowsService publish profile

Updated .gitignore to exclude `*.pubxml` and `*.publishproj` files, preventing sensitive information from being committed.

Added `WindowsServiceNet8.pubxml`, a new publish profile for deploying a Windows Service application. The profile specifies `FileSystem` as the publish method, targets `net8.0`, and includes configurations for output directory, runtime identifier, and environment settings.
This commit is contained in:
2026-11-17 11:28:11 +01:00
parent a1ffe67318
commit 7b0e3a1107
2 changed files with 21 additions and 1 deletions

1
.gitignore vendored
View File

@@ -184,7 +184,6 @@ publish/
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to