错误:无效限定符:缩放

时间:2016-12-19 20:35:06

标签: xamarin visual-studio-2015 xamarin.forms xamarin.winphone

我刚刚开始使用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 ==========

0 个答案:

没有答案