SourceLink files
This commit is contained in:
parent
173956db73
commit
07d3e4f82c
@ -9,7 +9,7 @@
|
|||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<IncludeSymbols>true</IncludeSymbols>
|
<IncludeSymbols>true</IncludeSymbols>
|
||||||
<IncludeSource>true</IncludeSource>
|
<IncludeSource>true</IncludeSource>
|
||||||
<Version>0.0.1</Version>
|
<Version>0.0.2</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|||||||
@ -93,8 +93,21 @@ namespace System.Diagnostics
|
|||||||
var filePath = frame.GetFileName();
|
var filePath = frame.GetFileName();
|
||||||
if (!string.IsNullOrEmpty(filePath))
|
if (!string.IsNullOrEmpty(filePath))
|
||||||
{
|
{
|
||||||
sb.Append(" in ");
|
try
|
||||||
sb.Append(System.IO.Path.GetFullPath(filePath));
|
{
|
||||||
|
sb.Append(" in ");
|
||||||
|
var uri = new Uri(filePath);
|
||||||
|
if (uri.IsFile)
|
||||||
|
{
|
||||||
|
sb.Append(System.IO.Path.GetFullPath(filePath));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
sb.Append(uri);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{ }
|
||||||
}
|
}
|
||||||
|
|
||||||
var lineNo = frame.GetFileLineNumber();
|
var lineNo = frame.GetFileLineNumber();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user