Skip to content

Build error: Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified. #196

Description

@sericaer

code:

[SceneTree]
public partial class NewSession : Node
{
}

project:

<Project Sdk="Godot.NET.Sdk/4.7.0">
  <PropertyGroup>
    <TargetFramework>net9.0</TargetFramework>
    <TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net9.0</TargetFramework>
	<EnablePreviewFeatures>true</EnablePreviewFeatures>  
    <EnableDynamicLoading>true</EnableDynamicLoading>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="GodotSharp.SourceGenerators" Version="2.7.0" />
  </ItemGroup>
</Project>

GodotSharp.SourceGenerators version: 2.7.0

godot env:
Godot v4.7.stable.mono - Windows 10 (build 19045)

This issue is not occur with GodotSharp.SourceGenerators version: 2.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions