Skip to content

Commit 09d13ad

Browse files
committed
Fix bundled Avalonia publish path for release builds
1 parent 5062e00 commit 09d13ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/UniGetUI/UniGetUI.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113
>
114114
<PropertyGroup>
115115
<!-- Keep the trimmed Avalonia app isolated; trimmed shared assemblies are entry-point specific. -->
116-
<BundledAvaloniaPublishDir>$(PublishDir)$(ModernAppDirectoryName)\</BundledAvaloniaPublishDir>
116+
<!-- Resolve to an absolute path so the inner MSBuild call doesn't re-anchor it to the Avalonia project directory. -->
117+
<BundledAvaloniaPublishDir>$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(PublishDir)', '$(ModernAppDirectoryName)'))</BundledAvaloniaPublishDir>
117118
<BundledAvaloniaExecutablePath>$(BundledAvaloniaPublishDir)UniGetUI.Avalonia.exe</BundledAvaloniaExecutablePath>
118119
</PropertyGroup>
119120
<MSBuild

0 commit comments

Comments
 (0)