Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Shared aplication problem

$
0
0

Hello.

I have trial version of xamarin and I have stuck on tests phase. I spent a few hours on that.

I've created "Shared" solution from scratch.

When solution is generated I can compile and run on android as well as on IOS.

Problem is starting when I add to shared project "Forms ContentPage xaml".

During compilation error ocured:

.../MyPage.xaml.cs(4,4): Error CS0103: The name `InitializeComponent' does not exist in the current context (CS0103) (XformTest.iOS)

Error is showing in .IOS project for Android project is ok.

Other strange behavior is when I close this solution and reopen.

After that error was changing to:

Error CS1508: The resource identifier `XformTest.iOS.MyPage.xaml' has already been used in this assembly (CS1508) (XformTest.iOS).

I cannot grasp what happening here.

Regards.

Paweł Stępień


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>