How can I connect xaml and xaml.cs files

前端 未结 11 1931
既然无缘
既然无缘 2020-12-14 05:27

I had a VB projected and converted it to C# using online conversion tools. Now the problem is xaml and xaml.cs file do not connect to each other, t

11条回答
  •  没有蜡笔的小新
    2020-12-14 05:55

    Using Xamarin Shared Code solution:

    1) Go to you project folder after unloading the shared project

    2) Find the projitems file and edit that adding the DependentUpon tag as described in other answers above.

    3) Save the file

    4) Go back to visual studio and you should get a dialog that allows you to reload all or just open the project again.

提交回复
热议问题