Skip to content

Commit

Permalink
- Addressing #68 and reverting to .NET 4.5.1 (keeping it simple and i…
Browse files Browse the repository at this point in the history
…nclusive).

- Fixing breaking test.
  • Loading branch information
Mike-E-angelo authored and Mike-EEE committed Mar 19, 2017
1 parent 057786b commit 4f01584
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion samples/ExtendedXmlSerializer.Samples/project.json
Expand Up @@ -12,7 +12,7 @@
},

"frameworks": {
"net46": {},
"net451": {},
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
Expand Down
2 changes: 1 addition & 1 deletion src/ExtendedXmlSerializer/project.json
Expand Up @@ -23,7 +23,7 @@
"Wojciech Nagórski"
],
"frameworks": {
"net46": {
"net451": {
"buildOptions": {
"define": [ "CLASSIC" ]
},
Expand Down
2 changes: 1 addition & 1 deletion test/ExtendedXmlSerializer.Performance.Tests/project.json
Expand Up @@ -26,7 +26,7 @@
},

"frameworks": {
"net46": {
"net451": {
"buildOptions": {
"define": [ "CLASSIC" ]
},
Expand Down
Expand Up @@ -27,7 +27,7 @@
using JetBrains.Annotations;
using Xunit;

namespace ExtendedXmlSerialization.Test.Configuration
namespace ExtendedXmlSerialization.Test.ExtensionModel
{
public class AttributesExtensionTests
{
Expand All @@ -36,7 +36,7 @@ public void VerifyDeclared()
{
var instance = new Subject {PropertyName = "Testing"};
var actual = new SerializationSupport().Assert(instance,
@"<?xml version=""1.0"" encoding=""utf-8""?><AttributesExtensionTests-Subject PropertyName=""Testing"" xmlns=""clr-namespace:ExtendedXmlSerialization.Test.Configuration;assembly=ExtendedXmlSerializerTest"" />");
@"<?xml version=""1.0"" encoding=""utf-8""?><AttributesExtensionTests-Subject PropertyName=""Testing"" xmlns=""clr-namespace:ExtendedXmlSerialization.Test.ExtensionModel;assembly=ExtendedXmlSerializerTest"" />");
Assert.Equal(instance.PropertyName, actual.PropertyName);
}

Expand All @@ -45,7 +45,7 @@ public void VerifyDifferentName()
{
var expected = new SubjectWithName {PropertyName = "Testing"};
var actual = new SerializationSupport().Assert(expected,
@"<?xml version=""1.0"" encoding=""utf-8""?><AttributesExtensionTests-SubjectWithName AnotherDifferentName=""Testing"" xmlns=""clr-namespace:ExtendedXmlSerialization.Test.Configuration;assembly=ExtendedXmlSerializerTest"" />");
@"<?xml version=""1.0"" encoding=""utf-8""?><AttributesExtensionTests-SubjectWithName AnotherDifferentName=""Testing"" xmlns=""clr-namespace:ExtendedXmlSerialization.Test.ExtensionModel;assembly=ExtendedXmlSerializerTest"" />");
Assert.Equal(expected.PropertyName, actual.PropertyName);
}

Expand Down
2 changes: 1 addition & 1 deletion test/ExtendedXmlSerializerTest/project.json
Expand Up @@ -29,7 +29,7 @@
}
}
},
"net46": {
"net451": {
"buildOptions": {
"define": [ "CLASSIC" ]
},
Expand Down

0 comments on commit 4f01584

Please sign in to comment.