It looks like it unfolds the template. Making no additional changes to the project after the template has generated I try to build the project and It cannot find the Namespace
Error CS0246: The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (MyProject)
Anything that uses Xamarin.Forms throws this error.
Looking at the references for the
iOS project the following Forms related libs are present:
Additionally the other references are:
I want to again stress I have made 0 alterations, just asked it to make me a new forms project and attempted to build it after the packages finished downloading.
Looking at the contents of the
.csproj the following references are indeed there:
<ItemGroup> <Reference Include="Xamarin.Forms.Core"> <HintPath>packages\Xamarin.Forms.184.108.40.206\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Core.dll</HintPath> </Reference> <Reference Include="Xamarin.Forms.Platform"> <HintPath>packages\Xamarin.Forms.220.127.116.11\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Platform.dll</HintPath> </Reference> <Reference Include="Xamarin.Forms.Xaml"> <HintPath>packages\Xamarin.Forms.18.104.22.168\lib\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.Xaml.dll</HintPath> </Reference> </ItemGroup>
<Import Project="packages\Xamarin.Forms.22.214.171.124\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets" Condition="Exists('packages\Xamarin.Forms.126.96.36.199\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+Xamarin.iOS10+xamarinmac20\Xamarin.Forms.targets')" />
If I manually set it up:
Everything builds and runs fine. So it's just the project template it would seem.