获得神秘的生成错误的解决方案升级到Windows 8.1之后 [英] Getting mysterious build error after upgrading solution to Windows 8.1

查看:483
本文介绍了获得神秘的生成错误的解决方案升级到Windows 8.1之后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Windows应用商店的应用程序在我的项目8.0并升级它是8.1。而且还升级了的Visual Studio 2012至2013年。

I have used windows store apps 8.0 in my project and upgraded it to be 8.1. And also upgraded Visual Studio from 2012 to 2013.

首先,我不能使用Microsoft.VCLibs版本11.0和12.0的错误。所以我删除了11.0版本

First, I got an error that cannot use the Microsoft.VCLibs Version 11.0 and 12.0. So I removed the 11.0 version.

然后,我得到这个错误:

And then I got this errors:

我试图找到在互联网上的一些信息,但没有。
还当我双击该错误不带我去了错误的地方。

I tried to find some information on the internet, but nothing. Also when I double clicked on the error it doesn't bring me to the error's spot.

我曾尝试做很多事情,并没有什么帮助,所以我决定写这篇文章。

I have tried to do many things, and nothing helped, so I decided to write this post.

有人可以帮助我解决这个错误?

Can someone help me resolve this errors?

修改

我增加一些更多的信息,也许这会导致问题:

I am adding some more information, maybe this can lead to the problem:

解决:

随着汉斯的帮助顺便错误有固定的。问题是,我有这个重复我的资源文件:

With the help of Hans Passant the errors have fixed. The problem was that I had this duplicate on my resource file:

我做了两次,因为一个是按钮(有内容),另一个是在代码隐藏消息对话框。

I did it twice because one is for buttons (that has content), and one is for message dialogs on code behind.

在Visual Studio 2012中的代码工作正常,但不知何故,没有在Visual Studio 2013

In Visual Studio 2012 this code was working fine, but somehow, not in Visual Studio 2013.

我删除了Cancel.Content和错误行消失,它工作得很好:)

I deleted the row of Cancel.Content and the errors disappeared and it works fine :)

推荐答案

这是别人同样的问题。

我就复制卡普兰的指导。期待通过在项目中.resw文件(S)和查找重复的取消的资源。我要指出,有意迫使重复的资源产生的另一条消息,当我建立在VS2013程序:

I'll just copy Caplan's guidance. Look through the .resw file(s) in your project and look for a duplicated "Cancel" resource. I should note that intentionally forcing a duplicate resource produced another message when I built the program on VS2013:

1> MakePri:错误0x80073b0f:处理。重复条目

1> MakePRI:错误0xdef00532:冲突的资源价值资源/字符串1

1>MakePri : error 0x80073b0f: Processing Resources with error: Duplicate Entry.
1>MakePRI : error 0xdef00532: Conflicting values for resource 'Resources/String1'

从任一复制在相同.resw文件的资源并通过使.resw文件的副本,并将其添加到项目相同的消息。所以,卡普兰对此的解释是不完全是一个扣篮。我会注意在解决方案中的其他项目还可能有一个名为取消的资源。一个可能的方案时,您的解决方案有VCLibs的依赖,这听起来像你混合C#和C ++ / CX。

Same message from either duplicating the resource in the same .resw file and by making a copy of the .resw file and adding it to the project. So Caplan's explanation isn't exactly a slam-dunk. I'd pay attention to other projects in your solution that might also have a resource named "Cancel". A likely scenario when your solution has a dependency on VCLibs, that sounds like you are mixing C# and C++/CX.

这篇关于获得神秘的生成错误的解决方案升级到Windows 8.1之后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