Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit af0cc60

Browse files
committed
Fix Check with StyleCop menu not returning any StyleCop warnings.
1 parent 7a6df89 commit af0cc60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Main/SharpDevelop/Project/Build/MSBuildEngine/MSBuildEngine.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public Task<bool> BuildAsync(IProject project, ProjectBuildOptions options, IBui
9494
throw new ArgumentNullException("feedbackSink");
9595

9696
var additionalTargetFileList = additionalTargetFiles != null ? additionalTargetFiles.ToList() : new List<string>();
97+
additionalTargetFileList.AddRange(AdditionalTargetFiles.Select(fileName => fileName.ToString()));
9798
if (project.MinimumSolutionVersion >= SolutionFormatVersion.VS2010) {
9899
additionalTargetFileList.Add(Path.Combine(Path.GetDirectoryName(typeof(MSBuildEngine).Assembly.Location), "SharpDevelop.TargetingPack.targets"));
99100
}

0 commit comments

Comments
 (0)