Skip to content

Commit 8809d6a

Browse files
committed
Fix Xamarin packaging.
This fix the problem Xamarin does not refer MsgPack.iOS drop correctly.
1 parent 55160bf commit 8809d6a

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Pack.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if ( ![IO.Directory]::Exists( ".\MsgPack-CLI\mpu" ) )
3838
&$builder $slnWindows $buildOptions
3939

4040
$winFile = New-Object IO.FileInfo( ".\bin\portable-net45+win+wpa81\MsgPack.dll" )
41-
$xamarinFile = New-Object IO.FileInfo( ".\bin\monotouch\MsgPack.dll" )
41+
$xamarinFile = New-Object IO.FileInfo( ".\bin\MonoTouch10\MsgPack.dll" )
4242
if( ( $winFile.LastWriteTime - $xamarinFile.LastWriteTime ).Days -ne 0 )
4343
{
4444
# It might that I forgot building in xamarin when winRT build and xamarin build last write time are differ more than 1day.

PackXamarin.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ if( $Rebuild )
1616
$buildOptions += '/p:Configuration=Release'
1717
# build
1818
&$builder $sln $buildOptions
19+
Copy-Item .\bin\MonoTouch10 .\bin\Xamarin.iOS10 -Recurse

src/MsgPack.Xamarin.Android/MsgPack.Xamarin.Android.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
</PropertyGroup>
3232
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3333
<Optimize>true</Optimize>
34-
<OutputPath>..\..\bin\monoandroid</OutputPath>
34+
<OutputPath>..\..\bin\MonoAndroid10\</OutputPath>
3535
<DefineConstants>__MOBILE__;__ANDROID__;XAMDROID;</DefineConstants>
3636
<ErrorReport>prompt</ErrorReport>
3737
<WarningLevel>4</WarningLevel>
3838
<ConsolePause>false</ConsolePause>
3939
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
40-
<DocumentationFile>..\..\bin\monoandroid\MsgPack.xml</DocumentationFile>
40+
<DocumentationFile>..\..\bin\MonoAndroid10\MsgPack.xml</DocumentationFile>
4141
</PropertyGroup>
4242
<ItemGroup>
4343
<Reference Include="System" />

src/MsgPack.Xamarin.iOS/MsgPack.Xamarin.iOS.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
</PropertyGroup>
2626
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2727
<Optimize>true</Optimize>
28-
<OutputPath>..\..\bin\monotouch</OutputPath>
28+
<OutputPath>..\..\bin\MonoTouch10\</OutputPath>
2929
<ErrorReport>prompt</ErrorReport>
3030
<WarningLevel>4</WarningLevel>
3131
<ConsolePause>false</ConsolePause>
3232
<DefineConstants>XAMIOS</DefineConstants>
33-
<DocumentationFile>..\..\bin\monotouch\MsgPack.xml</DocumentationFile>
33+
<DocumentationFile>..\..\bin\MonoTouch10\MsgPack.xml</DocumentationFile>
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<Reference Include="System" />

0 commit comments

Comments
 (0)