Skip to content

Merge main into live#12348

Merged
dotnet-policy-service[bot] merged 1 commit intolivefrom
main
Feb 25, 2026
Merged

Merge main into live#12348
dotnet-policy-service[bot] merged 1 commit intolivefrom
main

Conversation

@dotnet-policy-service
Copy link
Contributor

Please don't squash-merge this PR.

…net core executables? (#12232)

* DO NOT SIMPLY MERGE READ DESCRIPTION - InstallUtil doesn't work with net10? net core? service executables

We tried installing a service executable converted from .net framework 4.8 to net10 using installUtil, as suggested here, but that errored because of a BadImageFormatException:

> Beim Initialisieren der Installation ist eine Ausnahme aufgetreten:
System.BadImageFormatException: Die Datei oder Assembly "file:///D:\Publish\NexusCbfcLite\Nexus.BackgroundService.exe" oder eine Abhängigkeit davon wurde nicht gefunden. Im Modul wurde ein Assemblymanifest erwartet.

i kinda expected that since ServiceUtil is a .net framework process.

using `sc create` worked, though. documentation shoud reflect this (after this is cleared to be correct, of course)

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 25, 2026
@dotnet-policy-service dotnet-policy-service bot merged commit 6044fb5 into live Feb 25, 2026
42 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners :octocat: auto-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant