[Mono-dev] LinkedStyleSheets in PageThemeCompiler
Andrew Skiba
andrews at mainsoft.com
Sun Apr 23 04:31:54 EDT 2006
Hi Gonzalo,
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
lines later:
PageThemeFileParser ptfp = new PageThemeFileParser (virtualPath +
Path.GetFileName (skin_files[i]),
So I just leave things as they are.
Andrew.
> Use VirtualPathUtility.Combine instead of plain string concatenation.
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
>
More information about the Mono-devel-list
mailing list