Skip to content

dotnet-demos/roslyn-compile-with-analyzers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Net console demo - Roslyn to compile code with custom Analyzers

It compile the program text into a DLL using Roslyn compilers. It consider the custom Roslyn analyzers too as part of compilation.

Specifications

  • .Net version - .Net 6
  • Nugets referenced
    • DotNet.Helpers
    • easyconsolestd
    • Microsoft.Extensions.Hosting

Dependency injection

  • Supported. Refer the Program.cs file for more details
  • The options are injected as dependency to the [MenuService](/src/MenuService.cs then those are invoked based on selection.

About

A console application that compile code using Roslyn with analyzers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages