Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved to .NET 5, and added CLI projects. #29

Open
wants to merge 90 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
0bfa604
Updated to .NET Core and added Metadata Map of Type References
EraYaN Jan 24, 2019
16461d0
Moved tests over.
EraYaN Jan 24, 2019
734dac0
Added more formatted error messages and stopped trhowing on found error.
EraYaN Jan 25, 2019
c54239b
Added even more descriptors.
EraYaN Jan 25, 2019
f18e1f1
Updated tests and added multi target to main lib. Switched to runsett…
EraYaN Feb 5, 2019
7591f71
Removed final ReadKey
EraYaN Feb 5, 2019
0eaa584
Added .NETFramework project
EraYaN Feb 5, 2019
4399eef
Add final status counts, structure for more statistics and exit codes.
EraYaN Feb 13, 2019
5e502ed
Added extra messages to CLI output and added Debug code to help debug…
EraYaN Feb 16, 2019
a5f216a
Added some extra continue statements when there is no reference to th…
EraYaN Feb 19, 2019
73be82d
Added Azure Pipelines logging and better command line parsing support.
EraYaN Jul 28, 2019
972e182
Added timeline guids.
EraYaN Jul 28, 2019
7b96df4
Update AzurePipelinesMessageLogger.cs
EraYaN Jul 28, 2019
11b431c
Some more fixes.
EraYaN Jul 28, 2019
26a0a64
Take out the timeline stuff.
EraYaN Jul 28, 2019
907063b
Merged the two CLI projects. (v0.0.5)
EraYaN Jan 5, 2020
da3372c
v0.1.0
EraYaN Jan 11, 2020
1877f22
Added version header.
EraYaN Jan 11, 2020
f859b87
Added command line example for WarningsOnly
EraYaN Jan 11, 2020
80cc7bc
v0.1.1
EraYaN Jan 11, 2020
430e7b0
Rename projects and prepare for tool shipping on nuget.
EraYaN Jun 8, 2020
60ed340
Adjust help text, LICENSE and NOTICE, move to nuget packages and clea…
EraYaN Jun 8, 2020
b03da3c
Added Nuget badges
EraYaN Jun 8, 2020
2b8f440
add repo chores
k3rnelpan1c-dev Aug 1, 2021
f10a89e
bump TargetFramework to net5.0
k3rnelpan1c-dev Aug 1, 2021
4fe0fbe
bump dependencies to recent version
k3rnelpan1c-dev Aug 2, 2021
751c20a
remove outdated and obsolete tests
k3rnelpan1c-dev Aug 2, 2021
606781a
add dependabot with monthly cycle
k3rnelpan1c-dev Aug 1, 2021
9a0c9c4
add basic build-test workflow
k3rnelpan1c-dev Aug 2, 2021
199011e
Merge pull request #1 from k3rnelpan1c-dev/chore/net5
EraYaN Aug 6, 2021
e765472
Move to xUnit and update runargs
EraYaN Aug 7, 2021
0e9afc5
Fix solution path.
EraYaN Aug 7, 2021
be62eb5
Update all tests to run fully in memory.
EraYaN Aug 7, 2021
4d477e2
Refactor and reformat.
EraYaN Aug 7, 2021
a0a0fd9
Merge pull request #6 from EraYaN/move-to-xunit
EraYaN Aug 7, 2021
89d20ec
Move to .NET 6
EraYaN Dec 13, 2021
d8470e4
Update CI for .NET 6
EraYaN Dec 13, 2021
4997411
Merge pull request #12 from EraYaN/net6
EraYaN Dec 13, 2021
cba5b0c
Bump CompatibilityChecker.Library from 0.3.0 to 0.4.0
dependabot[bot] Jan 1, 2022
c758e77
Merge pull request #13 from EraYaN/dependabot/nuget/CompatibilityChec…
EraYaN Jan 2, 2022
fd8ed79
Bump coverlet.collector from 3.1.0 to 3.1.1
dependabot[bot] Feb 1, 2022
d9a503f
Merge pull request #14 from EraYaN/dependabot/nuget/coverlet.collecto…
EraYaN Feb 1, 2022
3020681
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
dependabot[bot] Mar 1, 2022
1870623
Bump coverlet.collector from 3.1.1 to 3.1.2
dependabot[bot] Mar 1, 2022
2b2f35e
Merge pull request #16 from EraYaN/dependabot/nuget/coverlet.collecto…
EraYaN Mar 1, 2022
853f347
Merge pull request #15 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Mar 1, 2022
8195a24
Bump System.Reflection.Metadata from 6.0.0 to 6.0.1
dependabot[bot] Apr 1, 2022
6478d1f
Bump CommandLineParser from 2.8.0 to 2.9.1
dependabot[bot] Jun 1, 2022
2eea9dc
Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5
dependabot[bot] Jun 1, 2022
85753af
Bump Lokad.ILPack from 0.1.7 to 0.2.0
dependabot[bot] Jun 1, 2022
2011af2
Merge pull request #21 from EraYaN/dependabot/nuget/Lokad.ILPack-0.2.0
EraYaN Jun 24, 2022
fd4b18e
Merge pull request #19 from EraYaN/dependabot/nuget/xunit.runner.visu…
EraYaN Jun 24, 2022
0f9f64f
Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0
dependabot[bot] Jun 24, 2022
9864656
Merge pull request #20 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Jun 24, 2022
8489ba2
Merge pull request #18 from EraYaN/dependabot/nuget/CommandLineParser…
EraYaN Jun 24, 2022
c53700a
Merge pull request #17 from EraYaN/dependabot/nuget/System.Reflection…
EraYaN Jun 24, 2022
a62d7b2
Bump xunit from 2.4.1 to 2.4.2
dependabot[bot] Sep 1, 2022
511efcb
Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.1
dependabot[bot] Sep 1, 2022
e9320b1
Merge pull request #22 from EraYaN/dependabot/nuget/xunit-2.4.2
EraYaN Sep 5, 2022
09f6095
Merge pull request #23 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Sep 5, 2022
046f914
Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2
dependabot[bot] Oct 1, 2022
2150376
Merge pull request #24 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Oct 3, 2022
12750a0
Bump coverlet.collector from 3.1.2 to 3.2.0
dependabot[bot] Nov 1, 2022
6f9d471
Merge pull request #25 from EraYaN/dependabot/nuget/coverlet.collecto…
EraYaN Nov 1, 2022
b72e3af
Update to .NET 7 and update dependencies
EraYaN Jan 10, 2023
41ab3c9
Bump CompatibilityChecker.Library from 0.4.0 to 0.5.0
dependabot[bot] Feb 1, 2023
bbcd434
Update build-test.yaml
EraYaN Feb 2, 2023
7dfa6b3
Merge pull request #30 from EraYaN/dependabot/nuget/CompatibilityChec…
EraYaN Feb 2, 2023
b1f8971
Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0
dependabot[bot] Mar 1, 2023
fdf853d
Merge pull request #31 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Mar 14, 2023
284cbaa
Bump System.Reflection.Metadata from 7.0.0 to 7.0.1
dependabot[bot] Apr 1, 2023
4b5399b
Merge pull request #32 from EraYaN/dependabot/nuget/System.Reflection…
EraYaN Apr 2, 2023
75c1dbf
Bump coverlet.collector from 3.2.0 to 6.0.0
dependabot[bot] Jun 1, 2023
bb15f20
Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.1
dependabot[bot] Jun 1, 2023
2e351e9
Merge pull request #34 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Jun 9, 2023
5afd36f
Merge pull request #33 from EraYaN/dependabot/nuget/coverlet.collecto…
EraYaN Jun 9, 2023
c3d0e30
Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.3
dependabot[bot] Jul 1, 2023
f80fbf8
Bump System.Reflection.Metadata from 7.0.1 to 7.0.2
dependabot[bot] Jul 1, 2023
3eac61f
Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0
dependabot[bot] Aug 1, 2023
2d29de5
Merge pull request #38 from EraYaN/dependabot/nuget/xunit.runner.visu…
EraYaN Aug 16, 2023
d5c68d5
Merge pull request #36 from EraYaN/dependabot/nuget/System.Reflection…
EraYaN Aug 16, 2023
5982a38
Bump xunit from 2.4.2 to 2.5.0
dependabot[bot] Aug 16, 2023
9e874ae
Merge pull request #37 from EraYaN/dependabot/nuget/xunit-2.5.0
EraYaN Aug 16, 2023
3883034
Merge pull request #35 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Aug 16, 2023
33d3f1c
Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.2
dependabot[bot] Sep 1, 2023
3662b76
Merge pull request #39 from EraYaN/dependabot/nuget/Microsoft.NET.Tes…
EraYaN Sep 14, 2023
26705d6
Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1
dependabot[bot] Oct 1, 2023
c3e2f1e
Merge pull request #40 from EraYaN/dependabot/nuget/xunit.runner.visu…
EraYaN Oct 3, 2023
728186e
Bump xunit from 2.5.0 to 2.5.1
dependabot[bot] Oct 3, 2023
db7b52c
Merge pull request #41 from EraYaN/dependabot/nuget/xunit-2.5.1
EraYaN Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 183 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
###############################
# Core EditorConfig Options #
###############################

