Skip to content

Commit

Permalink
Simplify HotAvalonia.Fody setup for end users
Browse files Browse the repository at this point in the history
  • Loading branch information
Kir-Antipov committed Dec 21, 2024
1 parent a7054d8 commit 4c08a59
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/HotAvalonia.Fody.Ref/HotAvalonia.Fody.Ref.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<PackageId>HotAvalonia.Fody</PackageId>
<WeaverDirPath>../$(PackageId)/bin/$(Configuration)/</WeaverDirPath>
<WeaverPropsFile>HotAvalonia.Fody.Ref.props</WeaverPropsFile>
</PropertyGroup>

<PropertyGroup>
Expand Down
10 changes: 10 additions & 0 deletions src/HotAvalonia.Fody.Ref/HotAvalonia.Fody.Ref.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project>
<ItemGroup>
<WeaverFiles Include="$(MsBuildThisFileDirectory)..\weaver\HotAvalonia.Fody.dll" />
</ItemGroup>

<PropertyGroup>
<WeaverConfiguration><Weavers><HotAvalonia/></Weavers></WeaverConfiguration>
<FodyAfterTargets>$(FodyAfterTargets);CompileAvaloniaXaml</FodyAfterTargets>
</PropertyGroup>
</Project>

0 comments on commit 4c08a59

Please sign in to comment.