Issue with loading the ProfileCatalog.xml

Topics: CAB & Smart Client Software Factory
Nov 8, 2005 at 9:38 AM
originally posted by: DLorenz

Currently, you have this code in SolutionProfielReader:
private void ThrowIfInvalidFile(string catalogFilePath)
// Only change the default if we have a non-empty value.
Guard.ArgumentNotNullOrEmptyString(catalogFilePath, "catalogFilePath");

string fullpath = Path.GetFullPath(catalogFilePath);
if (!fullpath.StartsWith(AppDomain.CurrentDomain.BaseDirectory, true, CultureInfo.CurrentCulture))
throw new SolutionProfileReaderException(String.Format(

I am trying to debug cross-solution, so the GetFullPath and AppDomain paths will be different. My question is why you are getting fullpath? Why not simply check to see if a file exists at the AppDomain only? Thanks.
Nov 8, 2005 at 11:30 AM
originally posted by: BradWilsonMSFT

This will be fixed in the final release.