Skip to content

Commit d203e8c

Browse files
committed
targets fixed
1 parent 3a5b060 commit d203e8c

File tree

15 files changed

+285
-80
lines changed

15 files changed

+285
-80
lines changed

.gitignore

-22
Original file line numberDiff line numberDiff line change
@@ -108,25 +108,3 @@ Backup*/
108108
UpgradeLog*.XML
109109

110110
*.userprefs
111-
112-
*.userprefs
113-
114-
*.userprefs
115-
116-
*.userprefs
117-
118-
*.userprefs
119-
120-
*.userprefs
121-
122-
*.userprefs
123-
124-
*.userprefs
125-
126-
*.userprefs
127-
128-
*.userprefs
129-
130-
*.userprefs
131-
132-
*.userprefs

HelloWorldApp.MonoForAndroid/FormSimpleSample.cs

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ protected override void OnCreate(Bundle bundle)
6161
comboBoxFormats = FindViewById<Spinner>(Resource.Id.comboBoxFormats);
6262

6363
dateTimePicker1.Click += DateChooser;
64+
//dateTimePicker1.For
6465
date = DateTime.Today;
6566

6667
ArrayAdapter ad = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, items);

HelloWorldApp.MonoForAndroid/HelloWorldApp.MonoForAndroid.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<AssemblyName>HelloWorldApp.MonoForAndroid</AssemblyName>
1818
<TargetFrameworkVersion>v2.2</TargetFrameworkVersion>
1919
<AndroidSupportedAbis>armeabi%3barmeabi-v7a%3bx86</AndroidSupportedAbis>
20-
<AndroidStoreUncompressedFileExtensions />
2120
<MandroidI18n />
2221
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
2322
</PropertyGroup>
@@ -32,7 +31,7 @@
3231
<ConsolePause>false</ConsolePause>
3332
<AndroidLinkMode>None</AndroidLinkMode>
3433
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
35-
<AndroidLinkSkip />
34+
<AndroidSupportedAbis>armeabi,armeabi-v7a,x86</AndroidSupportedAbis>
3635
</PropertyGroup>
3736
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3837
<DebugType>none</DebugType>
@@ -42,6 +41,7 @@
4241
<WarningLevel>4</WarningLevel>
4342
<ConsolePause>false</ConsolePause>
4443
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
44+
<AndroidSupportedAbis>armeabi,armeabi-v7a,x86</AndroidSupportedAbis>
4545
</PropertyGroup>
4646
<ItemGroup>
4747
<Reference Include="System" />
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="HelloWorldApp.MonoForAndroid">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="HelloWorldApp.MonoForAndroid" android:versionCode="1" android:versionName="1.0">
33
<uses-sdk />
44
<application android:label="HelloWorldApp.MonoForAndroid"></application>
55
</manifest>

HelloWorldApp.MonoForAndroid/Resources/Resource.designer.cs

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

HelloWorldApp/HelloWorldApp.csproj

+1-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@
5757
<Reference Include="System.Drawing" />
5858
<Reference Include="System.Windows.Forms" />
5959
<Reference Include="System.Xml" />
60-
<Reference Include="System.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
61-
<SpecificVersion>False</SpecificVersion>
62-
</Reference>
60+
<Reference Include="System.Deployment" />
6361
</ItemGroup>
6462
<ItemGroup>
6563
<Compile Include="BusinessObjects.HolisticWare\FileSystemRootRelative.cs" />

SharpSerializer.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApplication.Serializ
3434
EndProject
3535
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "XamarinComponentStore.SharpSerializer.Component.Samples", "XamarinComponentStore.SharpSerializer.Component.Samples", "{BBCBEC64-EB8E-403B-845F-74E4FFC25250}"
3636
EndProject
37-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpSerializer.Android", "XamarinComponentStore.SharpSerializer.Component\content\samples\SharpSerializer.Android\SharpSerializer.Android.csproj", "{6D115418-5AF7-4181-B4CB-3841FF0F60B7}"
37+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpSerializer.Android", "XamarinComponent.SharpSerializer\content\samples\SharpSerializer.Android\SharpSerializer.Android\SharpSerializer.Android.csproj", "{6D115418-5AF7-4181-B4CB-3841FF0F60B7}"
3838
EndProject
39-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpSerializer.iOS", "XamarinComponentStore.SharpSerializer.Component\content\samples\SharpSerializer.iOS\SharpSerializer.iOS.csproj", "{9D959723-3619-4EB5-9404-3A10E2957487}"
39+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpSerializer.iOS", "XamarinComponent.SharpSerializer\content\samples\SharpSerializer.iOS\SharpSerializer.iOS\SharpSerializer.iOS.csproj", "{9D959723-3619-4EB5-9404-3A10E2957487}"
4040
EndProject
4141
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorldApp.MonoTouch", "HelloWorldApp.MonoTouch\HelloWorldApp.MonoTouch.csproj", "{B91E9ABB-AEED-4F38-B13C-EA2CB473C4A0}"
4242
EndProject
4343
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorldApp.MonoMac", "HelloWorldApp.MonoMac\HelloWorldApp.MonoMac.csproj", "{8FD8E072-37C6-4E45-9086-3CA4EF614378}"
4444
EndProject
4545
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorldApp.WindowsPhone71", "HelloWorldApp.WindowsPhone71\HelloWorldApp.WindowsPhone71.csproj", "{442D2F6E-CD98-4897-AB2F-F473897C6BAD}"
4646
EndProject
47-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamarinComponentStore.SharpSerializer.XamarinComponent", "XamarinComponentStore.SharpSerializer.XamarinComponent\XamarinComponentStore.SharpSerializer.XamarinComponent.csproj", "{0B74B492-F37C-416A-82BF-156F25B7BC08}"
47+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XamarinComponent.SharpSerializer", "XamarinComponent.SharpSerializer\XamarinComponent.SharpSerializer.csproj", "{0B74B492-F37C-416A-82BF-156F25B7BC08}"
4848
EndProject
4949
Global
5050
GlobalSection(SolutionConfigurationPlatforms) = preSolution

SharpSerializer.userprefs

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
<Properties MonoDevelop.MonoMac.LastXamMacNagTime="08/05/2013 12:17:13">
2-
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
3-
<MonoDevelop.Ide.Workbench ActiveDocument="HelloWorldApp/Form1.XP.Shared.cs">
2+
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release" />
3+
<MonoDevelop.Ide.Workbench ActiveDocument="SharpSerializer.Library.MonoForAndroid\Properties\AssemblyInfo.cs">
44
<Files>
5-
<File FileName="HelloWorldApp/Form1.XP.Shared.cs" Line="152" Column="2" />
6-
<File FileName="HelloWorldApp.MonoForAndroid/Form1.cs" Line="76" Column="1" />
7-
<File FileName="HelloWorldApp.MonoTouch/Form1.cs" Line="98" Column="1" />
5+
<File FileName="HelloWorldApp\Form1.XP.Shared.cs" Line="137" Column="3" />
6+
<File FileName="HelloWorldApp.MonoForAndroid\Form1.cs" Line="1" Column="1" />
7+
<File FileName="HelloWorldApp.MonoTouch\Form1.cs" Line="1" Column="1" />
8+
<File FileName="SharpSerializer.Library.MonoForAndroid\Properties\AssemblyInfo.cs" Line="18" Column="49" />
89
</Files>
10+
<Pads>
11+
<Pad Id="ProjectPad">
12+
<State expanded="True">
13+
<Node name="XamarinComponentStore.SharpSerializer.Component.Samples" expanded="True">
14+
<Node name="SharpSerializer.Android" selected="True" />
15+
</Node>
16+
<Node name="SharpSerializer.Library.MonoForAndroid" expanded="True">
17+
<Node name="Properties" expanded="True" />
18+
</Node>
19+
</State>
20+
</Pad>
21+
<Pad Id="ClassPad">
22+
<State expanded="True" selected="True" />
23+
</Pad>
24+
<Pad Id="MonoDevelop.Debugger.WatchPad">
25+
<State />
26+
</Pad>
27+
</Pads>
928
</MonoDevelop.Ide.Workbench>
1029
<MonoDevelop.Ide.DebuggingService.Breakpoints>
1130
<BreakpointStore />
1231
</MonoDevelop.Ide.DebuggingService.Breakpoints>
1332
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
14-
<MonoDevelop.Ide.ItemProperties.HelloWorldApp.MonoForAndroid AndroidDeviceId-Debug="emulator-5554" />
33+
<MonoDevelop.Ide.ItemProperties.XamarinComponentStore.SharpSerializer.Component.Samples.SharpSerializer.Android AndroidDeviceId-Release="emulator-5554" />
34+
<MonoDevelop.Ide.ItemProperties.HelloWorldApp.MonoForAndroid AndroidDeviceId-Debug="emulator-5554" AndroidDeviceId-Release="emulator-5554" />
1535
</Properties>
Binary file not shown.

