[UWP] [DX]无法建立DirectX UWP [英] [UWP][DX]Faild building DirectX UWP

查看:63
本文介绍了[UWP] [DX]无法建立DirectX UWP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 10上使用Visual Studio 2015 Update2.我尝试从VS创建DirectX 12 App(通用Windows)项目,但是在构建时出现错误:

I'm using Visual Studio 2015 Update 2 on Windows 10. I try to create DirectX 12 App (Universal Windows) project from VS but when I build it I got error:

1> MakePri:错误0x80004005:处理资源失败,并显示错误:未指定的错误
1> MakePRI:错误0xdef00523:命名资源'Files \ .. \ .. \ SamplePixelShader.cso'在项目根目录之外!在项目根目录之外仅允许资源容器

1>MakePri : error 0x80004005: Processing Resources failed with error: Unspecified error
1>MakePRI : error 0xdef00523: Named resource 'Files\..\..\SamplePixelShader.cso' is outside project root! Only resource containers are allowed outside the project root

从消息中可以看出,makepri以某种方式通往SamplePixelShader.cso.该文件本身位于项目根文件夹中.

From the message it looks like somehow makepri got a wroing path to SamplePixelShader.cso. The file itself is in project root folder.

有帮助吗?

推荐答案

你好Kamilzub,

Hello Kamilzub,

这是一个简单的DX12项目还是您在其中添加了一些内容?我正在尝试使这个问题更具体.我们需要知道这是编程问题还是环境问题.

Is it a simple DX12 project or you've add some contents to it? I'm trying to make this issue more specific. We need to know whether this is a programming problem or it is a environment problem.

最诚挚的问候,

Barry


这篇关于[UWP] [DX]无法建立DirectX UWP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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