Skip to content

Commit

Permalink
make System.Reflection.Metadata PrivateAssets="All" (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp authored Nov 19, 2024
1 parent e013896 commit 1c0b696
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ indent_style = space
indent_size = 4
charset = utf-8

# Redundant accessor body
resharper_redundant_accessor_body_highlighting = error

# Replace with field keyword
resharper_replace_with_field_keyword_highlighting = error

# Declare types in namespaces
dotnet_diagnostic.CA1050.severity = None
Expand Down Expand Up @@ -200,7 +205,8 @@ resharper_field_can_be_made_read_only_local_highlighting = none
resharper_merge_into_logical_pattern_highlighting = warning
resharper_merge_into_pattern_highlighting = error
resharper_method_has_async_overload_highlighting = warning
resharper_partial_type_with_single_part_highlighting = error
# because stop rider giving errors before source generators have run
resharper_partial_type_with_single_part_highlighting = warning
resharper_redundant_base_qualifier_highlighting = warning
resharper_redundant_cast_highlighting = error
resharper_redundant_empty_object_creation_argument_list_highlighting = error
Expand Down
2 changes: 1 addition & 1 deletion src/Cymbal/Cymbal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Pack>true</Pack>
<PackagePath>build</PackagePath>
</Content>
<PackageReference Include="System.Reflection.Metadata" />
<PackageReference Include="System.Reflection.Metadata" PrivateAssets="All" />
<Using Include="System.Reflection.PortableExecutable" />
<Using Include="Microsoft.Build.Framework" />
<PackageReference Include="ProjectDefaults" PrivateAssets="all" />
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.0.0</Version>
<Version>2.0.1</Version>
<SolutionDir>$(ProjectDir)..\</SolutionDir>
<SignAssembly>false</SignAssembly>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down

0 comments on commit 1c0b696

Please sign in to comment.