GraphicsProgramming / GraphicsProgramming/learnd3d11

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

Đang mở
#121 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
199
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.