Skip to content

Commit

Permalink
Merge pull request #180 from onerain88/embed-link
Browse files Browse the repository at this point in the history
fix: upm link.xml
  • Loading branch information
onerain88 authored Oct 20, 2021
2 parents 481ebd6 + aa431fe commit df7da79
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Common/Common.AOT/Common.AOT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@
<Link>Common\Exception\LCException.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\link.xml">
<LogicalName>Common.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions Common/Common.AOT/Resources/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<linker>
<assembly fullname="Common" preserve="all"/>
<assembly fullname="LC.Newtonsoft.Json" preserve="all"/>
</linker>
5 changes: 5 additions & 0 deletions LiveQuery/LiveQuery.AOT/LiveQuery.AOT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@
<Link>LiveQuery\Public\LCQueryExtension.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\link.xml">
<LogicalName>LiveQuery.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions LiveQuery/LiveQuery.AOT/Resources/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<linker>
<assembly fullname="LiveQuery" preserve="all"/>
</linker>
5 changes: 5 additions & 0 deletions Realtime/Realtime.AOT/Realtime.AOT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,9 @@
<Link>Realtime\Internal\Router\LCRTMRouter.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\link.xml">
<LogicalName>Realtime.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions Realtime/Realtime.AOT/Resources/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<linker>
<assembly fullname="Realtime" preserve="all"/>
<assembly fullname="LC.Google.Protobuf" preserve="all"/>
</linker>
3 changes: 3 additions & 0 deletions Storage/Storage.AOT/Resources/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<linker>
<assembly fullname="Storage" preserve="all"/>
</linker>
5 changes: 5 additions & 0 deletions Storage/Storage.AOT/Storage.AOT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,9 @@
<Link>Storage\Public\User\LCUserQueryCondition.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\link.xml">
<LogicalName>Storage.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions Storage/Storage.Unity/Resources/link.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<linker>
<assembly fullname="Storage.Unity" preserve="all"/>
</linker>
5 changes: 5 additions & 0 deletions Storage/Storage.Unity/Storage.Unity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@
<Folder Include="Public\" />
<Folder Include="Internal\" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\link.xml">
<LogicalName>Storage.Unity.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Project>

0 comments on commit df7da79

Please sign in to comment.