Skip to content

Commit 19c0d5a

Browse files
committed
URLs are not longer supported as PathMap values in roslyn 2.8.0
1 parent 6e3f228 commit 19c0d5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Test.ConsoleApp/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ static void Main(string[] args)
1616

1717
// path mapping test, configured via <PathMap> property in the .csproj
1818
static string PathMapTest([CallerFilePath] string path = null) =>
19-
path.StartsWith("https://example.org/")
19+
path.StartsWith("X:\\Test\\")
2020
? path
21-
: throw new InvalidOperationException($"CallerFilePath was expected to start with https://example.org/ but was {path}.");
21+
: throw new InvalidOperationException($"CallerFilePath was expected to start with X:\\Test\\ but was {path}.");
2222
}
2323
}

Test.ConsoleApp/Test.ConsoleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<TargetFrameworks>net462;netcoreapp20</TargetFrameworks>
77
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
88
<SEPrecompilerPath Condition="'$(SEPrecompilerPath)' == ''">$(SolutionDir)StackExchange.Precompilation.Build\bin\$(Configuration)\net462\</SEPrecompilerPath>
9-
<PathMap>$(SolutionDir)=https://example.org/</PathMap>
9+
<PathMap>$(SolutionDir)=X:\Test\</PathMap>
1010
<DebugType>portable</DebugType>
1111
</PropertyGroup>
1212
<ItemGroup>

0 commit comments

Comments
 (0)