root = true

# All files
[*]
indent_style = space
charset = utf-8
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true

# Protobuf, XML, YAML and project files
[*.{proto,xml,yaml,yml,csproj}]
indent_size = 2
insert_final_newline = true

# Code files
[*.{cs,csx}]
indent_size = 4
insert_final_newline = true

###############################
# .NET Coding Conventions #
###############################

[*.{cs}]
# Organize usings
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false

# this. preferences
dotnet_style_qualification_for_field = false:silent
dotnet_style_qualification_for_property = false:silent
dotnet_style_qualification_for_method = false:silent
dotnet_style_qualification_for_event = false:silent

# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
dotnet_style_predefined_type_for_member_access = true:silent

# Parentheses preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent

# Modifier preferences
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
dotnet_style_readonly_field = true:suggestion

# Expression-level preferences
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
dotnet_style_prefer_inferred_tuple_names = true:suggestion
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
dotnet_style_prefer_auto_properties = true:silent
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
dotnet_style_prefer_conditional_expression_over_return = true:silent

###############################
# Naming Conventions #
###############################

# Style Definitions
dotnet_naming_style.pascal_case_style.capitalization = pascal_case

# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const

###############################
# C# Code Style Rules #
###############################

[*.cs]
# var preferences
csharp_style_var_for_built_in_types = false:silent
csharp_style_var_when_type_is_apparent = false:silent
csharp_style_var_elsewhere = false:silent

