Error:MSB3073 - UE5.1 Convert a Blueprint project to C++

A priori this should be easy.
“Someone will be thinking, it worked for me.”
Well, well, well. It does not work for me.

Normally when you create a class everything is fixed.

Not in UE5.1 and if you don’t have the extras installed either.

Step number 1

Error de dotnet
Step number 2.
Install dotnet version 6.

Step number 3
I try to start the application and create a class again.
I get an error (I’ll show it later in next step because it’s the same and this window doesn’t have the error) when I run it it gives me a BUILD problem in my test project.
I create from tools a C++ class. explained here

Step number 4
So I decide to watch this video:

I try to access the level
Finally I can generate the files, I go in and try to compile it.
i get an error
image
image

Then I generate the data.
image
When it is generated I open the project with visual studio.

Compile and Merry Christmas.

image
image
image

Doesn’t work any help?

If I create a new project with C++ I get an error.

I install the version .NET Framework 4.8.1 and still with the same error.

Do you run the .sln project file and compile from within visual studio?

Seems from the screenshots like you are launching it as a normal unreal project.
It’s not enough to generate the visual studio project. You also need to compile and run it to get it to launch from there.

In a “new empty project” of c++, from visual studio I did:

  • Compile solution (entire project)
    It does not work
  • Compile engine/UE5 folder
    It does not work
  • Compile games folder
    It does not work

I don’t know what else to compile. If it’s not enough tell me what I have to do.

As I said in my first post.

The same thing happens to me for the Blueprint project

Visual studio should return an error if the compile was unsuccessful, pointing towards the file => line => syntax of what went wrong.

Make sure you also have the editor turned off and live coding disabled.

Is that VisualStudio 2017? oh no no no no… 2019 or preferably 2022…

It doesn’t look like it’s the default version - maybe Unreal is trying to use 2017…

The is Error: MSB3073 and it is in the title, in the first post and in the second post.

I think now better.

I only have 2022 installed
and I run it manually so that UE5 does its thing and it doesn’t work either

1 Like

Unreal is really sensitive when it comes to special characters in paths. I noticed you added a dot in your project folder path. Maybe try a path with pure characters (no special ones). Rebuild and launch.

(post deleted by author)

Check if you have an pending unreal engine process in the background.

This could also be stalling your compile, for example if you have a live-coding session in the background or just a crashed un-ended engine process still running.

Unreal projects use relative paths internally. You can move the projects around without impact on the builds.

Yes just browse to the project and open it. The launcher will re-index it’s start image once it opens.

Your screenshot is saying you don’t have Unreal Engine installed.
I was talking about moving your project not the engine itself.

Try launching the editor and when you get the panel then press browse and point to your project location. It should show up in the project picker.

Well, we return to the initial problem please? Opening project from unreal 5.1

When I compile

Please, I don’t want to hear any more nonsense about routes that waste my time.

This is for 3dRaven.
Remember that the next time you say something about the routes to someone, think that if a route is not found, an error would be thrown (for example, in this case, SDK cannot compile due to lack of x file) that does not find x file . For the next one keep it in mind. This is so 90% of the time.

You may not know it, but you remind me of Microsoft operator.
Uninstall Office and reinstall it.

Now that I have wasted some time on routes thanks to your information, I hope you can provide a relevant solution to the problem.

The Lack of NetFXSDK seems to point to you not having .NET SDK installed properly.

Do you have the .Net Framework SDK installed? (not to be mistaken for .Net Runtime)

Go to Visual Studio Installer - Modify - Individual components - search “SDK” - select latest version of .NET Framework X.X SDK - Modify

I also installed 4.8 Framework but it doesn’t show up.


I have the package installed, but it doesn’t show up.

if i reinstall it
image

You need to check the specific SDK from you components list (tick the empty checkbox) to install it.
Visual studio already downloads the needed installers

2 Likes

No sorry, I’m not a fan of installing things from the program itself. I would explain it to you, but it would be exactly the same as the routes, so there is no point.

Having version 4.8.1 framework is more than enough.

I installed .NET Framework 4.8.1 [Developer Pack]. Seems like it worked for the SDK.

Thanks anyway.

I will tell an admin to delete comments that are not related to the problem.

1 Like