✅ 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
How do you build it? How did you create the project?
I created the project using the cmd line and also build it through the cmd line
With
dotnet build
?
Can you show dotnet --info
and your csproj file?![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1158158428036927498/Screenshot_1.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1158158428401827871/Screenshot_2023-10-01_224630.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1158160715312533574/Screenshot_2023-10-01_225622.png)
You missed the
dotnet --info
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1158312369424965683/Screenshot_2023-10-02_085909.png)
--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 installedI normally use Visual Studio for my projects this is my first time using VS code
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1158323484028579912/Screenshot_2023-10-02_093841.png)
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
it was working fine 2 days ago but
I should delete the file path for the x86 installation
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.The issue was not resolved I had to reinstall my window os
When I reinstalled my window the issue was resolved