<t>First, you need to add the html file to your project, and in the properties, set Copy to Output Directory to "Copy if newer".<br/>
<br/>
Then in your function code, take in an additional ExecutionContext context parameter (note that this is Microsoft.Azure.WebJobs.ExecutionContext and not System.Threading.ExecutionContext). And when you need to access your html file, you can then write:<br/>
<br/>
string htmlFilePath = Path.Combine(context.FunctionAppDirectory, "test.html");<br/>
<br/>
```<br/>
<br/>
That's assuming you added the file at the *root* of your VS project. If you instead added it in some `Data` folder (better practice), you'd write:<br/>
<br/>
```<br/>
string htmlFilePath = Path.Combine(context.FunctionAppDirectory, "Data", "test.html");<br/>
<br/>
```<br/>
<br/>
See [here](https://github.com/davidebbo-test/FunctionAppVS2017/blob/8ab7ff3c3c0de66326da111c224ec312269f6da8/FunctionAppVS2017/HelloHttp.cs) for full working sample.</t>