Skip to content

Commit cdf840f

Browse files
authored
[Java.Interop] Remove obj/* from @(Compile) for x-a (#585)
After commit 95712a2 we now hit the opposite condition: The SDK-style build of `Java.Interop.csproj` generates `obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs` which is now included by the `<Compile Include="**\*.cs" />` within `Java.Interop-MonoAndroid.csproj`. Fix this by adding back the removal of `obj\**\**.cs` files.
1 parent 95712a2 commit cdf840f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Java.Interop/Java.Interop-MonoAndroid.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
</PropertyGroup>
5353
<ItemGroup>
5454
<Compile Include="**\*.cs" />
55+
<Compile Remove="obj\**\*.cs" />
5556
<Compile Remove="Tests\**\*.cs" />
5657
<Compile Remove="Java.Interop\JniLocationException.cs" />
5758
</ItemGroup>
@@ -104,4 +105,4 @@
104105
<None Include="Documentation\Java.Interop\JniManagedPeerStates.xml" />
105106
<None Include="Documentation\Java.Interop\JniEnvironment.References.xml" />
106107
</ItemGroup>
107-
</Project>
108+
</Project>

0 commit comments

Comments
 (0)