我刚刚开始使用 Xamarin。我正在使用 Visual Studio 2015 和 Xamarin Forms (Portable) 模板来创建项目。创建项目并进行构建后,我在 WinPhone 项目的 MakePRI 文件中收到以下错误。我错过了什么?
无效的限定符:比例初始化索引
构建输出
Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
1>------ Rebuild All started: Project: App1, Configuration: Debug Any CPU ------
1> App1 -> C:\Projects\Random\App1\App1\App1\bin\Debug\App1.dll
2>------ Rebuild All started: Project: App1.Droid, Configuration: Debug Any CPU ------
3>------ Skipped Rebuild All: Project: App1.iOS, Configuration: Debug iPhone ------
3>Project not selected to build for this solution configuration
4>------ Rebuild All started: Project: App1.WinPhone, Configuration: Debug Any CPU ------
5>------ Skipped Rebuild All: Project: App1.UWP, Configuration: Debug x86 ------
5>Project not selected to build for this solution configuration
6>------ Rebuild All started: Project: App1.Windows, Configuration: Debug Any CPU ------
2> Processing: obj\Debug\res\layout\tabbar.xml
2> Processing: obj\Debug\res\layout\toolbar.xml
2> Processing: obj\Debug\res\values\styles.xml
2> Processing: C:\Projects\Random\App1\App1\App1.Droid\obj\Debug\__library_projects__\Xamarin.Forms.Platform\l
2> ibrary_project_imports\res\values\strings.xml
2> App1.Droid -> C:\Projects\Random\App1\App1\App1.Droid\bin\Debug\App1.Droid.dll
2> Processing: obj\Debug\res\layout\tabbar.xml
2> Processing: obj\Debug\res\layout\toolbar.xml
2> Processing: obj\Debug\res\values\styles.xml
2> Processing: obj\Debug\res\layout\tabbar.xml
2> Processing: obj\Debug\res\layout\toolbar.xml
2> Processing: obj\Debug\res\values\styles.xml
2> Processing: C:\Projects\Random\App1\App1\App1.Droid\obj\Debug\__library_projects__\Xamarin.Forms.Platform\l
2> ibrary_project_imports\res\values\strings.xml
4> App1.WinPhone -> C:\Projects\Random\App1\App1\App1.WinPhone\bin\Debug\App1.WinPhone.exe
4>MakePri : error 0x80073b0a: Initializing Indexer
4>MakePRI : error 0xdef00042: Invalid qualifier: Scale
6> App1.Windows -> C:\Projects\Random\App1\App1\App1.Windows\bin\Debug\App1.Windows.exe
========== Rebuild All: 3 succeeded, 1 failed, 2 skipped ==========