title: The name 'Resource' does not exist in the current context
body: <p>In Xamarin, I have pasted the following code from a working activity into a blank new activity:</p>
  
  <pre><code>[Activity (Label = "SimpleOnePageViewPager", MainLauncher = true)]
  public class MainActivity : FragmentActivity
  {
      protected override void OnCreate (Bundle bundle)
      {
          base.OnCreate (bundle);
  
          SetContentView (Resource.Layout.Main);
  
          FragmentItem fragItem = new FragmentItem ();
  
          List&lt;Android.Support.V4.App.Fragment&gt; fragments = new List&lt;Android.Support.V4.App.Fragment&gt;();
          fragments.Add(fragItem);
  
          ViewPagerAdapter pageAdapter = new ViewPagerAdapter(SupportFragmentManager, fragments);
          var pager = FindViewById&lt;ViewPager&gt;(Resource.Id.MainViewPager);
          pager.Adapter = pageAdapter;
      }
  }
  </code></pre>
  
  <p>This is the error that I am getting?</p>
  
  <pre><code>Error CS0103: The name 'Resource' does not exist in the current context
  </code></pre>
  
  <p>Can I please have some help with this code?</p>
  
  <p>Thanks in advance</p>