You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In dotnet Interactive/Polyglot Notebooks, constructing a ModelText yields the following error:
Error: System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/daniel/.nuget/packages/hypar.elements/2.2.0-alpha.25/lib/netstandard2.0/Fonts/Roboto-Medium.ttf'.
Looks like this is because (at least on macOS), dotnet/nuget places reference content into two places under the package version (ie in '~/.nuget/packages/..'):
In dotnet Interactive/Polyglot Notebooks, constructing a
ModelText
yields the following error:Error: System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/daniel/.nuget/packages/hypar.elements/2.2.0-alpha.25/lib/netstandard2.0/Fonts/Roboto-Medium.ttf'.
Looks like this is because (at least on macOS), dotnet/nuget places reference content into two places under the package version (ie in '~/.nuget/packages/..'):
framework
/..' directorySee https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#including-content-in-a-package where Microsoft states "By default, everything gets added to the root of the content and contentFiles\any<target_framework> folder within a package and preserves the relative folder structure, unless you specify a package path"
I think this will directly affect
Elements/Elements/src/ModelText.cs
Line 116 in d246cee
The text was updated successfully, but these errors were encountered: