Skip to content

Commit 41d9efd

Browse files
committed
Fix EditorConfigFilePath declaration in SolutionDefaults.props file
1 parent 8642e34 commit 41d9efd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Sources/Kysect.SolutionDefaults.props

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageLicenseExpression Condition="$(SolutionDefaultsUseLicense) != false">MIT</PackageLicenseExpression>
2020
</PropertyGroup>
2121

22-
<PropertyGroup Lable="Analyzers" Condition="$(SolutionDefaultsUseAnalyzersOptions) != false">
22+
<PropertyGroup Label="Analyzers" Condition="$(SolutionDefaultsUseAnalyzersOptions) != false">
2323
<Nullable>enable</Nullable>
2424
<EnableNETAnalyzers>true</EnableNETAnalyzers>
2525
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
@@ -57,13 +57,16 @@
5757
</None>
5858
</ItemGroup>
5959

60+
<ItemGroup>
61+
<EditorConfigFilePath Include="$(MSBuildThisFileDirectory)../content/.editorconfig" />
62+
</ItemGroup>
63+
6064
<!-- *Undefined* is deafult value when dotnet try to build one project -->
6165
<Target
6266
Name="SolutionDefaultsCopyEditorConfig"
6367
BeforeTargets="BeforeBuild"
6468
Condition="$(SolutionDir) != '*Undefined*' and $(SolutionDir) != '' and $(SolutionDefaultsCopyEditorConfig) != 'false'">
65-
<EditorConfigFilePath Include="$(MSBuildThisFileDirectory)../content/.editorconfig" />
66-
<Message Text="Copying the .editorconfig file from '@(EditorConfigFilesToCopy)' to '$(SolutionDir)'"></Message>
69+
<Message Text="Copying the .editorconfig file from '@(EditorConfigFilePath)' to '$(SolutionDir)'"></Message>
6770
<Copy
6871
SourceFiles="@(EditorConfigFilePath)"
6972
DestinationFolder="$(SolutionDir)"

0 commit comments

Comments
 (0)