Skip to content
Browse files

CodeProvider - add GetFullPath to support relative paths

  • Loading branch information...
1 parent 64a3771 commit 60924b039d9963c9d239ff99c115aeafdca34401 @himdel himdel committed May 16, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/DesignTime/CodeProvider.cs
View
1 src/DesignTime/CodeProvider.cs
@@ -89,6 +89,7 @@ public CodeProvider (string fileName, ITypeResolutionService resolutionSvc)
private static string FindCodeBehindFile (string file)
{
+ file = Path.GetFullPath (file);
string codeBehindFileName = Path.Combine (Path.GetDirectoryName (file),
(Path.GetFileNameWithoutExtension (file) +
".Designer" + Path.GetExtension (file)));

0 comments on commit 60924b0

Please sign in to comment.
Something went wrong with that request. Please try again.