Skip to content

Commit 6191799

Browse files
committed
Add link.xml for stable unit testing.
1 parent eb2cfd4 commit 6191799

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

test/MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/MakeAssets.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ foreach($c in $csproj.Project.ItemGroup.Compile)
6868

6969
New-Item ./Assets/Dll -ItemType Directory | Out-Null
7070
Copy-Item ./bin/Debug/MsgPack.dll ./Assets/Dll/MsgPack.dll -Force
71+
Copy-Item ./link.xml ./Assets/link.xml -Force
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<linker>
2+
<assembly fullname="System.Runtime.Serialization">
3+
<type fullname="System.Runtime.Serialization.DataContractAttribute" preserve="all" />
4+
<type fullname="System.Runtime.Serialization.DataMemberAttribute" preserve="all" />
5+
</assembly>
6+
</linker>
7+

test/MsgPack.UnitTest.Unity.Il2cpp.Full/Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ pwsh ./MakeAssets.ps1
2929
5. Open this folder with Unity.
3030
6. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/Dll` directory into `Assets` of Unity project with Unity Editor.
3131
7. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/UnitTests` directory into `Assets` of Unity project with Unity Editor.
32+
8. Import `../MsgPack.UnitTest.Unity.Il2cpp.Full.Desktop/Assets/link.xml` file into `Assets` of Unity project with Unity Editor.
3233

3334
How to run
3435
---

0 commit comments

Comments
 (0)