Configure "Build Action: Embeddedresource" - Adding font

Asked

Viewed 18 times

-1

How do I set up "Build Action: Embeddedresource"? I saw that this option is available by right-clicking the project in the Solution Manager. But this in Visual Studio 2019, the current version does not appear (at least I can not find it in my project).

What I’m trying to do is add (font) fonts to my project. I added source file (.ttf) to a Resources fonts directory but the project is not recognizing the file (invalid file path 'obj Debug 90 res fonts architectsdaughterregular.xml').

1 answer

0

  1. In "Solution Explorer" select the file . ttf
  2. Next: View->Properties Window

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.