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