'How do you pack any file with WPF application?

I am trying to pack a certain file into my project. The file is a stl file [3d model], how can I pack files like these into my WPF app. So if I reference them somewhere in my code I can use them. For example if my file is at:

C:\Users\user\Downloads\myProjectFolder\myFolder\my3dFile.stl

I want to pack that file with my WPF app. And I also need a way to reference it when I need it. How can I do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source