-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support .NET 5.0
- Loading branch information
Showing
7 changed files
with
262 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Rules in this file were initially inferred by Visual Studio IntelliCode from the C:\Data\Mine\Code\blazor-fluxor\src codebase based on best match to current usage at 27/07/2018 | ||
# You can modify the rules from these initially generated values to suit your own policies | ||
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference | ||
[*.cs] | ||
|
||
#Core editorconfig formatting - indentation | ||
|
||
#use hard tabs for indentation | ||
indent_style = tab | ||
|
||
#Formatting - new line options | ||
|
||
#require braces to be on a new line for methods, anonymous_types, accessors, properties, control_blocks, lambdas, and types (also known as "Allman" style) | ||
csharp_new_line_before_open_brace = methods, anonymous_types, accessors, properties, control_blocks, lambdas, types | ||
|
||
#Formatting - organize using options | ||
|
||
#do not place System.* using directives before other using directives | ||
dotnet_sort_system_directives_first = false | ||
|
||
#Formatting - spacing options | ||
|
||
#require NO space between a cast and the value | ||
csharp_space_after_cast = false | ||
#require a space before the colon for bases or interfaces in a type declaration | ||
csharp_space_after_colon_in_inheritance_clause = true | ||
#require a space before the colon for bases or interfaces in a type declaration | ||
csharp_space_before_colon_in_inheritance_clause = true | ||
#remove space within empty argument list parentheses | ||
csharp_space_between_method_call_empty_parameter_list_parentheses = false | ||
#remove space between method call name and opening parenthesis | ||
csharp_space_between_method_call_name_and_opening_parenthesis = false | ||
#do not place space characters after the opening parenthesis and before the closing parenthesis of a method call | ||
csharp_space_between_method_call_parameter_list_parentheses = false | ||
#remove space within empty parameter list parentheses for a method declaration | ||
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false | ||
#place a space character after the opening parenthesis and before the closing parenthesis of a method declaration parameter list. | ||
csharp_space_between_method_declaration_parameter_list_parentheses = false | ||
|
||
#Formatting - wrapping options | ||
|
||
#leave code block on single line | ||
csharp_preserve_single_line_blocks = true | ||
|
||
#Style - expression bodied member options | ||
|
||
#prefer expression-bodied members for accessors | ||
csharp_style_expression_bodied_accessors = true:suggestion | ||
#prefer block bodies for methods | ||
csharp_style_expression_bodied_methods = false:suggestion | ||
#prefer expression-bodied members for properties | ||
csharp_style_expression_bodied_properties = true:suggestion | ||
|
||
#Style - expression level options | ||
|
||
#prefer out variables to be declared inline in the argument list of a method call when possible | ||
csharp_style_inlined_variable_declaration = true:suggestion | ||
#prefer the language keyword for member access expressions, instead of the type name, for types that have a keyword to represent them | ||
dotnet_style_predefined_type_for_member_access = true:suggestion | ||
|
||
#Style - implicit and explicit types | ||
|
||
#prefer explicit type over var to declare variables with built-in system types such as int | ||
csharp_style_var_for_built_in_types = false:suggestion | ||
#prefer var when the type is already mentioned on the right-hand side of a declaration expression | ||
csharp_style_var_when_type_is_apparent = true:suggestion | ||
|
||
#Style - language keyword and framework type options | ||
|
||
#prefer the language keyword for local variables, method parameters, and class members, instead of the type name, for types that have a keyword to represent them | ||
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion | ||
|
||
#Style - qualification options | ||
|
||
#prefer fields not to be prefaced with this. or Me. in Visual Basic | ||
dotnet_style_qualification_for_field = false:suggestion | ||
#prefer methods not to be prefaced with this. or Me. in Visual Basic | ||
dotnet_style_qualification_for_method = false:suggestion | ||
#prefer properties not to be prefaced with this. or Me. in Visual Basic | ||
dotnet_style_qualification_for_property = false:suggestion |
58 changes: 29 additions & 29 deletions
58
...eterLeslieMorris.Blazor.FluentValidation/PeterLeslieMorris.Blazor.FluentValidation.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<SignAssembly>false</SignAssembly> | ||
<AssemblyOriginatorKeyFile>MrPMorris.snk</AssemblyOriginatorKeyFile> | ||
<AssemblyVersion>1.4.0.0</AssemblyVersion> | ||
<FileVersion>1.4.0.0</FileVersion> | ||
<Version>1.4.0</Version> | ||
<Description>FluentValidation for Blazor</Description> | ||
<Copyright>Peter Morris</Copyright> | ||
<PackageLicenseFile>LICENCE</PackageLicenseFile> | ||
<PackageProjectUrl>https://github.com/mrpmorris/blazor-validation</PackageProjectUrl> | ||
<PackageIconUrl>https://raw.githubusercontent.com/mrpmorris/blazor-validation/master/docs/images/blazor-validation-logo-small.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/mrpmorris/blazor-validation</RepositoryUrl> | ||
<PackageTags>Blazor FluentValidation</PackageTags> | ||
<DelaySign>false</DelaySign> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.1;net5.0</TargetFrameworks> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>MrPMorris.snk</AssemblyOriginatorKeyFile> | ||
<AssemblyVersion>1.5.0.0</AssemblyVersion> | ||
<FileVersion>1.5.0.0</FileVersion> | ||
<Version>1.5.0</Version> | ||
<Description>FluentValidation for Blazor</Description> | ||
<Copyright>Peter Morris</Copyright> | ||
<PackageLicenseFile>LICENCE</PackageLicenseFile> | ||
<PackageProjectUrl>https://github.com/mrpmorris/blazor-validation</PackageProjectUrl> | ||
<PackageIconUrl>https://raw.githubusercontent.com/mrpmorris/blazor-validation/master/docs/images/blazor-validation-logo-small.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/mrpmorris/blazor-validation</RepositoryUrl> | ||
<PackageTags>Blazor FluentValidation</PackageTags> | ||
<DelaySign>false</DelaySign> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="FluentValidation" Version="9.0.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="FluentValidation" Version="9.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\LICENCE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="..\..\LICENCE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\PeterLeslieMorris.Blazor.Validation\PeterLeslieMorris.Blazor.Validation.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\PeterLeslieMorris.Blazor.Validation\PeterLeslieMorris.Blazor.Validation.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 38 additions & 34 deletions
72
src/PeterLeslieMorris.Blazor.Validation/PeterLeslieMorris.Blazor.Validation.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,44 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Razor"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.1</TargetFramework> | ||
<IsPackable>true</IsPackable> | ||
<LangVersion>7.3</LangVersion> | ||
<RazorLangVersion>3.0</RazorLangVersion> | ||
<AddRazorSupportForMvc>true</AddRazorSupportForMvc> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageId>PeterLeslieMorris.Blazor.Validation</PackageId> | ||
<Version>1.4.0</Version> | ||
<Authors>Peter Morris</Authors> | ||
<Company>Peter Morris</Company> | ||
<Product>PeterLeslieMorris.Blazor.Validation</Product> | ||
<Description>Validation for Blazor</Description> | ||
<Copyright>Peter Morris</Copyright> | ||
<PackageLicenseFile>LICENCE</PackageLicenseFile> | ||
<PackageProjectUrl>https://github.com/mrpmorris/blazor-validation</PackageProjectUrl> | ||
<PackageIconUrl>https://raw.githubusercontent.com/mrpmorris/blazor-validation/master/docs/images/blazor-validation-logo-small.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/mrpmorris/blazor-validation</RepositoryUrl> | ||
<PackageTags>Blazor Validation</PackageTags> | ||
<AssemblyVersion>1.4.0.0</AssemblyVersion> | ||
<FileVersion>1.4.0.0</FileVersion> | ||
<SignAssembly>false</SignAssembly> | ||
<AssemblyOriginatorKeyFile>MrPMorris.snk</AssemblyOriginatorKeyFile> | ||
<DelaySign>false</DelaySign> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.1;net5.0</TargetFrameworks> | ||
<IsPackable>true</IsPackable> | ||
<LangVersion>7.3</LangVersion> | ||
<RazorLangVersion>3.0</RazorLangVersion> | ||
<AddRazorSupportForMvc>true</AddRazorSupportForMvc> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<PackageId>PeterLeslieMorris.Blazor.Validation</PackageId> | ||
<Version>1.5.0</Version> | ||
<Authors>Peter Morris</Authors> | ||
<Company>Peter Morris</Company> | ||
<Product>PeterLeslieMorris.Blazor.Validation</Product> | ||
<Description>Validation for Blazor</Description> | ||
<Copyright>Peter Morris</Copyright> | ||
<PackageLicenseFile>LICENCE</PackageLicenseFile> | ||
<PackageProjectUrl>https://github.com/mrpmorris/blazor-validation</PackageProjectUrl> | ||
<PackageIconUrl>https://raw.githubusercontent.com/mrpmorris/blazor-validation/master/docs/images/blazor-validation-logo-small.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/mrpmorris/blazor-validation</RepositoryUrl> | ||
<PackageTags>Blazor Validation</PackageTags> | ||
<AssemblyVersion>1.5.0.0</AssemblyVersion> | ||
<FileVersion>1.5.0.0</FileVersion> | ||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>MrPMorris.snk</AssemblyOriginatorKeyFile> | ||
<DelaySign>false</DelaySign> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\LICENCE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="..\..\LICENCE"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.6" /> | ||
</ItemGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.6" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'"> | ||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |