Skip to content

Commit

Permalink
Enable FindInvalidProjectReferences for .NET Core (#6365)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainersigwald committed Apr 22, 2021
1 parent 8d5fa43 commit 20792c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Expand Up @@ -309,6 +309,18 @@ public partial class FindInList : Microsoft.Build.Tasks.TaskExtension
public bool MatchFileNameOnly { get { throw null; } set { } }
public override bool Execute() { throw null; }
}
public partial class FindInvalidProjectReferences : Microsoft.Build.Tasks.TaskExtension
{
public FindInvalidProjectReferences() { }
[Microsoft.Build.Framework.OutputAttribute]
public Microsoft.Build.Framework.ITaskItem[] InvalidReferences { get { throw null; } }
public Microsoft.Build.Framework.ITaskItem[] ProjectReferences { get { throw null; } set { } }
[Microsoft.Build.Framework.RequiredAttribute]
public string TargetPlatformIdentifier { get { throw null; } set { } }
[Microsoft.Build.Framework.RequiredAttribute]
public string TargetPlatformVersion { get { throw null; } set { } }
public override bool Execute() { throw null; }
}
public partial class FindUnderPath : Microsoft.Build.Tasks.TaskExtension
{
public FindUnderPath() { }
Expand Down
1 change: 0 additions & 1 deletion src/Tasks.UnitTests/Microsoft.Build.Tasks.UnitTests.csproj
Expand Up @@ -102,7 +102,6 @@
<Compile Remove="CSharpTokenizer_Tests.cs" />
<Compile Remove="DependentAssembly_Tests.cs" />
<Compile Remove="ErrorWarningMessage_Tests.cs" />
<Compile Remove="FindInvalidProjectReferences_Tests.cs" />
<Compile Remove="ResourceHandling\GenerateResourceOutOfProc_Tests.cs" />
<Compile Remove="ResourceHandling\ResGen_Tests.cs" />
<Compile Remove="ResourceHandling\ResGenDependencies_Tests.cs" />
Expand Down
2 changes: 1 addition & 1 deletion src/Tasks/Microsoft.Build.Tasks.csproj
Expand Up @@ -385,6 +385,7 @@
<Compile Include="FindAppConfigFile.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
</Compile>
<Compile Include="FindInvalidProjectReferences.cs" />
<Compile Include="GetFrameworkPath.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
</Compile>
Expand Down Expand Up @@ -603,7 +604,6 @@
<Compile Include="ComReferenceWrapperInfo.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
</Compile>
<Compile Include="FindInvalidProjectReferences.cs" />
<Compile Include="GenerateBootstrapper.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
</Compile>
Expand Down

0 comments on commit 20792c0

Please sign in to comment.