diff --git a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
index a49803ecce..9f24c25f67 100644
--- a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
+++ b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/CommonLibTests.vcxproj
@@ -98,6 +98,7 @@
EnableFastChecks
MultiThreadedDebug
Level3
+ true
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
stdcpp17
@@ -125,6 +126,7 @@
EnableFastChecks
MultiThreadedDebug
Level3
+ true
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
stdcpp17
@@ -150,6 +152,7 @@
stdafx.h
MultiThreaded
Level3
+ true
ProgramDatabase
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
@@ -179,6 +182,7 @@
stdafx.h
MultiThreaded
Level3
+ true
ProgramDatabase
$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories);..\RequestHandlerLib;..\IISLib;..\CommonLib;$(GoogleTestSubmoduleRoot)googletest\include;$(GoogleTestSubmoduleRoot)googlemock\include;...\AspNetCore\Inc;..\InProcessRequestHandler\
/D "_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
@@ -200,4 +204,4 @@
-
\ No newline at end of file
+
diff --git a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
index 1d767accde..b7b334059a 100644
--- a/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
+++ b/src/Servers/IIS/AspNetCoreModuleV2/CommonLibTests/dotnet_exe_path_tests.cpp
@@ -16,7 +16,6 @@ namespace InprocessTests
TEST(Dotnet_EXE_Path_Tests, EndWith_dotnet)
{
- HostFxrResolver resolver;
std::filesystem::path hostFxrDllPath;
std::vector arguments;
ErrorContext errorContext;