Exemplo n.º 1
0
 public VisualBasicCompilerInputs(VisualBasicProjectFile projectFile)
 {
     _projectFile      = projectFile;
     _commandLineArgs  = new List <string>();
     _sources          = SpecializedCollections.EmptyEnumerable <ITaskItem>();
     _additionalFiles  = SpecializedCollections.EmptyEnumerable <ITaskItem>();;
     _projectDirectory = Path.GetDirectoryName(projectFile.FilePath);
     _outputDirectory  = projectFile.GetOutputDirectory();
 }
                public VisualBasicCompilerInputs(VisualBasicProjectFile projectFile)
                {
                    this._projectFile        = projectFile;
                    this._options            = new HostBuildOptions();
                    this._sources            = SpecializedCollections.EmptyEnumerable <MSB.Framework.ITaskItem>();
                    this._references         = SpecializedCollections.EmptyEnumerable <MSB.Framework.ITaskItem>();
                    this._analyzerReferences = SpecializedCollections.EmptyEnumerable <MSB.Framework.ITaskItem>();
                    this._warnings           = new Dictionary <string, ReportDiagnostic>();

                    this._options.ProjectDirectory = Path.GetDirectoryName(projectFile.FilePath);
                    this._options.OutputDirectory  = projectFile.GetOutputDirectory();
                }