Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails, when Net 5 is set as a Build Tool #43717

Closed
van800 opened this issue Nov 20, 2020 · 6 comments
Closed

Build fails, when Net 5 is set as a Build Tool #43717

van800 opened this issue Nov 20, 2020 · 6 comments
Assignees
Milestone

Comments

@van800
Copy link
Contributor

van800 commented Nov 20, 2020

After installing .Net 5 build would fail with:

  Microsoft.Common.CurrentVersion.targets(1180, 5): [MSB3644] The reference assemblies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

As a workaround I have added the following to my csproj.

I don't know exactly how this can be fixed in godot source. Must be in here.

@akien-mga
Copy link
Member

See also #43458.

@neikeq
Copy link
Contributor

neikeq commented Nov 24, 2020

Is this an issue with Godot 3.2 or latest master (4.0-dev)?

@van800
Copy link
Contributor Author

van800 commented Nov 24, 2020

It is the issue with release 3.2.3. I tried on Linux Ubuntu.

@TomNCatz
Copy link

Reproduced on Windows 10, godot 3.2.3
As a note, this was not an issue in godot 3.2.2 on the same machine

@neikeq
Copy link
Contributor

neikeq commented Dec 5, 2020

I'm making a PR that will fix this in Godot 3.2.4. For 3.2.3 one can add the following property to their csproj:

<GodotUseNETFrameworkRefAssemblies>true</GodotUseNETFrameworkRefAssemblies>

@akien-mga
Copy link
Member

Fixed by #44135.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants