How to get relative path of a file in visual studio?
<p>I am trying to get the path of an image file which I added in solution explorer in Visual Studio, but I couldn't get the relative path of that image. H is the file structure of my project:</p>

<pre>
/BulutDepoProject
    /FolderIcon
        Folder.ico
        Main.cs
</pre>

<p>I can get the image like this : </p>

<pre><code>"C:\\Users\\Tolga\\Desktop\\BulutDepo\\BulutDepoProject\\FolderIcon\\Folder.ico" 
</code></pre>

<p>But I should be able to get it with something like : </p>

<pre><code>"~\\FolderIcon\\Folder.ico"
</code></pre>

<p>I guess I don't know the exact syntax of it so I cant fetch the image. :(</p>
