C
C#9mo ago
Sile

✅ Error message MSB4057

I am trying to create a web app with Vs code when I try to build it I get these error code "error msb4057: the target "build" does not exist in the project" I need help on these pls guys
14 Replies
Pobiega
Pobiega9mo ago
How do you build it? How did you create the project?
Sile
Sile9mo ago
I created the project using the cmd line and also build it through the cmd line
Pobiega
Pobiega9mo ago
With dotnet build ? Can you show dotnet --info and your csproj file?
Sile
Sile9mo ago
No description
No description
Sile
Sile9mo ago
No description
Pobiega
Pobiega9mo ago
You missed the dotnet --info
Sile
Sile9mo ago
No description
Pobiega
Pobiega9mo ago
--version is not the same as --info most resources seem to indicate that something is wrong with your MS Build. I wonder if you perhaps have have Visual Studio or VS Built Tools installed
Sile
Sile9mo ago
I normally use Visual Studio for my projects this is my first time using VS code
Sile
Sile9mo ago
No description
Pobiega
Pobiega9mo ago
VS is highly recommended that info dump looks fairly normal I'm a bit worried about the x86 installation, but since the x64 seems to be first in your PATH its not a huge issue
Sile
Sile9mo ago
it was working fine 2 days ago but I should delete the file path for the x86 installation
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Sile
Sile9mo ago
The issue was not resolved I had to reinstall my window os When I reinstalled my window the issue was resolved