Skip to content

Commit 7f4656a

Browse files
committed
-Fix test
-Enable XML documentation for Silverlight project
1 parent 94e3beb commit 7f4656a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ public class Person
201201

202202
// "2000-12-15T22:11:03"
203203
[JsonProperty]
204-
[JsonConverter(typeof(IsoDateTimeConverter))]
204+
//[JsonConverter(typeof(IsoDateTimeConverter))]
205205
public DateTime BirthDate { get; set; }
206206

207207
// new Date(976918263055)
208208
[JsonProperty]
209-
[JsonConverter(typeof(JavaScriptDateTimeConverter))]
209+
//[JsonConverter(typeof(JavaScriptDateTimeConverter))]
210210
public DateTime LastModified { get; set; }
211211

212212
// not serialized

Src/Newtonsoft.Json/Newtonsoft.Json.Silverlight.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<NoConfig>true</NoConfig>
2626
<ErrorReport>prompt</ErrorReport>
2727
<WarningLevel>4</WarningLevel>
28+
<DocumentationFile>Bin\Debug\Newtonsoft.Json.Silverlight.XML</DocumentationFile>
2829
</PropertyGroup>
2930
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3031
<DebugType>pdbonly</DebugType>
@@ -35,6 +36,7 @@
3536
<NoConfig>true</NoConfig>
3637
<ErrorReport>prompt</ErrorReport>
3738
<WarningLevel>4</WarningLevel>
39+
<DocumentationFile>Bin\Release\Newtonsoft.Json.Silverlight.XML</DocumentationFile>
3840
</PropertyGroup>
3941
<ItemGroup>
4042
<Reference Include="System.Windows" />

0 commit comments

Comments
 (0)