Skip to content

Commit 4c08a59

Browse files
committed
Simplify HotAvalonia.Fody setup for end users
1 parent a7054d8 commit 4c08a59

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/HotAvalonia.Fody.Ref/HotAvalonia.Fody.Ref.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
55
<PackageId>HotAvalonia.Fody</PackageId>
66
<WeaverDirPath>../$(PackageId)/bin/$(Configuration)/</WeaverDirPath>
7+
<WeaverPropsFile>HotAvalonia.Fody.Ref.props</WeaverPropsFile>
78
</PropertyGroup>
89

910
<PropertyGroup>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project>
2+
<ItemGroup>
3+
<WeaverFiles Include="$(MsBuildThisFileDirectory)..\weaver\HotAvalonia.Fody.dll" />
4+
</ItemGroup>
5+
6+
<PropertyGroup>
7+
<WeaverConfiguration><Weavers><HotAvalonia/></Weavers></WeaverConfiguration>
8+
<FodyAfterTargets>$(FodyAfterTargets);CompileAvaloniaXaml</FodyAfterTargets>
9+
</PropertyGroup>
10+
</Project>

0 commit comments

Comments
 (0)