Skip to content

Commit 1588fe7

Browse files
authored
Add public api files (#5561)
1 parent 4473c0a commit 1588fe7

21 files changed

+255
-3
lines changed

src/Analyzers/MSTest.Analyzers.CodeFixes/MSTest.Analyzers.CodeFixes.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<RootNamespace>MSTest.Analyzers</RootNamespace>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
11+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
12+
</ItemGroup>
13+
914
<ItemGroup>
1015
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" />
1116
</ItemGroup>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
#nullable enable
2+
MSTest.Analyzers.AddTestClassFixer
3+
MSTest.Analyzers.AddTestClassFixer.AddTestClassFixer() -> void
4+
MSTest.Analyzers.AssemblyCleanupShouldBeValidFixer
5+
MSTest.Analyzers.AssemblyCleanupShouldBeValidFixer.AssemblyCleanupShouldBeValidFixer() -> void
6+
MSTest.Analyzers.AssemblyInitializeShouldBeValidFixer
7+
MSTest.Analyzers.AssemblyInitializeShouldBeValidFixer.AssemblyInitializeShouldBeValidFixer() -> void
8+
MSTest.Analyzers.AssertionArgsShouldAvoidConditionalAccessFixer
9+
MSTest.Analyzers.AssertionArgsShouldAvoidConditionalAccessFixer.AssertionArgsShouldAvoidConditionalAccessFixer() -> void
10+
MSTest.Analyzers.AssertionArgsShouldBePassedInCorrectOrderFixer
11+
MSTest.Analyzers.AssertionArgsShouldBePassedInCorrectOrderFixer.AssertionArgsShouldBePassedInCorrectOrderFixer() -> void
12+
MSTest.Analyzers.AvoidAssertAreSameWithValueTypesFixer
13+
MSTest.Analyzers.AvoidAssertAreSameWithValueTypesFixer.AvoidAssertAreSameWithValueTypesFixer() -> void
14+
MSTest.Analyzers.AvoidExpectedExceptionAttributeFixer
15+
MSTest.Analyzers.AvoidExpectedExceptionAttributeFixer.AvoidExpectedExceptionAttributeFixer() -> void
16+
MSTest.Analyzers.ClassCleanupShouldBeValidFixer
17+
MSTest.Analyzers.ClassCleanupShouldBeValidFixer.ClassCleanupShouldBeValidFixer() -> void
18+
MSTest.Analyzers.ClassInitializeShouldBeValidFixer
19+
MSTest.Analyzers.ClassInitializeShouldBeValidFixer.ClassInitializeShouldBeValidFixer() -> void
20+
MSTest.Analyzers.PreferAssertFailOverAlwaysFalseConditionsFixer
21+
MSTest.Analyzers.PreferAssertFailOverAlwaysFalseConditionsFixer.PreferAssertFailOverAlwaysFalseConditionsFixer() -> void
22+
MSTest.Analyzers.PreferConstructorOverTestInitializeFixer
23+
MSTest.Analyzers.PreferConstructorOverTestInitializeFixer.PreferConstructorOverTestInitializeFixer() -> void
24+
MSTest.Analyzers.PreferDisposeOverTestCleanupFixer
25+
MSTest.Analyzers.PreferDisposeOverTestCleanupFixer.PreferDisposeOverTestCleanupFixer() -> void
26+
MSTest.Analyzers.PreferTestCleanupOverDisposeFixer
27+
MSTest.Analyzers.PreferTestCleanupOverDisposeFixer.PreferTestCleanupOverDisposeFixer() -> void
28+
MSTest.Analyzers.PreferTestInitializeOverConstructorFixer
29+
MSTest.Analyzers.PreferTestInitializeOverConstructorFixer.PreferTestInitializeOverConstructorFixer() -> void
30+
MSTest.Analyzers.PublicMethodShouldBeTestMethodFixer
31+
MSTest.Analyzers.PublicMethodShouldBeTestMethodFixer.PublicMethodShouldBeTestMethodFixer() -> void
32+
MSTest.Analyzers.TestClassShouldBeValidFixer
33+
MSTest.Analyzers.TestClassShouldBeValidFixer.TestClassShouldBeValidFixer() -> void
34+
MSTest.Analyzers.TestCleanupShouldBeValidFixer
35+
MSTest.Analyzers.TestCleanupShouldBeValidFixer.TestCleanupShouldBeValidFixer() -> void
36+
MSTest.Analyzers.TestContextShouldBeValidFixer
37+
MSTest.Analyzers.TestContextShouldBeValidFixer.TestContextShouldBeValidFixer() -> void
38+
MSTest.Analyzers.TestInitializeShouldBeValidFixer
39+
MSTest.Analyzers.TestInitializeShouldBeValidFixer.TestInitializeShouldBeValidFixer() -> void
40+
MSTest.Analyzers.TestMethodShouldBeValidCodeFixProvider
41+
MSTest.Analyzers.TestMethodShouldBeValidCodeFixProvider.TestMethodShouldBeValidCodeFixProvider() -> void
42+
MSTest.Analyzers.UseAttributeOnTestMethodFixer
43+
MSTest.Analyzers.UseAttributeOnTestMethodFixer.UseAttributeOnTestMethodFixer() -> void
44+
MSTest.Analyzers.UseNewerAssertThrowsFixer
45+
MSTest.Analyzers.UseNewerAssertThrowsFixer.UseNewerAssertThrowsFixer() -> void
46+
MSTest.Analyzers.UseProperAssertMethodsFixer
47+
MSTest.Analyzers.UseProperAssertMethodsFixer.UseProperAssertMethodsFixer() -> void
48+
override MSTest.Analyzers.AddTestClassFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
49+
override MSTest.Analyzers.AddTestClassFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
50+
override MSTest.Analyzers.AssemblyCleanupShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
51+
override MSTest.Analyzers.AssemblyCleanupShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
52+
override MSTest.Analyzers.AssemblyInitializeShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
53+
override MSTest.Analyzers.AssemblyInitializeShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
54+
override MSTest.Analyzers.AssertionArgsShouldAvoidConditionalAccessFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
55+
override MSTest.Analyzers.AssertionArgsShouldAvoidConditionalAccessFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
56+
override MSTest.Analyzers.AssertionArgsShouldBePassedInCorrectOrderFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
57+
override MSTest.Analyzers.AssertionArgsShouldBePassedInCorrectOrderFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
58+
override MSTest.Analyzers.AvoidAssertAreSameWithValueTypesFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
59+
override MSTest.Analyzers.AvoidAssertAreSameWithValueTypesFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
60+
override MSTest.Analyzers.AvoidExpectedExceptionAttributeFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
61+
override MSTest.Analyzers.ClassCleanupShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
62+
override MSTest.Analyzers.ClassCleanupShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
63+
override MSTest.Analyzers.ClassInitializeShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
64+
override MSTest.Analyzers.ClassInitializeShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
65+
override MSTest.Analyzers.PreferAssertFailOverAlwaysFalseConditionsFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
66+
override MSTest.Analyzers.PreferAssertFailOverAlwaysFalseConditionsFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
67+
override MSTest.Analyzers.PreferConstructorOverTestInitializeFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
68+
override MSTest.Analyzers.PreferConstructorOverTestInitializeFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
69+
override MSTest.Analyzers.PreferConstructorOverTestInitializeFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
70+
override MSTest.Analyzers.PreferDisposeOverTestCleanupFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
71+
override MSTest.Analyzers.PreferDisposeOverTestCleanupFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
72+
override MSTest.Analyzers.PreferDisposeOverTestCleanupFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
73+
override MSTest.Analyzers.PreferTestCleanupOverDisposeFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
74+
override MSTest.Analyzers.PreferTestCleanupOverDisposeFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
75+
override MSTest.Analyzers.PreferTestCleanupOverDisposeFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
76+
override MSTest.Analyzers.PreferTestInitializeOverConstructorFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
77+
override MSTest.Analyzers.PreferTestInitializeOverConstructorFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
78+
override MSTest.Analyzers.PreferTestInitializeOverConstructorFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
79+
override MSTest.Analyzers.PublicMethodShouldBeTestMethodFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
80+
override MSTest.Analyzers.PublicMethodShouldBeTestMethodFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
81+
override MSTest.Analyzers.PublicMethodShouldBeTestMethodFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
82+
override MSTest.Analyzers.TestClassShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
83+
override MSTest.Analyzers.TestClassShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
84+
override MSTest.Analyzers.TestCleanupShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
85+
override MSTest.Analyzers.TestCleanupShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
86+
override MSTest.Analyzers.TestContextShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
87+
override MSTest.Analyzers.TestContextShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
88+
override MSTest.Analyzers.TestInitializeShouldBeValidFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
89+
override MSTest.Analyzers.TestInitializeShouldBeValidFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
90+
override MSTest.Analyzers.TestMethodShouldBeValidCodeFixProvider.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
91+
override MSTest.Analyzers.TestMethodShouldBeValidCodeFixProvider.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
92+
override MSTest.Analyzers.TestMethodShouldBeValidCodeFixProvider.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
93+
override MSTest.Analyzers.UseAttributeOnTestMethodFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
94+
override MSTest.Analyzers.UseNewerAssertThrowsFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
95+
override MSTest.Analyzers.UseNewerAssertThrowsFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
96+
override MSTest.Analyzers.UseProperAssertMethodsFixer.GetFixAllProvider() -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider!
97+
override MSTest.Analyzers.UseProperAssertMethodsFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
98+
override sealed MSTest.Analyzers.AddTestClassFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
99+
override sealed MSTest.Analyzers.AssemblyCleanupShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
100+
override sealed MSTest.Analyzers.AssemblyInitializeShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
101+
override sealed MSTest.Analyzers.AssertionArgsShouldAvoidConditionalAccessFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
102+
override sealed MSTest.Analyzers.AssertionArgsShouldBePassedInCorrectOrderFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
103+
override sealed MSTest.Analyzers.AvoidAssertAreSameWithValueTypesFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
104+
override sealed MSTest.Analyzers.AvoidExpectedExceptionAttributeFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
105+
override sealed MSTest.Analyzers.AvoidExpectedExceptionAttributeFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
106+
override sealed MSTest.Analyzers.ClassCleanupShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
107+
override sealed MSTest.Analyzers.ClassInitializeShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
108+
override sealed MSTest.Analyzers.PreferAssertFailOverAlwaysFalseConditionsFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
109+
override sealed MSTest.Analyzers.TestClassShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
110+
override sealed MSTest.Analyzers.TestCleanupShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
111+
override sealed MSTest.Analyzers.TestContextShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
112+
override sealed MSTest.Analyzers.TestInitializeShouldBeValidFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
113+
override sealed MSTest.Analyzers.UseAttributeOnTestMethodFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
114+
override sealed MSTest.Analyzers.UseAttributeOnTestMethodFixer.RegisterCodeFixesAsync(Microsoft.CodeAnalysis.CodeFixes.CodeFixContext context) -> System.Threading.Tasks.Task!
115+
override sealed MSTest.Analyzers.UseNewerAssertThrowsFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>
116+
override sealed MSTest.Analyzers.UseProperAssertMethodsFixer.FixableDiagnosticIds.get -> System.Collections.Immutable.ImmutableArray<string!>

src/Analyzers/MSTest.Analyzers.Package/MSTest.Analyzers.Package.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
2222
</PropertyGroup>
2323

24+
<ItemGroup>
25+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
26+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
27+
</ItemGroup>
28+
2429
<ItemGroup>
2530
<ProjectReference Include="..\MSTest.Analyzers.CodeFixes\MSTest.Analyzers.CodeFixes.csproj" />
2631
<ProjectReference Include="..\MSTest.Analyzers\MSTest.Analyzers.csproj" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Analyzers/MSTest.GlobalConfigsGenerator/MSTest.GlobalConfigsGenerator.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
<IsShipping>false</IsShipping>
88
</PropertyGroup>
99

10+
<ItemGroup>
11+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
12+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
13+
</ItemGroup>
14+
1015
<ItemGroup>
1116
<Compile Include="$(RepoRoot)/src/Analyzers/MSTest.Analyzers/Helpers/WellKnownCustomTags.cs" />
1217
</ItemGroup>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Analyzers/MSTest.Internal.Analyzers/MSTest.Internal.Analyzers.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<PackageId>*$(MSBuildProjectFile)*</PackageId>
1111
</PropertyGroup>
1212

13+
<ItemGroup>
14+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
15+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
16+
</ItemGroup>
17+
1318
<ItemGroup>
1419
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" />
1520
<PackageReference Include="Microsoft.CodeAnalysis.Common" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#nullable enable
2+
MSTest.Internal.Analyzers.MSTestObsoleteTypesSuppressor
3+
MSTest.Internal.Analyzers.MSTestObsoleteTypesSuppressor.MSTestObsoleteTypesSuppressor() -> void
4+
override MSTest.Internal.Analyzers.MSTestObsoleteTypesSuppressor.ReportSuppressions(Microsoft.CodeAnalysis.Diagnostics.SuppressionAnalysisContext context) -> void
5+
override MSTest.Internal.Analyzers.MSTestObsoleteTypesSuppressor.SupportedSuppressions.get -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.SuppressionDescriptor!>

src/Analyzers/MSTest.SourceGeneration/MSTest.SourceGeneration.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ This package provides the C# source generators for MSTest test framework.]]>
3333

3434
<ItemGroup>
3535
<AdditionalFiles Include="BannedSymbols.txt" />
36+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
37+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
3638
</ItemGroup>
3739

3840
<ItemGroup>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

src/Platform/Microsoft.Testing.Extensions.MSBuild/Microsoft.Testing.Extensions.MSBuild.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

9+
<ItemGroup>
10+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
11+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
12+
</ItemGroup>
13+
914
<ItemGroup>
1015
<InternalsVisibleTo Include="Microsoft.Testing.Platform.MSBuild.UnitTests" Key="$(VsPublicKey)" />
1116
</ItemGroup>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#nullable enable
2+
Microsoft.Testing.Platform.MSBuild.MSBuildExtensions
3+
Microsoft.Testing.Platform.MSBuild.TestingPlatformBuilderHook
4+
static Microsoft.Testing.Platform.MSBuild.MSBuildExtensions.AddMSBuild(this Microsoft.Testing.Platform.Builder.ITestApplicationBuilder! builder) -> void
5+
static Microsoft.Testing.Platform.MSBuild.TestingPlatformBuilderHook.AddExtensions(Microsoft.Testing.Platform.Builder.ITestApplicationBuilder! testApplicationBuilder, string![]! _) -> void

src/Platform/Microsoft.Testing.Platform.MSBuild/Microsoft.Testing.Platform.MSBuild.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,17 @@ This package provides MSBuild integration of the platform, its extensions and co
4545

4646
<Target Name="IncludeProjectReferenceDlls" DependsOnTargets="BuildOnlySettings;ResolveReferences">
4747
<ItemGroup>
48-
<TfmSpecificPackageFile Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))" PackagePath="lib\$(TargetFramework)\%(ReferenceCopyLocalPaths.DestinationSubDirectory)" />
49-
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('CopyToBuildOutput', 'true'))" TargetPath="%(ReferenceCopyLocalPaths.DestinationSubDirectory)" />
50-
<BuildOutputInPackage Include="@(RuntimeTargetsCopyLocalItems->HasMetadata('NuGetPackageId'))" TargetPath="%(RuntimeCopyLocalPaths.DestinationSubPath)" />
48+
<TfmSpecificPackageFile Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')-&gt;WithMetadataValue('PrivateAssets', 'All'))" PackagePath="lib\$(TargetFramework)\%(ReferenceCopyLocalPaths.DestinationSubDirectory)" />
49+
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')-&gt;WithMetadataValue('CopyToBuildOutput', 'true'))" TargetPath="%(ReferenceCopyLocalPaths.DestinationSubDirectory)" />
50+
<BuildOutputInPackage Include="@(RuntimeTargetsCopyLocalItems-&gt;HasMetadata('NuGetPackageId'))" TargetPath="%(RuntimeCopyLocalPaths.DestinationSubPath)" />
5151
</ItemGroup>
5252
</Target>
5353

54+
<ItemGroup>
55+
<AdditionalFiles Include="PublicAPI.Shipped.txt" />
56+
<AdditionalFiles Include="PublicAPI.Unshipped.txt" />
57+
</ItemGroup>
58+
5459
<ItemGroup>
5560
<Compile Include="..\Microsoft.Testing.Extensions.MSBuild\MSBuildConstants.cs" Link="MSBuildConstants.cs" />
5661
<Compile Include="..\Microsoft.Testing.Extensions.MSBuild\Serializers\FailedTestInfoRequestSerializer.cs" Link="Serializers/FailedTestInfoRequestSerializer.cs" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#nullable enable

0 commit comments

Comments
 (0)