public get_CanonicalName ( string &pbstrCanonicalName ) : int | ||
pbstrCanonicalName | string | |
리턴 | int |
public virtual int get_CanonicalName(out string pbstrCanonicalName)
{
// Get the output assembly path (including the name)
pbstrCanonicalName = output.GetMetadataValue(ProjectFileConstants.FinalOutputPath);
Debug.Assert(!String.IsNullOrEmpty(pbstrCanonicalName), "Output Assembly not defined");
// Make sure we have a full path
if(!System.IO.Path.IsPathRooted(pbstrCanonicalName))
{
pbstrCanonicalName = new Url(project.BaseUri, pbstrCanonicalName).AbsoluteUrl;
}
return VSConstants.S_OK;
}
public virtual int get_KeyOutput(out string pbstrCanonicalName) { pbstrCanonicalName = null; if (keyOutput == null) { Refresh(); } if (keyOutput == null) { pbstrCanonicalName = String.Empty; return(VSConstants.S_FALSE); } return(keyOutput.get_CanonicalName(out pbstrCanonicalName)); }