diff --git a/.editorconfig b/.editorconfig index 4707e3a0e..3923fc692 100644 --- a/.editorconfig +++ b/.editorconfig @@ -55,7 +55,7 @@ dotnet_diagnostic.cs8614.severity = error # Lower language support for code shared with code for Unity csharp_style_namespace_declarations = block_scoped -[*.csproj] +[*.{csproj,props,targets}] charset = utf-8 indent_style = space indent_size = 2 diff --git a/MagicOnion.sln b/MagicOnion.sln index 1821e47cb..fede9190b 100644 --- a/MagicOnion.sln +++ b/MagicOnion.sln @@ -4,6 +4,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 VisualStudioVersion = 17.0.31919.166 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{1987061F-8970-4018-8D58-6932961C9EB4}" + ProjectSection(SolutionItems) = preProject + src\Directory.Build.props = src\Directory.Build.props + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{7ACC27E8-8FBE-4807-B91F-B89AF3CFF7E0}" EndProject diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 27504679f..a337caf9d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,7 +1,9 @@ + + - $(MSBuildThisFileDirectory) - $(RepoRoot)=. + $(MSBuildThisFileDirectory) + $(RepoRoot)=.