title: Error CS0103: The name 'InitializeComponent' does not exist in the current context
body: <p>Using Visual Studio Community for Mac <code>7.3.3 (build 7)</code> I make an iOS project. Then make a new .NET Standard 2.0 lib.</p>
  
  <p>Using the built in NuGet support I add <code>Xamarin.Forms</code>to each Project.</p>
  
  <p>In the Net Standard 2.0 Lib I <code>Add -&gt; New File</code> and Select <code>Forms ContentPage Xaml</code></p>
  
  <p>This creates an empty class and corresponding XAML file. In the classes constructor it contains 1 line:</p>
  
  <p><code>InitializeComponent();</code></p>
  
  <p>When I attempt to compile either the NET Standard 2.0 lib OR the iOS project, the compilation fails with the following error:</p>
  
  <blockquote>
    <p>Error CS0103: The name 'InitializeComponent' does not exist in the current context (CS0103) </p>
  </blockquote>
  
  <p>I have added no other code or dependencies to either project. Clearly I have missed something that is not obvious to me. </p>