editorconfig name | possible values |
---|---|
dotnet_sort_system_directives_first | true , false |
editorconfig name | possible values |
---|---|
csharp_indent_block_contents | true , false |
csharp_indent_braces | true , false |
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net461</TargetFramework> | |
<LangVersion>Latest</LangVersion> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.Build.Locator" Version="1.0.18" /> |
# Compiler Arguments | |
/analyzer:..\packages\Microsoft.CodeAnalysis.NetAnalyzers.6.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll | |
/analyzer:..\packages\Microsoft.CodeAnalysis.NetAnalyzers.6.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.NetAnalyzers.dll | |
/analyzerconfig:D:\scratch\build\..\out\VisualStudioIntellisenseErrors\obj\Debug\VisualStudioIntellisenseErrors.GeneratedMSBuildEditorConfig.editorconfig | |
/analyzerconfig:D:\scratch\src\.editorconfig | |
/debug:full | |
/debug+ | |
/define:DEBUG;TRACE | |
/deterministic+ | |
/errorreport:prompt |
Configuration : Debug, Release | |
OS: macOS, Windows, Linux | |
Bitness: amd64, x86, arm64 | |
Runtime : Core, Framework | |
IF [OS] = "macOS" OR [OS] = "Linux" THEN [Runtime] = "Core"; | |
IF [OS] = "macOS" OR [OS] = "Linux" THEN [Configuration] = "Debug"; | |
IF [OS] = "Windows" AND [Bitness] = "x86" THEN [Configuration] = "Release"; | |
IF [Runtime] = "Core" THEN [Bitness] <> "x86"; | |
IF [OS] = "Windows" OR [OS] = "Linux" THEN [Bitness] <> "arm64"; |
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net472</TargetFramework> | |
<LangVersion>8.0</LangVersion> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.Build.Locator" Version="1.2.6" /> |
using System; | |
using System.Diagnostics; | |
using System.Reflection; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
using System.Security.Permissions; | |
[assembly: CompilationRelaxations(8)] | |
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] |
Imports System | |
Imports System.Collections.Generic | |
Imports System.IO | |
Imports System.Linq | |
Imports System.Text | |
Imports System.Threading.Tasks | |
Imports Microsoft.Build.Locator | |
Imports Microsoft.CodeAnalysis | |
Imports Microsoft.CodeAnalysis.VisualBasic | |
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols |