Skip to content

Commit

Permalink
Rename service assembly to work around macos problem
Browse files Browse the repository at this point in the history
with reserved ".service" file extension.

When running "dotnet run" in macos, the service would
crash with error code 137, because the file 
"Microsoft.KernelMemory.Service" is not a macos service.
This commit changes the assembly name to
"Microsoft.KernelMemory.ServiceAssembly".
  • Loading branch information
dluc committed Nov 9, 2023
1 parent 824b2c7 commit 49edc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/Service/Service.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Microsoft.KernelMemory.Service</AssemblyName>
<AssemblyName>Microsoft.KernelMemory.ServiceAssembly</AssemblyName>
<RootNamespace>Microsoft.KernelMemory.Service</RootNamespace>
<UserSecretsId>5ee045b0-aea3-4f08-8d31-32d1a6f8fed0</UserSecretsId>
<NoWarn>CA2007,CA1724,CA2254,CA1031</NoWarn>
Expand Down

0 comments on commit 49edc93

Please sign in to comment.