正如标题所说,我将我的XamarinForms视图(XAML)移到了它自己的项目(Project.Forms.UI)中,这样我就可以保持Project.Core的整洁,而不是依赖于Xamarin.Forms这样做会破坏VisualStudio for Mac的XAML文件中的Intellisense。
它适用于Windows版的VisualStudio 2017,但显然我使用的是Mac。
Error CS0234 The type or namespace name 'XamlFilePathAttribute' does not exist in the namespace 'Xamarin.Forms.Xaml("C:\\Users\\Godhaze\\Documents\\VisualStudio 2017\\Projects\\Volaapp\\Volaapp\\Volaapp\\Pa" +("Xamarin.<e