Skip to content

Commit fac62f2

Browse files
committed
[Xamarin.Android.Tools.Bytecode] Fix the build
The cherry-pick of commit 439bd83 on master as fe7421d on d16-5 broke the d16-5 build, because 439bd83 occurred *after* ff3081d, which migrated `Xamarin.Android.Tools.Bytecode.csproj` to an SDK-style/short-form project, and thus the added file `KotlinUtilities.cs` was implicitly included in the master build, but was *not* included in the d16-5 build. The result was a build break: Kotlin/KotlinFixups.cs(35,26): error CS1061: 'ClassAccessFlags' does not contain a definition for 'IsPubliclyVisible' and no accessible extension method 'IsPubliclyVisible' accepting a first argument of type 'ClassAccessFlags' could be found (are you missing a using directive or an assembly reference?) Explicitly add `KotlinUtilities.cs` to `Xamarin.Android.Tools.Bytecode.csproj` so that it now builds.
1 parent 17100f1 commit fac62f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Xamarin.Android.Tools.Bytecode/Xamarin.Android.Tools.Bytecode.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<Compile Include="Kotlin\KotlinFixups.cs" />
5555
<Compile Include="Kotlin\KotlinMetadata.cs" />
5656
<Compile Include="Kotlin\KotlinProtobufDefinition.cs" />
57+
<Compile Include="Kotlin\KotlinUtilities.cs" />
5758
<Compile Include="Kotlin\PartialStream.cs" />
5859
<Compile Include="StreamCoda.cs" />
5960
<Compile Include="Interfaces.cs" />

0 commit comments

Comments
 (0)