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

MSB3191: Unable to create director #23

Open
khazarhaji opened this issue Jul 14, 2023 · 1 comment
Open

MSB3191: Unable to create director #23

khazarhaji opened this issue Jul 14, 2023 · 1 comment

Comments

@khazarhaji
Copy link

The command I have used to build was:
msbuild injldr.vcxproj /p:Configuration=Release /p:Platform=x64

Error

Build FAILED.

"C:\Users\Username\injdrv\src\injldr\injldr.vcxproj" (default target) (1) ->
(MakeDirsForCl target) ->
  C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(1016,5): error MSB3191: Unable to create director
y "C:\Users\Username\injdrv\src\injldr\bin\obj\x64\Release\injldr\C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\modules". The g
iven path's format is not supported. [C:\Users\Username\injdrv\src\injldr\injldr.vcxproj]

What did I do as a solution
I have changed
<ObjectFileName>$(IntDir)%(RelativeDir)%(Filename)%(Extension).obj</ObjectFileName>
in line 70 to
<ObjectFileName>$(IntDir)%(Directory)%(Filename)%(Extension).obj</ObjectFileName>

@khazarhaji khazarhaji closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2023
@khazarhaji khazarhaji reopened this Jul 14, 2023
@Fplyth0ner-Combie
Copy link

It doesn't matter

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