Skip to content

Instantly share code, notes, and snippets.

@jmarolf
Created January 26, 2022 22:59
Show Gist options
  • Select an option

  • Save jmarolf/6a818cb0fb054db80e1c384da9aa33df to your computer and use it in GitHub Desktop.

Select an option

Save jmarolf/6a818cb0fb054db80e1c384da9aa33df to your computer and use it in GitHub Desktop.

Revisions

  1. jmarolf created this gist Jan 26, 2022.
    32 changes: 32 additions & 0 deletions compile-time-build.rsp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    # 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
    /filealign:512
    /fullpaths
    /highentropyva+
    /langversion:7.3
    /noconfig
    /nostdlib+
    /nowarn:1701,1702
    /optimize-
    /out:D:\scratch\build\..\out\VisualStudioIntellisenseErrors\obj\Debug\VisualStudioIntellisenseErrors.dll
    /platform:AnyCPU
    /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll"
    /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll"
    /subsystemversion:6.00
    /target:library
    /utf8output
    /warn:4
    /warnaserror-
    /warnaserror-:612,618

    # Files
    FxCopRules\CA1062\Violation.cs
    "D:\scratch\build\..\out\VisualStudioIntellisenseErrors\obj\Debug\.NETFramework,Version=v4.8.AssemblyAttributes.cs"
    34 changes: 34 additions & 0 deletions design-time-build.rsp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # 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+
    /errorendlocation
    /errorreport:prompt
    /filealign:512
    /fullpaths
    /highentropyva+
    /langversion:7.3
    /noconfig
    /nostdlib+
    /nowarn:1701,1702,2008
    /optimize-
    /out:D:\scratch\build\..\out\VisualStudioIntellisenseErrors\obj\Debug\VisualStudioIntellisenseErrors.dll
    /platform:AnyCPU
    /preferreduilang:en-US
    /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\mscorlib.dll"
    /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\System.Core.dll"
    /subsystemversion:6.00
    /target:library
    /utf8output
    /warn:4
    /warnaserror-
    /warnaserror-:612,618

    # Files
    FxCopRules\CA1062\Violation.cs
    "D:\scratch\build\..\out\VisualStudioIntellisenseErrors\obj\Debug\.NETFramework,Version=v4.8.AssemblyAttributes.cs"