-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1df1367
Showing
3 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Source code files | ||
*.cs text | ||
*.vsixmanifest text | ||
*.config text | ||
*.resx text | ||
*.vstemplate text | ||
*.nuspec text | ||
*.md text | ||
*.txt text | ||
*.ps1 text | ||
LICENSE text | ||
|
||
# Projects and solutions | ||
*.sln text | ||
*.csproj text | ||
|
||
# Certainly binary files | ||
*.png binary | ||
*.ico binary | ||
*.snk binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Build output | ||
bin/ | ||
obj/ | ||
|
||
# Artifacts of the IDE and build | ||
*.sln.ide/ | ||
.vs/ | ||
packages/ | ||
*.suo | ||
*.user | ||
TestResults/ | ||
OpenCover.Reports/ | ||
.nuget/NuGet.exe | ||
build/nuget/ | ||
*.log | ||
|
||
# Visual Studio performance tools | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
#ignore thumbnails created by windows | ||
Thumbs.db | ||
#Ignore files build by Visual Studio | ||
*.obj | ||
*.exe | ||
*.pdb | ||
*.aps | ||
*.pch | ||
*.vspscc | ||
*_i.c | ||
*_p.c | ||
*.ncb | ||
*.tlb | ||
*.tlh | ||
*.bak | ||
*.cache | ||
*.ilk | ||
[Bb]in | ||
[Dd]ebug*/ | ||
*.lib | ||
*.sbr | ||
[Rr]elease*/ | ||
_ReSharper*/ | ||
[Tt]est[Rr]esult* | ||
|
||
*.sln.docstates | ||
*.vssscc | ||
$tf*/ | ||
*.dll | ||
packages/* | ||
publish/* | ||
WpfAnalyzers.Demo/* | ||
.vs/* | ||
/paket-files/* | ||
/WpfAnalyzers.Benchmarks/BenchmarkDotNet.Artifacts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# AspNetCoreAnalyzers | ||
|
||
[![Join the chat at https://gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers](https://badges.gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers.svg)](https://gitter.im/DotNetAnalyzers/AspNetCoreAnalyzers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) | ||
|
||
|
||
Roslyn analyzers for ASP.NET.Core. | ||
|
||
|
||
<!-- start generated table --> | ||
|
||
<!-- end generated table --> | ||
|
||
|
||
## Using AspNetCoreAnalyzers | ||
|
||
The preferable way to use the analyzers is to add the nuget package [AspNetCoreAnalyzers](https://www.nuget.org/packages/AspNetCoreAnalyzers/) | ||
to the project(s). | ||
|
||
The severity of individual rules may be configured using [rule set files](https://msdn.microsoft.com/en-us/library/dd264996.aspx) | ||
in Visual Studio 2015. | ||
|
||
## Installation | ||
|
||
AspNetCoreAnalyzers can be installed using [Paket](https://fsprojects.github.io/Paket/) or the NuGet command line or the NuGet Package Manager in Visual Studio 2015. | ||
|
||
|
||
**Install using the command line:** | ||
```bash | ||
Install-Package AspNetCoreAnalyzers | ||
``` | ||
|
||
## Updating | ||
|
||
The ruleset editor does not handle changes IDs well, if things get out of sync you can try: | ||
|
||
1) Close visual studio. | ||
2) Edit the ProjectName.rulset file and remove the AspNetCoreAnalyzers element. | ||
3) Start visual studio and add back the desired configuration. | ||
|
||
Above is not ideal, sorry about this. Not sure this is our bug. | ||
|
||
|
||
## Current status | ||
|
||
Early alpha, names and IDs may change. |