Skip to content

Commit f26afef

Browse files
committed
Fix build again
1 parent 8c63270 commit f26afef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/Foundatio.HostingSample/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
using Microsoft.Extensions.DependencyInjection;
1616
using Microsoft.Extensions.Hosting;
1717
using Microsoft.Extensions.Logging;
18+
#if REDIS
1819
using StackExchange.Redis;
20+
#endif
1921

2022
bool all = args.Contains("all", StringComparer.OrdinalIgnoreCase);
2123
bool sample1 = all || args.Contains("sample1", StringComparer.OrdinalIgnoreCase);

0 commit comments

Comments
 (0)