Yeah, so I would just change this to 

```csharp
ProjectRoot = HttpRuntime.AppDomainAppVirtualPath ?? Environment.CurrentDirectory;
```