andrewdavey/cassette — Issue #118: Exception in HUD when getting asset path
Author: andrewdavey
Created: 2011-12-20 09:15:13+00:00
State: open
Labels: Bug

When asset path == bundle path this code in `CollectAssetPaths` fails:

```csharp
var path = asset.SourceFile.FullPath;
if (path.StartsWith(bundlePath, StringComparison.OrdinalIgnoreCase))
{
path = path.Substring(bundlePath.Length + 1);
}
```