C
C#14mo 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
Pobiega14mo ago
How do you build it? How did you create the project?
Sile
SileOP14mo ago
I created the project using the cmd line and also build it through the cmd line
Pobiega
Pobiega14mo ago
With dotnet build ? Can you show dotnet --info and your csproj file?
Sile
SileOP14mo ago
No description
No description
Sile
SileOP14mo ago
No description
Pobiega
Pobiega14mo ago
You missed the dotnet --info
Sile
SileOP14mo ago
No description
Pobiega
Pobiega14mo 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
SileOP14mo ago
I normally use Visual Studio for my projects this is my first time using VS code
Sile
SileOP14mo ago
No description
Pobiega
Pobiega14mo 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
SileOP14mo ago
it was working fine 2 days ago but I should delete the file path for the x86 installation
Accord
Accord14mo 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
SileOP14mo ago
The issue was not resolved I had to reinstall my window os When I reinstalled my window the issue was resolved
Want results from more Discord servers?
Add your server