Dynamic compilation bug fix

Symptom: One the first modification to a source file starts a dynamic
compilation. After that, changes are ignored.

Fix: The problem was that we need to override the "FileHash" value returned
for csproj files to include the hash of all source files. This is so that
any changes to any source file will notify ASP.NET that the .csproj file
needs to be recompiled using a the corresponding build provider.

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-15 17:30:07 -07:00
parent fe35cc634a
commit baebaec05d
8 changed files with 123 additions and 0 deletions

View File

@@ -108,6 +108,10 @@ namespace Orchard.Tests.Environment.Extensions {
throw new NotImplementedException();
}
public IEnumerable<string> GetFileDependencies(DependencyDescriptor dependency, string virtualPath) {
throw new NotImplementedException();
}
#endregion
}

View File

@@ -108,6 +108,10 @@ namespace Orchard.Tests.Environment.Extensions {
throw new NotImplementedException();
}
public IEnumerable<string> GetFileDependencies(DependencyDescriptor dependency, string virtualPath) {
throw new NotImplementedException();
}
#endregion
}