Skip to content

Commit 3a6d759

Browse files
authored
Fix Garnet.Worker.exe failing on 9.0 in the published win-x64-based-readytorun.zip (#1209)
* Set TargertFramework var on a couple that were hard code to 8.0 * Cleaned up some spacing
1 parent febbd18 commit 3a6d759

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main/GarnetServer/Properties/PublishProfiles/win-x64-based-readytorun.pubxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
3030
<DependantDLLFiles Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\*.dll" />
3131
<DependantXMLFiles Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\*.xml" />
3232
<RuntimeFilesWinx64 Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\runtimes\win-x64\native\*" />
33-
<RuntimeFilesWin Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\runtimes\win\lib\net8.0\*" />
33+
<RuntimeFilesWin Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\runtimes\win\lib\$(TargetFramework)\*" />
3434
<GWRunTimeConfigFiles Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\Garnet.worker.runtimeconfig.json" />
3535
<GWDepsFiles Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\Garnet.worker.deps.json" />
3636
<GWEXEFiles Include="..\..\hosting\Windows\Garnet.worker\bin\$(Configuration)\$(TargetFramework)\Garnet.worker.exe" />
@@ -39,7 +39,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
3939
<Copy SourceFiles="@(DependantDLLFiles)" DestinationFolder="$(PublishDir)Service" />
4040
<Copy SourceFiles="@(DependantXMLFiles)" DestinationFolder="$(PublishDir)Service" />
4141
<Copy SourceFiles="@(RuntimeFilesWinx64)" DestinationFolder="$(PublishDir)Service\runtimes\win-x64\native" />
42-
<Copy SourceFiles="@(RuntimeFilesWin)" DestinationFolder="$(PublishDir)Service\runtimes\win\lib\net8.0" />
42+
<Copy SourceFiles="@(RuntimeFilesWin)" DestinationFolder="$(PublishDir)Service\runtimes\win\lib\$(TargetFramework)" />
4343
<Copy SourceFiles="@(GWDepsFiles)" DestinationFolder="$(PublishDir)Service" />
4444
<Copy SourceFiles="@(GWEXEFiles)" DestinationFolder="$(PublishDir)Service" />
4545
<Copy SourceFiles="@(GWRunTimeConfigFiles)" DestinationFolder="$(PublishDir)Service" />

0 commit comments

Comments
 (0)