I get the following Error “MSB3073” when i build my project in Visual Studio 2022. I searched it but i couldn’t figure out what i have to do.
Thank you for helping in advance!
I get the following Error “MSB3073” when i build my project in Visual Studio 2022. I searched it but i couldn’t figure out what i have to do.
Thank you for helping in advance!
Are you able to launch your project by opening the .uproject file?
Yes. I tried to build it and got the error i showed
Yes as in… yes, you can launch your project by opening the .uproject file? If that’s the case, what happens when you try to open a script from the content browser?
I can open the project by opening the .uproject file but when i go to build the code i get the build error
Okay, can you do the following:
First and most importantly, back up your project if you haven’t already. After that, go to your project directory and delete the .sln file, .vs folder and the Source folder. Open the .uproject file and create a new C++ class, then close the engine. Head back to your directory, there you will see all the files you’ve deleted have been regenerated except for the scripts. To fix that, you can simply open the Source folder and replace the Public and Private folders with the original ones.
(Coincidentally I suggested someone else to do the same thing in a recent post too but hey, this worked for me when I got that exact same error message of yours so worth a shot in my opinion)
Thank you very much, it worked !