[Mono-dev] LinkedStyleSheets in PageThemeCompiler
andrews at mainsoft.com
Sun Apr 23 04:31:54 EDT 2006
First I forgot to use VirtualPathUtility.Combine and committed my patch
with simple concatenation. Immediately after that, I noticed my mistake
and tried to fix it.
But when I used VirtualPathUtility.Combine, I've got ArgumentException
("basePath is not an absolute path", "basePath");
The basePath comes from Page.InitializeStyleSheet, and it's hard coded
to be relative path.
I see that many pathes are combined with simple concatenation. See 2
PageThemeFileParser ptfp = new PageThemeFileParser (virtualPath +
So I just leave things as they are.
> Use VirtualPathUtility.Combine instead of plain string concatenation.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list