Skip to content

Resource related intellisense breaks after Rebuilding #1286

Closed
@pjcollins

Description

@pjcollins

Moving report from https://bugzilla.xamarin.com/show_bug.cgi?id=60880 into Issues. It looks like the clean target is still deleting designtime\Resource.Designer.cs in d15-6.

Steps to Reproduce

  1. Create a new Single-View Android App
  2. Open MainActivity.cs, and notice that both Resource.Layout.Main and Resource.ID.myButton are available in Intellisense
  3. Select Build -> Clean Solution.
  4. Resource.* related Intellisense no longer works as expected

Expected Behavior

Resource related Intellisense will continue to work after cleaning, building, rebuilding, etc.

Actual Behavior

The following IntelliSense output is displayed, and Resource related Intellisense no longer works.

[Failure] Could not find file 'c:\users\peter\source\repos\App16\App16\obj\Debug\designtime\Resource.Designer.cs'.

Version Information

VS 15.6 Preview 4:
https://gist.github.com/pjcollins/b8be35efd9b9eb0fb7e1355e74396fd2

Log File

https://gist.github.com/pjcollins/ee151a4e90f0d8ac7ec9d28984e52be7#file-gistfile1-txt-L1197-L1205

VS bug #627937

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.vs-syncFor internal use only; creates a VSTS "mirror" issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions