Skip to content

Commit a54873e

Browse files
committed
Adds supporting for WinRT. Fixes WindowsPhone sln.
NETFX_CORE stands for the #define flag for WinRT.
1 parent a4828f1 commit a54873e

47 files changed

Lines changed: 1398 additions & 41 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("ServiceStack.Text.WinRT")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("ServiceStack.Text.WinRT")]
13+
[assembly: AssemblyCopyright("Copyright © 2013")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Version information for an assembly consists of the following four values:
18+
//
19+
// Major Version
20+
// Minor Version
21+
// Build Number
22+
// Revision
23+
//
24+
// You can specify all the values or you can default the Build and Revision Numbers
25+
// by using the '*' as shown below:
26+
// [assembly: AssemblyVersion("1.0.*")]
27+
[assembly: AssemblyVersion("1.0.0.0")]
28+
[assembly: AssemblyFileVersion("1.0.0.0")]
29+
[assembly: ComVisible(false)]
Lines changed: 331 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,331 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProductVersion>8.0.30703</ProductVersion>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{1D8696A9-8562-4B6D-A4C6-F6E36744C9B0}</ProjectGuid>
10+
<OutputType>Library</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>ServiceStack.Text.WinRT</RootNamespace>
13+
<AssemblyName>ServiceStack.Text.WinRT</AssemblyName>
14+
<DefaultLanguage>en-US</DefaultLanguage>
15+
<FileAlignment>512</FileAlignment>
16+
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
23+
<DefineConstants>TRACE;DEBUG;NETFX_CORE;SILVERLIGHT</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE;NETFX_CORE;SILVERLIGHT</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
36+
<DebugSymbols>true</DebugSymbols>
37+
<OutputPath>bin\ARM\Debug\</OutputPath>
38+
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
39+
<NoWarn>;2008</NoWarn>
40+
<DebugType>full</DebugType>
41+
<PlatformTarget>ARM</PlatformTarget>
42+
<UseVSHostingProcess>false</UseVSHostingProcess>
43+
<ErrorReport>prompt</ErrorReport>
44+
<Prefer32Bit>true</Prefer32Bit>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
47+
<OutputPath>bin\ARM\Release\</OutputPath>
48+
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
49+
<Optimize>true</Optimize>
50+
<NoWarn>;2008</NoWarn>
51+
<DebugType>pdbonly</DebugType>
52+
<PlatformTarget>ARM</PlatformTarget>
53+
<UseVSHostingProcess>false</UseVSHostingProcess>
54+
<ErrorReport>prompt</ErrorReport>
55+
<Prefer32Bit>true</Prefer32Bit>
56+
</PropertyGroup>
57+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
58+
<DebugSymbols>true</DebugSymbols>
59+
<OutputPath>bin\x64\Debug\</OutputPath>
60+
<DefineConstants>DEBUG;TRACE;NETFX_CORE</DefineConstants>
61+
<NoWarn>;2008</NoWarn>
62+
<DebugType>full</DebugType>
63+
<PlatformTarget>x64</PlatformTarget>
64+
<UseVSHostingProcess>false</UseVSHostingProcess>
65+
<ErrorReport>prompt</ErrorReport>
66+
<Prefer32Bit>true</Prefer32Bit>
67+
</PropertyGroup>
68+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
69+
<OutputPath>bin\x64\Release\</OutputPath>
70+
<DefineConstants>TRACE;NETFX_CORE</DefineConstants>
71+
<Optimize>true</Optimize>
72+
<NoWarn>;2008</NoWarn>
73+
<DebugType>pdbonly</DebugType>
74+
<PlatformTarget>x64</PlatformTarget>
75+
<UseVSHostingProcess>false</UseVSHostingProcess>
76+
<ErrorReport>prompt</ErrorReport>
77+
<Prefer32Bit>true</Prefer32Bit>
78+
</PropertyGroup>
79+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
80+
<DebugSymbols>true</DebugSymbols>
81+
<OutputPath>bin\x86\Debug\</OutputPath>
82+
<DefineConstants>TRACE;DEBUG;NETFX_CORE;SILVERLIGHT</DefineConstants>
83+
<NoWarn>;2008</NoWarn>
84+
<DebugType>full</DebugType>
85+
<PlatformTarget>x86</PlatformTarget>
86+
<UseVSHostingProcess>false</UseVSHostingProcess>
87+
<ErrorReport>prompt</ErrorReport>
88+
<Prefer32Bit>true</Prefer32Bit>
89+
</PropertyGroup>
90+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
91+
<OutputPath>bin\x86\Release\</OutputPath>
92+
<DefineConstants>TRACE;NETFX_CORE;SILVERLIGHT</DefineConstants>
93+
<Optimize>true</Optimize>
94+
<NoWarn>;2008</NoWarn>
95+
<DebugType>pdbonly</DebugType>
96+
<PlatformTarget>x86</PlatformTarget>
97+
<UseVSHostingProcess>false</UseVSHostingProcess>
98+
<ErrorReport>prompt</ErrorReport>
99+
<Prefer32Bit>true</Prefer32Bit>
100+
</PropertyGroup>
101+
<ItemGroup>
102+
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
103+
</ItemGroup>
104+
<ItemGroup>
105+
<Compile Include="..\ServiceStack.Text\AssemblyUtils.cs">
106+
<Link>AssemblyUtils.cs</Link>
107+
</Compile>
108+
<Compile Include="..\ServiceStack.Text\CollectionExtensions.cs">
109+
<Link>CollectionExtensions.cs</Link>
110+
</Compile>
111+
<Compile Include="..\servicestack.text\common\DateTimeSerializer.cs">
112+
<Link>Common\DateTimeSerializer.cs</Link>
113+
</Compile>
114+
<Compile Include="..\servicestack.text\common\DeserializeArray.cs">
115+
<Link>Common\DeserializeArray.cs</Link>
116+
</Compile>
117+
<Compile Include="..\servicestack.text\common\DeserializeBuiltin.cs">
118+
<Link>Common\DeserializeBuiltin.cs</Link>
119+
</Compile>
120+
<Compile Include="..\servicestack.text\common\DeserializeCollection.cs">
121+
<Link>Common\DeserializeCollection.cs</Link>
122+
</Compile>
123+
<Compile Include="..\servicestack.text\common\DeserializeDictionary.cs">
124+
<Link>Common\DeserializeDictionary.cs</Link>
125+
</Compile>
126+
<Compile Include="..\servicestack.text\common\DeserializeKeyValuePair.cs">
127+
<Link>Common\DeserializeKeyValuePair.cs</Link>
128+
</Compile>
129+
<Compile Include="..\servicestack.text\common\DeserializeListWithElements.cs">
130+
<Link>Common\DeserializeListWithElements.cs</Link>
131+
</Compile>
132+
<Compile Include="..\servicestack.text\common\DeserializeSpecializedCollections.cs">
133+
<Link>Common\DeserializeSpecializedCollections.cs</Link>
134+
</Compile>
135+
<Compile Include="..\servicestack.text\common\DeserializeType.cs">
136+
<Link>Common\DeserializeType.cs</Link>
137+
</Compile>
138+
<Compile Include="..\servicestack.text\common\DeserializeTypeRef.cs">
139+
<Link>Common\DeserializeTypeRef.cs</Link>
140+
</Compile>
141+
<Compile Include="..\servicestack.text\common\DeserializeTypeRefJson.cs">
142+
<Link>Common\DeserializeTypeRefJson.cs</Link>
143+
</Compile>
144+
<Compile Include="..\servicestack.text\common\DeserializeTypeRefJsv.cs">
145+
<Link>Common\DeserializeTypeRefJsv.cs</Link>
146+
</Compile>
147+
<Compile Include="..\servicestack.text\common\DeserializeTypeUtils.cs">
148+
<Link>Common\DeserializeTypeUtils.cs</Link>
149+
</Compile>
150+
<Compile Include="..\servicestack.text\common\ITypeSerializer.cs">
151+
<Link>Common\ITypeSerializer.cs</Link>
152+
</Compile>
153+
<Compile Include="..\servicestack.text\common\JsDelegates.cs">
154+
<Link>Common\JsDelegates.cs</Link>
155+
</Compile>
156+
<Compile Include="..\servicestack.text\common\JsReader.cs">
157+
<Link>Common\JsReader.cs</Link>
158+
</Compile>
159+
<Compile Include="..\servicestack.text\common\JsState.cs">
160+
<Link>Common\JsState.cs</Link>
161+
</Compile>
162+
<Compile Include="..\servicestack.text\common\JsWriter.cs">
163+
<Link>Common\JsWriter.cs</Link>
164+
</Compile>
165+
<Compile Include="..\servicestack.text\common\ParseUtils.cs">
166+
<Link>Common\ParseUtils.cs</Link>
167+
</Compile>
168+
<Compile Include="..\servicestack.text\common\StaticParseMethod.cs">
169+
<Link>Common\StaticParseMethod.cs</Link>
170+
</Compile>
171+
<Compile Include="..\servicestack.text\common\WriteDictionary.cs">
172+
<Link>Common\WriteDictionary.cs</Link>
173+
</Compile>
174+
<Compile Include="..\servicestack.text\common\WriteLists.cs">
175+
<Link>Common\WriteLists.cs</Link>
176+
</Compile>
177+
<Compile Include="..\servicestack.text\common\WriteType.cs">
178+
<Link>Common\WriteType.cs</Link>
179+
</Compile>
180+
<Compile Include="..\servicestack.text\controller\CommandProcessor.cs">
181+
<Link>Controller\CommandProcessor.cs</Link>
182+
</Compile>
183+
<Compile Include="..\servicestack.text\controller\PathInfo.cs">
184+
<Link>Controller\PathInfo.cs</Link>
185+
</Compile>
186+
<Compile Include="..\ServiceStack.Text\CsvAttribute.cs">
187+
<Link>CsvAttribute.cs</Link>
188+
</Compile>
189+
<Compile Include="..\ServiceStack.Text\CsvConfig.cs">
190+
<Link>CsvConfig.cs</Link>
191+
</Compile>
192+
<Compile Include="..\ServiceStack.Text\CsvSerializer.cs">
193+
<Link>CsvSerializer.cs</Link>
194+
</Compile>
195+
<Compile Include="..\ServiceStack.Text\CsvStreamExtensions.cs">
196+
<Link>CsvStreamExtensions.cs</Link>
197+
</Compile>
198+
<Compile Include="..\ServiceStack.Text\CsvWriter.cs">
199+
<Link>CsvWriter.cs</Link>
200+
</Compile>
201+
<Compile Include="..\ServiceStack.Text\DateTimeExtensions.cs">
202+
<Link>DateTimeExtensions.cs</Link>
203+
</Compile>
204+
<Compile Include="..\ServiceStack.Text\Env.cs">
205+
<Link>Env.cs</Link>
206+
</Compile>
207+
<Compile Include="..\ServiceStack.Text\ITracer.cs">
208+
<Link>ITracer.cs</Link>
209+
</Compile>
210+
<Compile Include="..\ServiceStack.Text\ITypeSerializer.Generic.cs">
211+
<Link>ITypeSerializer.Generic.cs</Link>
212+
</Compile>
213+
<Compile Include="..\ServiceStack.Text\JsConfig.cs">
214+
<Link>JsConfig.cs</Link>
215+
</Compile>
216+
<Compile Include="..\ServiceStack.Text\JsConfigScope.cs">
217+
<Link>JsConfigScope.cs</Link>
218+
</Compile>
219+
<Compile Include="..\ServiceStack.Text\JsonObject.cs">
220+
<Link>JsonObject.cs</Link>
221+
</Compile>
222+
<Compile Include="..\ServiceStack.Text\JsonSerializer.cs">
223+
<Link>JsonSerializer.cs</Link>
224+
</Compile>
225+
<Compile Include="..\ServiceStack.Text\JsonSerializer.Generic.cs">
226+
<Link>JsonSerializer.Generic.cs</Link>
227+
</Compile>
228+
<Compile Include="..\servicestack.text\json\JsonReader.Generic.cs">
229+
<Link>Json\JsonReader.Generic.cs</Link>
230+
</Compile>
231+
<Compile Include="..\servicestack.text\json\JsonTypeSerializer.cs">
232+
<Link>Json\JsonTypeSerializer.cs</Link>
233+
</Compile>
234+
<Compile Include="..\servicestack.text\json\JsonUtils.cs">
235+
<Link>Json\JsonUtils.cs</Link>
236+
</Compile>
237+
<Compile Include="..\servicestack.text\json\JsonWriter.Generic.cs">
238+
<Link>Json\JsonWriter.Generic.cs</Link>
239+
</Compile>
240+
<Compile Include="..\ServiceStack.Text\JsvFormatter.cs">
241+
<Link>JsvFormatter.cs</Link>
242+
</Compile>
243+
<Compile Include="..\servicestack.text\jsv\JsvDeserializeType.cs">
244+
<Link>Jsv\JsvDeserializeType.cs</Link>
245+
</Compile>
246+
<Compile Include="..\servicestack.text\jsv\JsvReader.Generic.cs">
247+
<Link>Jsv\JsvReader.Generic.cs</Link>
248+
</Compile>
249+
<Compile Include="..\servicestack.text\jsv\JsvSerializer.Generic.cs">
250+
<Link>Jsv\JsvSerializer.Generic.cs</Link>
251+
</Compile>
252+
<Compile Include="..\servicestack.text\jsv\JsvTypeSerializer.cs">
253+
<Link>Jsv\JsvTypeSerializer.cs</Link>
254+
</Compile>
255+
<Compile Include="..\servicestack.text\jsv\JsvWriter.Generic.cs">
256+
<Link>Jsv\JsvWriter.Generic.cs</Link>
257+
</Compile>
258+
<Compile Include="..\ServiceStack.Text\ListExtensions.cs">
259+
<Link>ListExtensions.cs</Link>
260+
</Compile>
261+
<Compile Include="..\ServiceStack.Text\MapExtensions.cs">
262+
<Link>MapExtensions.cs</Link>
263+
</Compile>
264+
<Compile Include="..\servicestack.text\marc\Link.cs">
265+
<Link>Marc\Link.cs</Link>
266+
</Compile>
267+
<Compile Include="..\servicestack.text\marc\ObjectAccessor.cs">
268+
<Link>Marc\ObjectAccessor.cs</Link>
269+
</Compile>
270+
<Compile Include="..\servicestack.text\marc\TypeAccessor.cs">
271+
<Link>Marc\TypeAccessor.cs</Link>
272+
</Compile>
273+
<Compile Include="..\ServiceStack.Text\QueryStringSerializer.cs">
274+
<Link>QueryStringSerializer.cs</Link>
275+
</Compile>
276+
<Compile Include="..\ServiceStack.Text\ReflectionExtensions.cs">
277+
<Link>ReflectionExtensions.cs</Link>
278+
</Compile>
279+
<Compile Include="..\servicestack.text\reflection\StaticAccessors.cs">
280+
<Link>Reflection\StaticAccessors.cs</Link>
281+
</Compile>
282+
<Compile Include="..\ServiceStack.Text\StreamExtensions.cs">
283+
<Link>StreamExtensions.cs</Link>
284+
</Compile>
285+
<Compile Include="..\ServiceStack.Text\StringExtensions.cs">
286+
<Link>StringExtensions.cs</Link>
287+
</Compile>
288+
<Compile Include="..\servicestack.text\support\AssemblyTypeDefinition.cs">
289+
<Link>Support\AssemblyTypeDefinition.cs</Link>
290+
</Compile>
291+
<Compile Include="..\servicestack.text\support\DoubleConverter.cs">
292+
<Link>Support\DoubleConverter.cs</Link>
293+
</Compile>
294+
<Compile Include="..\servicestack.text\support\TypePair.cs">
295+
<Link>Support\TypePair.cs</Link>
296+
</Compile>
297+
<Compile Include="..\ServiceStack.Text\TextExtensions.cs">
298+
<Link>TextExtensions.cs</Link>
299+
</Compile>
300+
<Compile Include="..\ServiceStack.Text\Tracer.cs">
301+
<Link>Tracer.cs</Link>
302+
</Compile>
303+
<Compile Include="..\ServiceStack.Text\TranslateListWithElements.cs">
304+
<Link>TranslateListWithElements.cs</Link>
305+
</Compile>
306+
<Compile Include="..\ServiceStack.Text\TypeConfig.cs">
307+
<Link>TypeConfig.cs</Link>
308+
</Compile>
309+
<Compile Include="..\ServiceStack.Text\TypeSerializer.cs">
310+
<Link>TypeSerializer.cs</Link>
311+
</Compile>
312+
<Compile Include="..\ServiceStack.Text\TypeSerializer.Generic.cs">
313+
<Link>TypeSerializer.Generic.cs</Link>
314+
</Compile>
315+
<Compile Include="..\ServiceStack.Text\XmlSerializer.cs">
316+
<Link>XmlSerializer.cs</Link>
317+
</Compile>
318+
<Compile Include="Properties\AssemblyInfo.cs" />
319+
</ItemGroup>
320+
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '11.0' ">
321+
<VisualStudioVersion>11.0</VisualStudioVersion>
322+
</PropertyGroup>
323+
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
324+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
325+
Other similar extension points exist, see Microsoft.Common.targets.
326+
<Target Name="BeforeBuild">
327+
</Target>
328+
<Target Name="AfterBuild">
329+
</Target>
330+
-->
331+
</Project>

0 commit comments

Comments
 (0)