Codestellation.Appulse
0.3.9
dotnet add package Codestellation.Appulse --version 0.3.9
NuGet\Install-Package Codestellation.Appulse -Version 0.3.9
<PackageReference Include="Codestellation.Appulse" Version="0.3.9"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Codestellation.Appulse --version 0.3.9
#r "nuget: Codestellation.Appulse, 0.3.9"
// Install Codestellation.Appulse as a Cake Addin #addin nuget:?package=Codestellation.Appulse&version=0.3.9 // Install Codestellation.Appulse as a Cake Tool #tool nuget:?package=Codestellation.Appulse&version=0.3.9
Codestellation Appulse
MS build task to ensure latest .editorconfig
usage by comparing one that placed in you solution folder and another one which is considered reference. Capable to update or download local .editorconfig
automatically.
Installation
PM> Install-Package Codestellation.Appulse
After completing install make sure your project contains such lines:
<ItemGroup>
<PackageReference Include="Codestellation.Appulse" Version="0.2.0" PrivateAssets="All" />
</ItemGroup>
Setting Location Of Reference .editorconfig
location
Location is set using a msbuild property AppulseReferenceEditorConfig
It can point to a file
<PropertyGroup>
<AppulseReferenceEditorConfig>file://somewhere/in/filesystem/.editorconfig</AppulseReferenceEditorConfig>
</PropertyGroup>
or to a file available over the network
<PropertyGroup>
<AppulseReferenceEditorConfig>https://raw.githubusercontent.com/Codestellation/Standards/master/.editorconfig</AppulseReferenceEditorConfig>
</PropertyGroup>
If files have differences build will fail and error message will contains instruction how to fix it.
Local .editorconfig
location
Appulse tries to locate local .editorconfig
by recursive searching from a project folder to root folder. It stops at the root folder or at a folder containing .git
directory. Also you can set location of local .editorconfig
by providing AppulseLocalEditorConfig
property.
<PropertyGroup>
<AppulseLocalEditorConfig>../.editorconfig</AppulseLocalEditorConfig>
</PropertyGroup>
Breaking Changes from 0.2 to 0.3
All properties was renamed to have Appulse prefix
ReferenceEditorConfig
→AppulseReferenceEditorConfig
EditorConfigAutoUpdate
→AppulseEditorConfigAutoUpdate
Automatic Update To Reference .editorconfig
Starting from version 0.2
Codestellation.Appulse can update local .editorconfig
automatically and it's on by default. It downloads reference .editorconfig
to a folder which contains a .sln
file in case local .editorconfig
does not exist.
If you want to disable it add the following property to the project file:
<PropertyGroup>
<AppulseEditorConfigAutoUpdate>false</AppulseEditorConfigAutoUpdate>
</PropertyGroup>
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.