Help us improve Softanics
We use analytics cookies to understand which pages and downloads are useful. No ads. Privacy Policy

RuntimePath Property

An embedded file is placed to RuntimePath at the output assembly startup.

To place an embedded file to a predefined directory, use the following form of RuntimePath:

$(predefined directory id)\relative path

For example:

[assembly: EmbedFile(SourcePath: "virtual_file_content2.txt", RuntimePath: @"$(AssemblyDirectory)\embedded_file2.txt")]

You can find all possible values of predefined directory id in the list of the predefined directories.

string RuntimePath { get; set; }