XamarinComponent.SharpSerializer/compile.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for %%p IN (%PROJECTS%) DO (
2626

2727
msbuild %%p ^
2828
/p:Configuration=%CONFIGURATION% ^
29-
/property:OutDir=..\XamarinComponentStore.SharpSerializer.XamarinComponent\content\bin\
29+
/property:OutDir=..\XamarinComponent.SharpSerializer\content\bin\
3030

3131
)
3232
:: =============================================================================================

XamarinComponent.SharpSerializer/component-create.bat

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
:: component-create.bat
22
@echo off
3-
43
setlocal ENABLEDELAYEDEXPANSION
54

6-
call .\compile.bat
7-
8-
9-
10-
115
set MONO="%PROGRAMFILES%\Mono-3.0.9\bin\mono.exe"
126
::set XPKG=bin.apps\xpkg\xpkg.exe
137
set XPKG=bin.apps\xpkg\xamarin-component.exe
148
set RAKE=C:\bin\Ruby200\bin\rake
159

16-
1710
:: rake downloads xpkg and runs:
1811

1912
set PACKAGE=SharpSerializer
@@ -25,7 +18,8 @@ set ASSEMBLIES=^
2518

2619

2720
:: http://www.dostips.com/DtTipsStringManipulation.php
28-
::
21+
22+
call .\compile.bat
2923

3024
echo ===========================================================================
3125
echo copying assemblies
@@ -64,8 +58,8 @@ DEL /Q *.xam *.xam.zip
6458
%XPKG% ^
6559
create-manually ^
6660
%PACKAGE%-1.0.xam ^
67-
--name="HolisticWare SharpSerializer component" ^
68-
--summary="HolisticWare featuring SharpSerializer" ^
61+
--name="SharpSerializer" ^
62+
--summary="SharpSerializer Xamarin component by Polenter ported by HolisticWare for Xml and binary serialization" ^
6963
--publisher="HolisticWare LLC" ^
7064
--website="http://holisticware.net/" ^
7165
--details="content/Details.md" ^

XamarinComponent.SharpSerializer/content/Details.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ SharpSerializer fast XML and binary serialization (serialization library) for:
55
* Binary and
66
* Xml
77

8-
Serialization
8+
## Serialization ##
99

10-
Succinct code snippet[s] showing the minimum viable integration of the
11-
component into the user's app.
10+
SharpSerializer offers high performance Xml and binary serialization of the user business
11+
logic objects (POCOs, plain old c# objects). No additional Attributes are required.
12+
13+
Following code snippets show Xml and binary serialization and deserialization of the
14+
simple Person object (included in the Samples).
1215

1316

1417
```csharp
@@ -71,6 +74,11 @@ component into the user's app.
7174

7275
```
7376

77+
More details can be found in original (desktop sample by Polenter).
78+
79+
* [http://www.sharpserializer.com/en/tutorial/](http://www.sharpserializer.com/en/tutorial/)
80+
81+
7482
Cross-platform port by HolisticWare team:
7583

7684
* [http://holisticware.net](http://holisticware.net)

0 commit comments

Comments
 (0)