Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obj/ from Compile in Java.Interop-MonoAndroid.csproj #585

Merged
merged 1 commit into from
Feb 25, 2020

Conversation

akoeplinger
Copy link
Member

After 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" /> in Java.Interop-MonoAndroid.csproj.

Changing the BaseIntermediateOutputPath is more complicated for SDK-style projects due to the way the common targets are imported: dotnet/msbuild#1603. The easiest fix is adding back the removal of .cs files in obj/.

After dotnet@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" />` in Java.Interop-MonoAndroid.csproj

Fix this by adding back the removal of .cs files in obj/.
@jonpryor jonpryor merged commit cdf840f into dotnet:master Feb 25, 2020
@akoeplinger akoeplinger deleted the fix-compile branch February 25, 2020 13:30
jonpryor pushed a commit that referenced this pull request Feb 26, 2020
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.
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants