[{"data":1,"prerenderedAt":477},["ShallowReactive",2],{"article-no-ios-simulator-or-device-appear-on-visual-studio":3},{"article":4,"tags":118,"previous":133,"next":268},{"id":5,"title":6,"author":7,"body":8,"createdAt":107,"description":108,"extension":109,"img":25,"meta":110,"navigation":111,"path":112,"seo":113,"stem":114,"tags":115,"updatedAt":107,"__hash__":117},"articles\u002Farticles\u002Fno-ios-simulator-or-device-appear-on-visual-studio.md","No IOS simulator or device appear on Visual Studio","[object Object]",{"type":9,"value":10,"toc":103},"minimark",[11,28,35,37,50,53,65,82,90,93],[12,13,14],"p",{},[15,16,19],"a",{"style":17,"href":18},"display: none","\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-xamarinios_2.png",[20,21],"img",{"title":22,"style":23,"border":24,"alt":22,"src":25,"width":26,"height":27},"xamarinios","border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px",0,"\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-xamarinios_thumb.png",147,128,[12,29,30,31],{},"Ok, once again – I open a Xamarin Forms app, ensure I have the latest Xamarin Forms version in each of the PCL, Android and IOS projects. The project rebuild works for the PCL and Android projects and fails for the IOS. The error… ",[32,33,34],"em",{},"No valid iOS code signing keys found in keychain.",[32,36],{},[12,38,39,49],{},[32,40,41,42,45],{},"You need to request a codesigning certificate from\n",[15,43],{"href":44},"https:\u002F\u002Fdeveloper.apple.com",[15,46,44],{"href":44,"rel":47},[48],"nofollow"," What’s going on…I first look to ensure my Mac agent is connected yep, perform a clean and rebuild of each project..same error. The solution for me…. Open the dialog “Xamarin Mac Agent” – right click on the connect Mac – choose ‘Disconnect’. After disconnection – select the Mac and ‘Connect’…waiting (aha …it won’t connect, this could be the problem) Nope – didn’t think it would be this easy. I was able to use the ‘show simulator’ option within vs.net and the simulator popped open on the Mac. I opened another project to see if this issue was related to the specific project. Nope. The 2nd project I opened had the same issue, where in the ‘Device’ list the was no option for ‘iphone simulator’.",[12,51,52],{},"I then proceed to open Xamarin Studio on the Mac (currently I am using the Beta channel as this was necessary to work with Visual Studio 2017). There is an update and it started to download. Here is to more hope that this solves the issue.",[12,54,55],{},[15,56,58],{"href":57},"\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-image_2.png",[20,59],{"title":60,"style":61,"border":24,"alt":60,"src":62,"width":63,"height":64},"image","border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px","\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-image_thumb.png",229,160,[12,66,67,68,73,74],{},"This update on the Mac will move it up to ",[15,69,72],{"href":70,"target":71},"https:\u002F\u002Freleases.xamarin.com\u002Frelease-candidate-cycle-9-rc6-refresh\u002F","_blank","Xamarin Studio 6.2.0"," I tried to find the IOS Simulator after this update. Still nothing. I removed all mac agents, restarted vs.net 2017 a couple times, still nothing. I opened up another project and magically this time the ‘iphone simulator’ option was available. Why…no idea..(this product is going to kill me)\n",[15,75,77],{"href":76},"\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-image_4.png",[20,78],{"title":60,"style":61,"border":24,"alt":60,"src":79,"width":80,"height":81},"\u002Farticles\u002Fimages\u002Fimages\u002Fopen-live-writer-i_c801-image_thumb_1.png",479,36,[12,83,84,85,89],{},"So now I am thinking there is a difference between the 2 projects. Why would I have the simulator option in one but not the other? This is really messed up. So I open the project that does not have the ‘iphonesimulator’ option, I can see within Configuration Manager that this option exists ",[86,87,88],"strong",{},"and ","I can connect, build, deploy to Mac simulator.",[12,91,92],{},"Well this scenario is new to me…no idea.",[12,94,95],{},[15,96,98],{"href":97},"\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-image_6.png",[20,99],{"title":60,"style":61,"border":24,"alt":60,"src":100,"width":101,"height":102},"\u002Farticles\u002Fimages\u002Fopen-live-writer-i_c801-image_thumb_2.png",240,171,{"title":104,"searchDepth":105,"depth":105,"links":106},"",2,[],"2017-02-18T08:07:02.3200000-05:00",null,"md",{},true,"\u002Farticles\u002Fno-ios-simulator-or-device-appear-on-visual-studio",{"title":6,"description":108},"articles\u002Fno-ios-simulator-or-device-appear-on-visual-studio",[116],"xamarin","4n4VwoebArTKwJ97QT4guPzoyBnHAnofJjW9sIKPOVM",[119],{"id":120,"title":121,"body":122,"description":126,"extension":109,"img":127,"meta":128,"name":116,"navigation":111,"path":129,"seo":130,"stem":131,"__hash__":132},"tags\u002Ftags\u002Fxamarin.md","Xamarin",{"type":9,"value":123,"toc":124},[],{"title":104,"searchDepth":105,"depth":105,"links":125},[],"Xamarin is an open-source platform for building modern and performant applications for iOS, Android, and Windows with . NET. Xamarin is an abstraction layer that manages communication of shared code with underlying platform code.","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fxamarin",{"description":126},"tags\u002Fxamarin","deVB66I7cJMtWvqybFh5POf9LBCBwHNe-5ZGMOzV5G4",{"id":134,"title":135,"author":108,"body":136,"createdAt":258,"description":259,"extension":109,"img":260,"meta":261,"navigation":111,"path":262,"seo":263,"stem":264,"tags":265,"updatedAt":258,"__hash__":267},"articles\u002Farticles\u002Fkeep-nuget-packages-out-of-tfs-source-control.md","Keep Nuget Packages Out of TFS (Source Control)",{"type":9,"value":137,"toc":256},[138,150,153,156,159,162,208,211,214,217,220,223,233,236,244,252],[12,139,140],{},[15,141,144],{"style":142,"href":143},"display: none;","\u002Farticles\u002Fimages\u002Fopen-live-writer-keep-nuget-packages-out-of-tfs-source-co_8714-tfs3_2.png",[20,145],{"style":146,"title":147,"src":148,"alt":147,"width":101,"height":149,"border":24},"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;","tfs3","\u002Farticles\u002Fimagesopen-live-writer-keep-nuget-packages-out-of-tfs-source-co_8714-tfs3_thumb.png",135,[12,151,152],{},"Historically, we had kept our Nuget packages in Team Foundation Server (version control). Due to the recent consistency and stability of Nuget I am starting to move towards excluding Nuget packages from TFS Source control. They just are not required anymore and Visual Studio can very quickly restore from the internet packages locally on your workstation\u002Fbuild server very quickly now.",[12,154,155],{},"So, how do we setup both Visual Studio and TFS to stop putting packages in TFS? Donovan Brown published a post describing the steps.",[12,157,158],{},"a) At the solution level (at same location where your sln file is located) create a folder named .nuget (do this from within Source Control Explorer)",[12,160,161],{},"b) Create a file named nuget.config and put this within the .nuget folder. This file should have the following content.",[163,164,168],"pre",{"className":165,"code":166,"language":167,"meta":104,"style":104},"language-xml shiki shiki-themes github-light github-dark","\u003C?xml version=\"1.0\" encoding=\"utf-8\"?>\n\u003Cconfiguration> \n    \u003Csolution> \n        \u003Cadd key=\"disableSolutionControlIntegration\" value=\"true\">\u003C\u002Fadd>\n    \u003C\u002Fsolution>\n\u003C\u002Fconfiguration>\n","xml",[169,170,171,179,184,190,196,202],"code",{"__ignoreMap":104},[172,173,176],"span",{"class":174,"line":175},"line",1,[172,177,178],{},"\u003C?xml version=\"1.0\" encoding=\"utf-8\"?>\n",[172,180,181],{"class":174,"line":105},[172,182,183],{},"\u003Cconfiguration> \n",[172,185,187],{"class":174,"line":186},3,[172,188,189],{},"    \u003Csolution> \n",[172,191,193],{"class":174,"line":192},4,[172,194,195],{},"        \u003Cadd key=\"disableSolutionControlIntegration\" value=\"true\">\u003C\u002Fadd>\n",[172,197,199],{"class":174,"line":198},5,[172,200,201],{},"    \u003C\u002Fsolution>\n",[172,203,205],{"class":174,"line":204},6,[172,206,207],{},"\u003C\u002Fconfiguration>\n",[12,209,210],{},"c) Create a file .tfignore and put at the solution level also. Within this text file put a single word packages",[12,212,213],{},"So at this point, you have a directory .nuget with the nuget.config file within it, and also a text file .tfignore at the solution level. Remove any packages that have been put in source control previously and check in.",[12,215,216],{},"At this point, close Visual Studio and restart.",[12,218,219],{},"Build the solution locally and all should be good, do a check in and if everything is good the packages folder is not checked in. Tada Essentially, we are putting things in place to tell Visual Studio not to check in packages AND we are telling TFS not to check in the packages folder.\nBoth the config file and the .tfignore files are needed.",[12,221,222],{},"My solution folder looks like",[12,224,225],{},[15,226,228],{"href":227},"\u002Farticles\u002Fimages\u002Fopen-live-writer-keep-nuget-packages-out-of-tfs-source-co_8714-image_2.png",[20,229],{"style":146,"title":60,"src":230,"alt":60,"width":231,"height":232,"border":24},"\u002Farticles\u002Fimages\u002Fopen-live-writer-keep-nuget-packages-out-of-tfs-source-co_8714-image_thumb.png",436,104,[12,234,235],{},"Reference:",[12,237,238,241],{},[15,239],{"title":240,"href":240},"http:\u002F\u002Fdonovanbrown.com\u002Fpost\u002FHow-to-keep-packages-folder-out-of-TFVC",[15,242,240],{"href":240,"rel":243},[48],[12,245,246,249],{},[15,247],{"title":248,"href":248},"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=BfKcTX8NxAQ",[15,250,248],{"href":248,"rel":251},[48],[253,254,255],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":104,"searchDepth":105,"depth":105,"links":257},[],"2017-02-24T07:48:53.130Z","Historically, we had kept our Nuget packages in Team Foundation Server (version control).  Due to the recent consistency and stability of Nuget I am starting to move towards excluding Nuget packages from TFS Source control.  They just are not required anymore and Visual Studio can very quickly restore from the internet packages locally on your workstation\u002Fbuild server very quickly now.","\u002Farticles\u002Fimages\u002Fopen-live-writer-keep-nuget-packages-out-of-tfs-source-co_8714-tfs3_thumb.png",{},"\u002Farticles\u002Fkeep-nuget-packages-out-of-tfs-source-control",{"title":135,"description":259},"articles\u002Fkeep-nuget-packages-out-of-tfs-source-control",[266],"teamfoundationserver","7RYOC6n0dlrpGmS5Zj2PwVk1brKlHnvXsy7VkN0m97w",{"id":269,"title":270,"author":7,"body":271,"createdAt":469,"description":470,"extension":109,"img":283,"meta":471,"navigation":111,"path":472,"seo":473,"stem":474,"tags":475,"updatedAt":469,"__hash__":476},"articles\u002Farticles\u002Fthe-type-object-is-defined-in-an-assembly-that-is-not-referenced-you-must-add-a-reference-to-assembly-mscorlib-version-2-0-5-0.md","The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0",{"type":9,"value":272,"toc":467},[273,276,286,413,416,419,464],[12,274,275],{},"Another day, another issue while building a Xamarin project. In this case, I was building a project from Xamarin and working through some logic. When building the Android project I was presented with the following build errors. I am getting use to different errors at the most unexpected times. This issue was not unlike others that I have come up against with my cross-device mobile development efforts. The good news, after much hunting and packing I found the solution. See below.",[12,277,278],{},[15,279,281],{"href":280},"\u002Farticles\u002Fimages\u002Fopen-live-writer-6b25ff33673e_d99f-image_5.png",[20,282],{"title":60,"style":61,"border":24,"alt":60,"src":283,"width":284,"height":285},"\u002Farticles\u002Fimages\u002Fopen-live-writer-6b25ff33673e_d99f-image_thumb_1.png",657,458,[163,287,291],{"className":288,"code":289,"language":290,"meta":104,"style":104},"language-html shiki shiki-themes github-light github-dark","Severity Code Description Project File Line Suppression State\nError CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral,\n\nPublicKeyToken=7cec85d7bea7798e'. GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0234 The type or namespace name 'TargetFrameworkAttributeAttribute' does not exist in the namespace 'System.Runtime.Versioning' (are you missing an assembly reference?) GreatQuotes.Android\n\nC:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0234 The type or namespace name 'TargetFrameworkAttribute' does not exist in the namespace 'System.Runtime.Versioning' (are you missing an assembly reference?) \nGreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0246 The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?) GreatQuotes.Android\n\nC:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.Object' \nis not defined or imported \nGreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\nError CS0518 Predefined type 'System.Void' is not defined or imported GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0012 The type 'Object' is defined in an assembly that is not referenced. \n\nYou must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\n\nError CS0246 The type or namespace name 'Icon' could not be found (are you missing a using directive or an assembly reference?) GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0518 Predefined type 'System.Object' is not defined or imported GreatQuotes.Android \n\nC:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\nError CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 \n\nResources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.\nGreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active  \n","html",[169,292,293,299,304,309,314,318,323,329,334,340,346,352,358,363,369,374,380,385,391,397,402,408],{"__ignoreMap":104},[172,294,295],{"class":174,"line":175},[172,296,298],{"class":297},"sVt8B","Severity Code Description Project File Line Suppression State\n",[172,300,301],{"class":174,"line":105},[172,302,303],{"class":297},"Error CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral,\n",[172,305,306],{"class":174,"line":186},[172,307,308],{"emptyLinePlaceholder":111},"\n",[172,310,311],{"class":174,"line":192},[172,312,313],{"class":297},"PublicKeyToken=7cec85d7bea7798e'. GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0234 The type or namespace name 'TargetFrameworkAttributeAttribute' does not exist in the namespace 'System.Runtime.Versioning' (are you missing an assembly reference?) GreatQuotes.Android\n",[172,315,316],{"class":174,"line":198},[172,317,308],{"emptyLinePlaceholder":111},[172,319,320],{"class":174,"line":204},[172,321,322],{"class":297},"C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0234 The type or namespace name 'TargetFrameworkAttribute' does not exist in the namespace 'System.Runtime.Versioning' (are you missing an assembly reference?) \n",[172,324,326],{"class":174,"line":325},7,[172,327,328],{"class":297},"GreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0246 The type or namespace name 'FrameworkDisplayName' could not be found (are you missing a using directive or an assembly reference?) GreatQuotes.Android\n",[172,330,332],{"class":174,"line":331},8,[172,333,308],{"emptyLinePlaceholder":111},[172,335,337],{"class":174,"line":336},9,[172,338,339],{"class":297},"C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Users\\dyardy\\AppData\\Local\\Temp\\MonoAndroid,Version=v7.1.AssemblyAttributes.cs 4 ActiveError CS0518 Predefined type 'System.Object' \n",[172,341,343],{"class":174,"line":342},10,[172,344,345],{"class":297},"is not defined or imported \n",[172,347,349],{"class":174,"line":348},11,[172,350,351],{"class":297},"GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\n",[172,353,355],{"class":174,"line":354},12,[172,356,357],{"class":297},"Error CS0518 Predefined type 'System.Void' is not defined or imported GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0012 The type 'Object' is defined in an assembly that is not referenced. \n",[172,359,361],{"class":174,"line":360},13,[172,362,308],{"emptyLinePlaceholder":111},[172,364,366],{"class":174,"line":365},14,[172,367,368],{"class":297},"You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\n",[172,370,372],{"class":174,"line":371},15,[172,373,308],{"emptyLinePlaceholder":111},[172,375,377],{"class":174,"line":376},16,[172,378,379],{"class":297},"Error CS0246 The type or namespace name 'Icon' could not be found (are you missing a using directive or an assembly reference?) GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0518 Predefined type 'System.Object' is not defined or imported GreatQuotes.Android \n",[172,381,383],{"class":174,"line":382},17,[172,384,308],{"emptyLinePlaceholder":111},[172,386,388],{"class":174,"line":387},18,[172,389,390],{"class":297},"C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 Resources\\Start\\GreatQuotes.Android\\App.cs 9 Active\n",[172,392,394],{"class":174,"line":393},19,[172,395,396],{"class":297},"Error CS0518 Predefined type 'System.String' is not defined or imported GreatQuotes.Android C:\\Xamarin\\10a_xam300\\Lab Materials\\Part 01 \n",[172,398,400],{"class":174,"line":399},20,[172,401,308],{"emptyLinePlaceholder":111},[172,403,405],{"class":174,"line":404},21,[172,406,407],{"class":297},"Resources\\Start\\GreatQuotes.Android\\App.cs 9 ActiveError CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.\n",[172,409,411],{"class":174,"line":410},22,[172,412,351],{"class":297},[12,414,415],{},"The solution (to make a very long story short) was to unload the project from Visual Studio. Open the csproj and add the following reference (in bold). I initially was comparing some of my working Android projects with this one that just would not build.",[12,417,418],{},"I noticed the reference to mscorlib. I tried to add a reference to this dll directly through ‘Add Reference’ but I got the following error \"mscorlib.dll\" component is already automatically referenced. The build system should add this reference for you.  Since I could not add through the VS.NET interface, i chose to add via csproj file. After reloading the project and rebuilding the reference to mscorlib was visible in the list of references and finally my project built fine.",[163,420,422],{"className":165,"code":421,"language":167,"meta":104,"style":104},"\u003CItemGroup> \n    \u003CReference Include=\"Mono.Android\" \u002F>\n    \u003CReference Include=\"mscorlib\" \u002F>\n    \u003CReference Include=\"System\" \u002F> \n    \u003CReference Include=\"System.Xml\" \u002F> \n    \u003CReference Include=\"System.Core\" \u002F> \n    \u003CReference Include=\"System.Xml.Linq\" \u002F>\n\u003C\u002FItemGroup>\n",[169,423,424,429,434,439,444,449,454,459],{"__ignoreMap":104},[172,425,426],{"class":174,"line":175},[172,427,428],{},"\u003CItemGroup> \n",[172,430,431],{"class":174,"line":105},[172,432,433],{},"    \u003CReference Include=\"Mono.Android\" \u002F>\n",[172,435,436],{"class":174,"line":186},[172,437,438],{},"    \u003CReference Include=\"mscorlib\" \u002F>\n",[172,440,441],{"class":174,"line":192},[172,442,443],{},"    \u003CReference Include=\"System\" \u002F> \n",[172,445,446],{"class":174,"line":198},[172,447,448],{},"    \u003CReference Include=\"System.Xml\" \u002F> \n",[172,450,451],{"class":174,"line":204},[172,452,453],{},"    \u003CReference Include=\"System.Core\" \u002F> \n",[172,455,456],{"class":174,"line":325},[172,457,458],{},"    \u003CReference Include=\"System.Xml.Linq\" \u002F>\n",[172,460,461],{"class":174,"line":331},[172,462,463],{},"\u003C\u002FItemGroup>\n",[253,465,466],{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":104,"searchDepth":105,"depth":105,"links":468},[],"2017-02-12T08:38:11.7100000-05:00","This issue was not unlike others that I have come up against with my cross-device mobile development efforts.",{},"\u002Farticles\u002Fthe-type-object-is-defined-in-an-assembly-that-is-not-referenced-you-must-add-a-reference-to-assembly-mscorlib-version-2-0-5-0",{"title":270,"description":470},"articles\u002Fthe-type-object-is-defined-in-an-assembly-that-is-not-referenced-you-must-add-a-reference-to-assembly-mscorlib-version-2-0-5-0",[116],"RHG4SC8nF4gbrv4fVY5o1UgRK9wxXwly9sZS5lhbuJA",1781574770312]