Godot: the reference assemblies for .net framework version=v4.7 were not found

Created on 20 Jul 2020  路  3Comments  路  Source: godotengine/godot

Godot version:
3.2.2 mono

OS/device including version:

Windows 10

Issue description:

Error when building a project:
the reference assemblies for .net framework version=v4.7 were not found

Steps to reproduce:
Windows 10 builds >= 1903 are delivered with .NET Framework 4.8.0, but Godot generates a .csproj-File with <TargetFrameworkVersion>v4.7</TargetFrameworkVersion> .

Can we change the Target Framework to 4.8 or at least tell the people that .Net 4.7.* is required? I know about 5 people who had that problem and asked for help on the Godot Discord Server.

bug windows mono

Most helpful comment

I swear there was another issue about this from a few days ago, but I can't find it now.
I just realized yesterday that the Godot editor is actually not calling restore when building. Both on master and 3.2. I added the logic but forgot to add the actual argument to the MSBuild command. I'll be fixing this tonight.

All 3 comments

Godot 3.2.2 is supposed to download .NET Framework 4.7 automatically when it's missing. Seems like it's not working for everyone. @neikeq

I swear there was another issue about this from a few days ago, but I can't find it now.
I just realized yesterday that the Godot editor is actually not calling restore when building. Both on master and 3.2. I added the logic but forgot to add the actual argument to the MSBuild command. I'll be fixing this tonight.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ndee85 picture ndee85  路  3Comments

blurymind picture blurymind  路  3Comments

nunodonato picture nunodonato  路  3Comments

mefihl picture mefihl  路  3Comments

EdwardAngeles picture EdwardAngeles  路  3Comments