Xamarin.Android build failure with updated VS 2019 image

Eli Marshal's Avatar

Eli Marshal

31 Aug, 2020 07:33 PM

Using image: Previous Visual Studio 2019 build successfully. Using the current image results in failures along these lines:

Fragments\Fragment.cs(14,65): error CS0117: 'Resource.Id' does not contain a definition for 'content_frame' [C:\projects\Project\src\app\Project.Droid\Project.Droid.csproj]

It looks like the Resource.Desinger.cs file where that definition would normally be isn't getting built - has anything changed that would affect that?

  1. Support Staff 1 Posted by Feodor Fitsner on 31 Aug, 2020 07:38 PM

    Feodor Fitsner's Avatar

    Hi Eli,

    There was VS 2019 image update on this weekend which bumped VS 2019 version to 16.7.2.

  2. 2 Posted by Eli Marshal on 31 Aug, 2020 09:10 PM

    Eli Marshal's Avatar

    Oops, typo in my previous post, meant Resource.Designer.cs.

    Had 16.7.2 but hadn't done a clean rebuild, can reproduce locally with a clean rebuild.

    Looks to be this issue: https://developercommunity.visualstudio.com/content/problem/1162237...

    Not an AppVeyor issue, can close this.

  3. Support Staff 3 Posted by Feodor Fitsner on 01 Sep, 2020 05:47 PM

    Feodor Fitsner's Avatar

    I've failed an issue on our side, so other users are aware: https://github.com/appveyor/ci/issues/3524 we'll be tracking this issue to see if it's fixed in the next VS release.

    Btw, you'd like to comment there to let VS team know it's a common issue and maybe you'll be able to provide them with a build log they are asking.

  4. Feodor Fitsner closed this discussion on 01 Nov, 2020 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac