From 04bda73dca42ec5e904e66fc7a76ce506f72afc6 Mon Sep 17 00:00:00 2001 From: Brian Dukes Date: Thu, 29 Aug 2019 13:16:12 -0500 Subject: [PATCH] Fix build error C# 6 string interpolation not supported on the build server yet --- Source/EmploymentController.cs | 2 +- Source/EngageEmployment.csproj.DotSettings | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Source/EngageEmployment.csproj.DotSettings diff --git a/Source/EmploymentController.cs b/Source/EmploymentController.cs index c107327..d3bddaa 100644 --- a/Source/EmploymentController.cs +++ b/Source/EmploymentController.cs @@ -87,7 +87,7 @@ public override IList GetModifiedSearchDocuments(ModuleInfo modu var revisionDate = (DateTime)jobs["RevisionDate"]; var searchDocument = new SearchDocument { - UniqueKey = $"Employment_Job_{jobId}", + UniqueKey = "Employment_Job_" + jobId, ModifiedTimeUtc = revisionDate.ToUniversalTime(), ModuleId = moduleInfo.ModuleID, PortalId = moduleInfo.PortalID, diff --git a/Source/EngageEmployment.csproj.DotSettings b/Source/EngageEmployment.csproj.DotSettings new file mode 100644 index 0000000..662f956 --- /dev/null +++ b/Source/EngageEmployment.csproj.DotSettings @@ -0,0 +1,2 @@ + + CSharp50 \ No newline at end of file