# Expression-bodied members
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:silent
csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:silent
csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent

# Pattern-matching preferences
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion

# Null-checking preferences
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion

# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion

# Expression-level preferences
csharp_prefer_braces = true:silent
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_prefer_simple_default_expression = true:suggestion
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion

###############################
# C# Formatting Rules #
###############################

# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

# Space preferences
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_after_comma = true
csharp_space_after_dot = false

# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true

# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = none

# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = none

# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = none

# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = none

dotnet_diagnostic.CA1802.severity = none
dotnet_diagnostic.CA1303.severity = none
dotnet_diagnostic.SA1005.severity = none
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1108.severity = none
dotnet_diagnostic.SA1124.severity = none
dotnet_diagnostic.SA1128.severity = none
dotnet_diagnostic.SA1200.severity = none
dotnet_diagnostic.SA1201.severity = none
dotnet_diagnostic.SA1202.severity = none
dotnet_diagnostic.SA1204.severity = none
dotnet_diagnostic.SA1214.severity = none
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1413.severity = none
dotnet_diagnostic.SA1502.severity = none
dotnet_diagnostic.SA1512.severity = none
dotnet_diagnostic.SA1633.severity = none
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: nuget
directory: /
open-pull-requests-limit: 10
schedule:
interval: monthly
32 changes: 32 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build.NET

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --nologo --no-restore

- name: Test
run: dotnet test --nologo --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings tests/coverletArgs.runsettings
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,16 @@ TestResults/
*.sln.ide/
*.user
*.suo
.vs/
MigrationBackup/
*.dll
*.zip

# IDEs
.vscode
.idea
*.iml

# MacOS
.DS_Store
packed/
6 changes: 0 additions & 6 deletions CompatibilityCheckExample/App.config

This file was deleted.

79 changes: 0 additions & 79 deletions CompatibilityCheckExample/CompatibilityCheckExample.csproj

This file was deleted.

63 changes: 0 additions & 63 deletions CompatibilityCheckExample/Program.cs

This file was deleted.

Loading