C# Visual studio-windows 8.1项目错误-错误APPX1704:winmd文件';winmd';

C# Visual studio-windows 8.1项目错误-错误APPX1704:winmd文件';winmd';,c#,visual-studio,windows-8.1,winmd,C#,Visual Studio,Windows 8.1,Winmd,我对c#编程相当陌生,当我尝试运行我的项目时,我得到了上述错误这是我得到的完整输出: 1>D:\Development\kalsefer\trunk\WindowsClient\Source_win_10\Kalsefer\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(243,5): warning : All projects referencing Kalsefer.Core.csproj m

我对c#编程相当陌生,当我尝试运行我的项目时,我得到了上述错误这是我得到的完整输出:

1>D:\Development\kalsefer\trunk\WindowsClient\Source_win_10\Kalsefer\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets(243,5): warning : All projects referencing Kalsefer.Core.csproj must install nuget package Microsoft.Bcl.Build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317569.
1>  Kalsefer.Windows -> D:\Development\kalsefer\trunk\WindowsClient\Source_win_10\Kalsefer\Kalsefer.Windows\bin\x86\DevRelease\Kalsefer.Windows.exe
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): warning APPX1707: No implementation file was provided for the .winmd file 'D:\Development\kalsefer\trunk\WindowsClient\Source_win_10\Kalsefer\Kalsefer.Core\bin\x86\DevRelease\Windows.winmd'. To generate registration information in the app manifest, specify the 'Implementation' metadata on the .winmd reference item in the project file.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): error APPX1704: The .winmd file 'Windows.winmd' contains type 'Windows.Storage.ISetVersionRequest'. The use of the Windows namespace is reserved.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): error APPX1704: The .winmd file 'Windows.winmd' contains type 'Windows.Storage.StreamedFileDataRequest'. The use of the Windows namespace is reserved.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): error APPX1704: The .winmd file 'Windows.winmd' contains type 'Windows.Storage.IStorageItemProperties2'. The use of the Windows namespace is reserved.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): error APPX1704: The .winmd file 'Windows.winmd' contains type 'Windows.Storage.StorageDeleteOption'. The use of the Windows namespace is reserved.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1930,5): error APPX1704: The .winmd file 'Windows.winmd' contains type 'Windows.Storage.FileAccessMode'. The use of the Windows namespace is reserved.
不要写所有的错误,因为我有4000多行相同的错误,但在不同的文件。
我坚持这个错误两天,我会很高兴得到任何帮助。

我解决了我的问题,问题是我为ui元素添加了“使用”,visual studio会自动添加对“窗口”的引用,这导致了所有4000个错误,我删除了这个引用,所有问题都解决了。

我有两个想法,您是否尝试删除bin和obj文件夹?它们可能非常凌乱,而且它帮助了无数次。第二,它问你一个nuget软件包:Microsoft.Bcl.Build你试过下载吗?嘿,federico,谢谢你的回答,但我已经尝试了这两种解决方案,我仍然有错误