RoslynCodeTaskFactory_Tests.cs (6)
449expectedErrorMessage: $"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.");
540expectedErrorMessage: $"The <Code> element is missing for the \"{TaskName}\" task. This element is required.");
776TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
781bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, new List<TaskPropertyInfo>(), out RoslynCodeTaskFactoryTaskInfo _);
802TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
807bool success = RoslynCodeTaskFactory.TryLoadTaskBody(log, TaskName, taskBody, parameters ?? new List<TaskPropertyInfo>(), out RoslynCodeTaskFactoryTaskInfo taskInfo);