.net 类型';通告性紧张。*';存在于'\NotificationsExtensions.winmd';和'\NotificationsExtensions.winmd';

.net 类型';通告性紧张。*';存在于'\NotificationsExtensions.winmd';和'\NotificationsExtensions.winmd';,.net,windows-runtime,visual-studio-2012,.net,Windows Runtime,Visual Studio 2012,我刚刚开始了解Windows RT编程。我想尝试通知,因此我下载了,将NotificationExtensions项目提取到我的解决方案中,并尝试编译,但由于以下编译错误,无法编译: The type 'NotificationsExtensions.*' exists in both '...\NotificationsExtensions.winmd' and '...\NotificationsExtensions.winmd' 这两个.winmd文件路径完全相同,这让我感到困惑 我甚至

我刚刚开始了解Windows RT编程。我想尝试通知,因此我下载了,将NotificationExtensions项目提取到我的解决方案中,并尝试编译,但由于以下编译错误,无法编译:

The type 'NotificationsExtensions.*' exists in both
'...\NotificationsExtensions.winmd' and '...\NotificationsExtensions.winmd'
这两个.winmd文件路径完全相同,这让我感到困惑

我甚至尝试按原样编译示例解决方案,但对于NotificationExtensions库中的每个类型引用,我都会得到相同的错误

我正在使用Visual Studio 2012 Ultimate RTM在VirtualBox中运行Windows 8版本预览(仅限评估)。这个问题是否与预览包含的.NET 4.5版本与VS 2012 RTM所需的版本不同有关?(我必须在注册表中更改.NET安装的版本号以允许VS安装。)我是否因此必须升级到Windows 8 RTM

提前谢谢


gLes

不支持版本的混合和匹配:如果您使用的是Visual Studio 2012 RTM,则还必须使用Windows 8 RTM。@JamesMcNellis您应该将注释移动到答案。不过,VS2012的候选版本可以与Windows8RP一起使用,但我昨晚在网上找不到它。随着Windows8GA即将面世,他们可能已经拉了它。无论如何,样本代码都更新为GA。RP在2013年1月中旬之前一直有效。我想我要升级到RTM(也有90天的试用期)。