Skip to content

Instantly share code, notes, and snippets.

@jmarolf
Created January 26, 2022 22:59
Show Gist options
  • Save jmarolf/6a818cb0fb054db80e1c384da9aa33df to your computer and use it in GitHub Desktop.
Save jmarolf/6a818cb0fb054db80e1c384da9aa33df to your computer and use it in GitHub Desktop.
design-time-build vs. compile-time-build
# 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"
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment