summaryrefslogtreecommitdiff
path: root/.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets
diff options
context:
space:
mode:
Diffstat (limited to '.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets')
-rwxr-xr-x.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets16
1 files changed, 16 insertions, 0 deletions
diff --git a/.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets b/.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets
new file mode 100755
index 0000000000..2d3a2707dc
--- /dev/null
+++ b/.packages/microsoft.net.compilers.toolset/3.2.0-beta2-19272-03/tasks/netcoreapp2.1/Microsoft.Managed.EditorConfig.targets
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <PropertyGroup>
+ <!-- Default this to false until the ".editorconfig in compiler" feature is no longer experimental.
+ At that point this PropertyGroup can simply be deleted. -->
+ <DiscoverEditorConfigFiles Condition="'$(DiscoverEditorConfigFiles)' == ''">false</DiscoverEditorConfigFiles>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PotentialEditorConfigFiles Include="@(Compile->GetPathsOfAllDirectoriesAbove()->Combine('.editorconfig'))" Condition="'$(DiscoverEditorConfigFiles)' != 'false'" />
+ <EditorConfigFiles Include="@(PotentialEditorConfigFiles->Exists())" Condition="'$(DiscoverEditorConfigFiles)' != 'false'" />
+ </ItemGroup>
+
+</Project> \ No newline at end of file