public virtual int get_DeploySourceURL(out string pbstrDeploySourceURL)
{
string path = output.GetMetadataValue(ProjectFileConstants.FinalOutputPath);
if(string.IsNullOrEmpty(path))
{
throw new InvalidOperationException();
}
if(path.Length < 9 || !String.Equals(path.Substring(0, 8), "file:///", StringComparison.OrdinalIgnoreCase))
path = "file:///" + path; // TODO: does not work with '#' char, see e.g. bug 641942
pbstrDeploySourceURL = path;
return VSConstants.S_OK;
}