Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deccer opened this issue May 14, 2022 · 0 comments
Open

Comments

@deccer
Copy link
Contributor

deccer commented May 14, 2022

Looks like when you add hlsl files manually to a project via Add New File it creates <FxCompile> 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 <FxCompile> elements from the project file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant