Add analyzer support
With this change, any referenced analyzer project will be parsed by the project system and the assemblies will be passed down to the compiler. By default, the analyzer language is considered to be "cs". If another language is used, the "languageID" option should be specified inside the "analyzerOptions" section of the project.json file. Resolves #83
This commit is contained in:
parent
ea43482551
commit
c716ad6571
13 changed files with 307 additions and 26 deletions
15
test/TestProjects/TestLibraryWithAnalyzer/Program.cs
Executable file
15
test/TestProjects/TestLibraryWithAnalyzer/Program.cs
Executable file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello World!");
|
||||
}
|
||||
}
|
||||
|
||||
public class TT : Attribute
|
||||
{}
|
||||
}
|
Reference in a new issue