title: Input string was not in correct format error in Xamarin.forms
body: <p>I have a text editor app that has multiple pages in <code>Xamarin.forms</code> but when trying to build or run it I get this error:</p>
  
  <pre><code>Input string was not in a correct format.
     at System.Number.StringToNumber(String       str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)
     at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
     at Xamarin.Android.Tasks.ManifestDocument.CalculateVersionCode(String currentAbi, String versionCodePattern, String versionCodeProperties)
     at Xamarin.Android.Tasks.Aapt.GenerateCommandLineCommands(String ManifestFile, String currentAbi, String currentResourceOutputFile)
     at Xamarin.Android.Tasks.Aapt.ProcessManifest(ITaskItem manifestFile)
     at System.Threading.Tasks.Parallel.&lt;&gt;c__DisplayClass30_0`2.&lt;ForEachWorker&gt;b__0(Int32 i)
     at System.Threading.Tasks.Parallel.&lt;&gt;c__DisplayClass17_0`1.&lt;ForWorker&gt;b__1()
     at System.Threading.Tasks.Task.InnerInvoke()
     at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
     at System.Threading.Tasks.Task.&lt;&gt;c__DisplayClass176_0.&lt;ExecuteSelfReplicating&gt;b__0(Object )
  </code></pre>
  
  <p> </p>
  
  <p>It does not give me the location of the error,it just tells me that it is in the solution and I'm not entirely sure how i could fix the error, or even find where it is.</p>
  
  <p>I made the app in <code>Xamarin.forms</code> and is a text editor with an interface allowing you to save and delete your pieces of code.</p>
  
  <p>And help with finding the error or even better solving it would be really appreciated. Sorry for the lack of included code as there is a lot, and I don't actually know the location of the error so I wouldn't know what to show. Thanks!</p>