diff --git a/.vs/DataAnnotationsValidator/v16/TestStore/0/000.testlog b/.vs/DataAnnotationsValidator/v16/TestStore/0/000.testlog new file mode 100644 index 0000000..b2aed35 Binary files /dev/null and b/.vs/DataAnnotationsValidator/v16/TestStore/0/000.testlog differ diff --git a/.vs/DataAnnotationsValidator/v16/TestStore/0/testlog.manifest b/.vs/DataAnnotationsValidator/v16/TestStore/0/testlog.manifest new file mode 100644 index 0000000..e92ede2 Binary files /dev/null and b/.vs/DataAnnotationsValidator/v16/TestStore/0/testlog.manifest differ diff --git a/DataAnnotationsValidator.sln b/DataAnnotationsValidator.sln new file mode 100644 index 0000000..d80efb5 --- /dev/null +++ b/DataAnnotationsValidator.sln @@ -0,0 +1,41 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30413.136 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{01E8FDFE-435E-4F24-AD27-D4DAA621523B}" + ProjectSection(SolutionItems) = preProject + DataAnnotationsValidatorRecursive.snk = DataAnnotationsValidatorRecursive.snk + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E3276157-B94F-471C-B929-37232C110430}" + ProjectSection(SolutionItems) = preProject + DataAnnotationsValidator\Directory.Build.props = DataAnnotationsValidator\Directory.Build.props + EndProjectSection +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataAnnotationsValidator", "DataAnnotationsValidator\DataAnnotationsValidator\DataAnnotationsValidator.csproj", "{7CFD7060-1A89-48F3-A3E0-5F71B4FCAE53}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataAnnotationsValidator.Tests", "DataAnnotationsValidator\DataAnnotationsValidator.Tests\DataAnnotationsValidator.Tests.csproj", "{30D2BD69-474E-459E-9F29-9018EDDF1E0D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7CFD7060-1A89-48F3-A3E0-5F71B4FCAE53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7CFD7060-1A89-48F3-A3E0-5F71B4FCAE53}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7CFD7060-1A89-48F3-A3E0-5F71B4FCAE53}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7CFD7060-1A89-48F3-A3E0-5F71B4FCAE53}.Release|Any CPU.Build.0 = Release|Any CPU + {30D2BD69-474E-459E-9F29-9018EDDF1E0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {30D2BD69-474E-459E-9F29-9018EDDF1E0D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {30D2BD69-474E-459E-9F29-9018EDDF1E0D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {30D2BD69-474E-459E-9F29-9018EDDF1E0D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {13229DDB-D9D4-4A44-A6BE-A8944601B56D} + EndGlobalSection +EndGlobal diff --git a/DataAnnotationsValidator/.nuget/NuGet.Config b/DataAnnotationsValidator/.nuget/NuGet.Config deleted file mode 100644 index 67f8ea0..0000000 --- a/DataAnnotationsValidator/.nuget/NuGet.Config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/.nuget/NuGet.exe b/DataAnnotationsValidator/.nuget/NuGet.exe deleted file mode 100644 index 6bb79fe..0000000 Binary files a/DataAnnotationsValidator/.nuget/NuGet.exe and /dev/null differ diff --git a/DataAnnotationsValidator/.nuget/NuGet.targets b/DataAnnotationsValidator/.nuget/NuGet.targets deleted file mode 100644 index 3f8c37b..0000000 --- a/DataAnnotationsValidator/.nuget/NuGet.targets +++ /dev/null @@ -1,144 +0,0 @@ - - - - $(MSBuildProjectDirectory)\..\ - - - false - - - false - - - true - - - false - - - - - - - - - - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - - - - - $(SolutionDir).nuget - - - - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - - - - $(MSBuildProjectDirectory)\packages.config - $(PackagesProjectConfig) - - - - - $(NuGetToolsPath)\NuGet.exe - @(PackageSource) - - "$(NuGetExePath)" - mono --runtime=v4.0.30319 "$(NuGetExePath)" - - $(TargetDir.Trim('\\')) - - -RequireConsent - -NonInteractive - - "$(SolutionDir) " - "$(SolutionDir)" - - - $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) - $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - - - - RestorePackages; - $(BuildDependsOn); - - - - - $(BuildDependsOn); - BuildPackage; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/App.config b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/App.config new file mode 100644 index 0000000..57b2ac7 --- /dev/null +++ b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/App.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/DataAnnotationsValidator.Tests.csproj b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/DataAnnotationsValidator.Tests.csproj index 6061c99..a126737 100644 --- a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/DataAnnotationsValidator.Tests.csproj +++ b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/DataAnnotationsValidator.Tests.csproj @@ -1,85 +1,19 @@ - - + - Debug - AnyCPU - 8.0.30703 - 2.0 - {019E325C-9923-4643-8834-1A301F148093} - Library - Properties - DataAnnotationsValidator.Tests - DataAnnotationsValidator.Tests - v4.7.1 - 512 - ..\ - true - + net472 + DataAnnotationsValidator.Tests + DataAnnotationsValidator.Tests - true full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - ..\packages\NUnit.3.9.0\lib\net40\nunit.framework.dll - - - - - - - - - + - - - - - - - - + - - - {218B0C2C-19AD-4C7B-B583-840FF755A76D} - DataAnnotationsValidator - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/Properties/AssemblyInfo.cs b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/Properties/AssemblyInfo.cs index f13cc17..24d0e9c 100644 --- a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/Properties/AssemblyInfo.cs +++ b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/Properties/AssemblyInfo.cs @@ -2,18 +2,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("DataAnnotationsValidator.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("DataAnnotationsValidator.Tests")] -[assembly: AssemblyCopyright("Copyright © 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -21,16 +9,3 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("220ab1f3-e5a1-47c1-8b8d-33f94f8165dd")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/packages.config b/DataAnnotationsValidator/DataAnnotationsValidator.Tests/packages.config deleted file mode 100644 index 0b8738f..0000000 --- a/DataAnnotationsValidator/DataAnnotationsValidator.Tests/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/DataAnnotationsValidator.sln b/DataAnnotationsValidator/DataAnnotationsValidator.sln deleted file mode 100644 index f86925c..0000000 --- a/DataAnnotationsValidator/DataAnnotationsValidator.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.40629.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataAnnotationsValidator.Tests", "DataAnnotationsValidator.Tests\DataAnnotationsValidator.Tests.csproj", "{019E325C-9923-4643-8834-1A301F148093}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataAnnotationsValidator", "DataAnnotationsValidator\DataAnnotationsValidator.csproj", "{218B0C2C-19AD-4C7B-B583-840FF755A76D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{AC4200BF-B65D-4BC7-B12B-53617385CC56}" - ProjectSection(SolutionItems) = preProject - .nuget\NuGet.Config = .nuget\NuGet.Config - .nuget\NuGet.exe = .nuget\NuGet.exe - .nuget\NuGet.targets = .nuget\NuGet.targets - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{01E8FDFE-435E-4F24-AD27-D4DAA621523B}" - ProjectSection(SolutionItems) = preProject - DataAnnotationsValidatorRecursive.snk = DataAnnotationsValidatorRecursive.snk - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {019E325C-9923-4643-8834-1A301F148093}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {019E325C-9923-4643-8834-1A301F148093}.Debug|Any CPU.Build.0 = Debug|Any CPU - {019E325C-9923-4643-8834-1A301F148093}.Release|Any CPU.ActiveCfg = Release|Any CPU - {019E325C-9923-4643-8834-1A301F148093}.Release|Any CPU.Build.0 = Release|Any CPU - {218B0C2C-19AD-4C7B-B583-840FF755A76D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {218B0C2C-19AD-4C7B-B583-840FF755A76D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {218B0C2C-19AD-4C7B-B583-840FF755A76D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {218B0C2C-19AD-4C7B-B583-840FF755A76D}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.csproj b/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.csproj index e6020f7..bcf67d1 100644 --- a/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.csproj +++ b/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.csproj @@ -1,49 +1,12 @@ - - - + - Debug - AnyCPU - 8.0.30703 - 2.0 - {218B0C2C-19AD-4C7B-B583-840FF755A76D} - Library - Properties - DataAnnotationsValidator - DataAnnotationsValidator - v4.7.1 - 512 - true - DataAnnotationsValidator - 2.1.0.0 - Mike Reust - en-US - https://github.com/reustmd/DataAnnotationsValidatorRecursive/blob/master/License.md - Mike Reust - https://github.com/reustmd/DataAnnotationsValidatorRecursive - DataAnnotation validation validator - DataAnnotationsValidator - The helper will recursively traverse your object graph and invoke validation against DataAnnotations. This originated from following Stackoverflow answer: http://stackoverflow.com/a/8090614/605586 - + netstandard2.0 - true full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false true @@ -51,39 +14,9 @@ ..\DataAnnotationsValidatorRecursive.snk - - - - - - - - - - - - - - - - - DataAnnotationsValidatorRecursive.snk - - Designer - - - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.nuspec b/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.nuspec deleted file mode 100644 index 77f4e77..0000000 --- a/DataAnnotationsValidator/DataAnnotationsValidator/DataAnnotationsValidator.nuspec +++ /dev/null @@ -1,16 +0,0 @@ - - - - DataAnnotationsValidator - 2.2.0 - Mike Reust - Mike Reust - https://github.com/reustmd/DataAnnotationsValidatorRecursive/blob/master/License.md - https://github.com/reustmd/DataAnnotationsValidatorRecursive - true - Allows scanning object graph and validates every object using .NET standatd System.ComponentModel.DataAnnotations.Validator - Copyright © 2018 - DataAnnotation validation validator - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/DataAnnotationsValidator/Properties/AssemblyInfo.cs b/DataAnnotationsValidator/DataAnnotationsValidator/Properties/AssemblyInfo.cs index 452ae0d..2d1ed86 100644 --- a/DataAnnotationsValidator/DataAnnotationsValidator/Properties/AssemblyInfo.cs +++ b/DataAnnotationsValidator/DataAnnotationsValidator/Properties/AssemblyInfo.cs @@ -2,18 +2,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("TryValidateObjectRecursive")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TryValidateObjectRecursive")] -[assembly: AssemblyCopyright("Copyright © 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -21,16 +9,3 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("9e99ddf6-daa3-455c-b9af-126b2d740af6")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.2.0.0")] -[assembly: AssemblyFileVersion("2.2.0.0")] diff --git a/DataAnnotationsValidator/DataAnnotationsValidator/packages.config b/DataAnnotationsValidator/DataAnnotationsValidator/packages.config deleted file mode 100644 index 1aa0b1d..0000000 --- a/DataAnnotationsValidator/DataAnnotationsValidator/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/DataAnnotationsValidator/Directory.Build.props b/DataAnnotationsValidator/Directory.Build.props new file mode 100644 index 0000000..e67e64f --- /dev/null +++ b/DataAnnotationsValidator/Directory.Build.props @@ -0,0 +1,33 @@ + + + 8.0.30703 + true + DataAnnotationsValidator + 2.1.0.0 + Mike Reust + en-US + https://github.com/reustmd/DataAnnotationsValidatorRecursive/blob/master/License.md + Mike Reust + https://github.com/reustmd/DataAnnotationsValidatorRecursive + DataAnnotation validation validator + DataAnnotationsValidator + The helper will recursively traverse your object graph and invoke validation against DataAnnotations. This originated from following Stackoverflow answer: http://stackoverflow.com/a/8090614/605586 + TryValidateObjectRecursive + TryValidateObjectRecursive + Allows scanning object graph and validates every object using .NET standatd System.ComponentModel.DataAnnotations.Validator + Copyright © 2018 + 3.0.0 + 3.0.0.0 + 3.0.0.0 + bin\$(Configuration)\ + true + + + true + + + + + + + \ No newline at end of file