Stride: Code-only project with latest stride, missing freetype.dll

Created on 9 Sep 2020  路  3Comments  路  Source: stride3d/stride



Question

I am trying repeat code-only project from Xenko-times. and project crashes at game.Run with error
Could not load native library freetype.dll from path [\bin\Debug\netcoreapp3.1\x64\freetype.dll] using CPU architecture x64.

And there is no such file at all.

Packages used.
xml <PackageReference Include="Stride" Version="4.0.0.1-beta04-1265" /> <PackageReference Include="Stride.Engine" Version="4.0.0.1-beta04-1265" /> <PackageReference Include="Stride.UI" Version="4.0.0.1-beta04-1265" /> <PackageReference Include="Stride.Video" Version="4.0.0.1-beta04-1265" />
Do i miss something?

question

Most helpful comment

Make sure you add the runtimeidentifier to the project(or build it using it). The default compile doesn't add platform specific files. This is only needed for .net core projects.

e.g. add <RuntimeIdentifier>win-x64</RuntimeIdentifier> to your project file.

All 3 comments

Make sure you add the runtimeidentifier to the project(or build it using it). The default compile doesn't add platform specific files. This is only needed for .net core projects.

e.g. add <RuntimeIdentifier>win-x64</RuntimeIdentifier> to your project file.

ty. really missed that part.

Can this be reopened? It isn't fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Basewq picture Basewq  路  3Comments

Domvel picture Domvel  路  4Comments

xen2 picture xen2  路  4Comments

Eideren picture Eideren  路  3Comments

tebjan picture tebjan  路  6Comments