title: Visual Studio 2015 - Xamarin - Android - Getting "resource.id does not contain a definition for xxx" when I try to do anything in the .cs file
body: <blockquote>
    <p><strong><em>Adding Additional Activity .cs and Layout axml Using Visual Studio 2015.</em></strong></p>
  </blockquote>
  
  <p>I'm very new to Xamarin and Android development, but have been a developer for a few years using VB and now C#.  I have a simple app on Android 4.2 that is getting more complicated as I go along.  The simple matter us that I want to add an additional GpsAction.cs and corresponding Gps.axml layout to the project.  It seems impossible to find the right combination syntax to achive this.  I have a mainActivity with main.axml.  In VS 2015 it's very simple to add new but I keep getting "resource.id does not contain a definition for" I would really appreciate your help with this</p>
  
  <pre><code>namespace AddCam
  {
  [Activity(Label = "GpsActivity")]
  public class GpsActivity : Activity
  {
      protected override void OnCreate(Bundle savedInstanceState)
      {
          base.OnCreate(savedInstanceState);
          SetContentView(Resource.Layout.GpsLayout);
  
          string c = FindViewById&lt;TextView&gt;(**Resource.Id.textView1**).Text;
          // Create your application here
      }
  }
  </code></pre>