GraphicsProgramming / GraphicsProgramming/learnd3d11

When manually creating the project and adding shader files FXC acts up

未关闭
#121 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
199
派生
29
PR 合并指标
30 天内没有已合并 PR

描述

Looks like when you add hlsl files manually to a project via Add New File it creates `` elements in the project file, which can cause a problem, as in vs tries to compile the files itself using `fxc.exe`.

```
1>an error occurred while setting the initial search directory.
1>searches will be relative to the application's starting directory.
1>compilation failed; no code produced
```

We should adjust the wording in the early chapters somewhere, that this can happen and a workaround is to manually remove `` elements from the project file.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。