-Fixed build
This commit is contained in:
@@ -333,6 +333,11 @@
|
|||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="SpaceShipV2.baemf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@@ -344,6 +344,9 @@
|
|||||||
<LastGenOutput>LinqToSqlClasses.designer.cs</LastGenOutput>
|
<LastGenOutput>LinqToSqlClasses.designer.cs</LastGenOutput>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
<Content Include="SpaceShipV2.baemf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
||||||
|
|||||||
@@ -529,6 +529,9 @@
|
|||||||
<None Include="Schema\Specs\uniqueItems.json">
|
<None Include="Schema\Specs\uniqueItems.json">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
<Content Include="SpaceShipV2.baemf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
||||||
|
|||||||
@@ -338,6 +338,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
<Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
|
||||||
|
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="bunny_pancake.jpg">
|
<Content Include="bunny_pancake.jpg">
|
||||||
@@ -373,6 +374,11 @@
|
|||||||
<Name>Newtonsoft.Json.Portable</Name>
|
<Name>Newtonsoft.Json.Portable</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="SpaceShipV2.baemf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@@ -381,6 +381,11 @@
|
|||||||
<Name>Newtonsoft.Json.Portable40</Name>
|
<Name>Newtonsoft.Json.Portable40</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="SpaceShipV2.baemf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@@ -75,4 +75,4 @@ using System.Security;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
|
|
||||||
[assembly: AssemblyVersion("6.0.0.0")]
|
[assembly: AssemblyVersion("6.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("6.0.5.17707")]
|
[assembly: AssemblyFileVersion("6.0.5.17710")]
|
||||||
|
|||||||
@@ -7496,19 +7496,21 @@ To fix this error either change the environment to be fully trusted, change the
|
|||||||
{
|
{
|
||||||
Pair<string, int> p = new Pair<string, int>("One", 2);
|
Pair<string, int> p = new Pair<string, int>("One", 2);
|
||||||
|
|
||||||
|
string json = JsonConvert.SerializeObject(p);
|
||||||
|
|
||||||
|
Assert.AreEqual(@"{""First"":""One"",""Second"":2}", json);
|
||||||
|
|
||||||
|
#if !(NETFX_CORE || PORTABLE || PORTABLE40)
|
||||||
DefaultContractResolver r = new DefaultContractResolver();
|
DefaultContractResolver r = new DefaultContractResolver();
|
||||||
r.IgnoreSerializableAttribute = false;
|
r.IgnoreSerializableAttribute = false;
|
||||||
|
|
||||||
string json = JsonConvert.SerializeObject(p, new JsonSerializerSettings
|
json = JsonConvert.SerializeObject(p, new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
ContractResolver = r
|
ContractResolver = r
|
||||||
});
|
});
|
||||||
|
|
||||||
Assert.AreEqual(@"{""First"":""One"",""Second"":2}", json);
|
Assert.AreEqual(@"{""First"":""One"",""Second"":2}", json);
|
||||||
|
#endif
|
||||||
json = JsonConvert.SerializeObject(p);
|
|
||||||
|
|
||||||
Assert.AreEqual(@"{""First"":""One"",""Second"":2}", json);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
|||||||
@@ -91,5 +91,5 @@ using System.Security;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
|
|
||||||
[assembly: AssemblyVersion("6.0.0.0")]
|
[assembly: AssemblyVersion("6.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("6.0.5.17707")]
|
[assembly: AssemblyFileVersion("6.0.5.17710")]
|
||||||
[assembly: CLSCompliant(true)]
|
[assembly: CLSCompliant(true)]
|
||||||
|
|||||||
Reference in New Issue
Block a user