Fixing compile issue for FullClr and adding restart so that the WinRM changes take effect after the registration script runs.

This commit is contained in:
Mike Richmond
2016-08-10 20:48:47 -07:00
parent 46c3ff9f3e
commit a951e1b737
2 changed files with 7 additions and 1 deletions
@@ -178,3 +178,6 @@ catch [Microsoft.PowerShell.Commands.WriteErrorException]
Write-Error "No remoting session configuration matches the name $pluginEndpointName."
}
Write-Host "Restarting WinRM to ensure that the plugin configuration change takes effect. This is required in WinRM pre-Windows 10"
Restart-Service winrm
+4 -1
View File
@@ -106,7 +106,10 @@ add_compile_options(/Zc:wchar_t-) # C++ language conformance: wchar_t is NOT the
add_compile_options(/Zc:forScope) # C++ language conformance: enforce Standard C++ for scoping rules
add_compile_options(/GR-) # disable C++ RTTI
add_compile_options(/FC) # use full pathnames in diagnostics
add_compile_options(/MP) # Build with Multiple Processes (number of processes equal to the number of processors)
if (BUILD_CORECLR)
# This option is not supported for "FullClr" because it triggers: error C2813: #import is not supported with /MP
add_compile_options(/MP) # Build with Multiple Processes (number of processes equal to the number of processors)
endif (BUILD_CORECLR)
add_compile_options(/GS) # Buffer Security Check
add_compile_options(/Zm200) # Specify Precompiled Header Memory Allocation Limit of 150MB
#add_compile_options(/wd4960 /wd4961 /wd4603 /wd4627 /wd4838 /wd4456 /wd4457 /wd4458 /wd4459 /wd4091 /we4640)