6 references to TaskName
Microsoft.Build.Tasks.UnitTests (6)
RoslynCodeTaskFactory_Tests.cs (6)
588expectedErrorMessage: $"The \"Include\" attribute of the <Reference> element in the task \"{TaskName}\" has been set but is empty. Make sure the attribute has a proper value."); 679expectedErrorMessage: $"The <Code> element is missing for the \"{TaskName}\" task. This element is required."); 972TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName) 977bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, new List<TaskPropertyInfo>(), buildEngine, out RoslynCodeTaskFactoryTaskInfo _); 998TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName) 1003bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, parameters ?? new List<TaskPropertyInfo>(), buildEngine, out RoslynCodeTaskFactoryTaskInfo taskInfo);