Add more dependencies for CSLoader in NetCore 2.x
@@ -66,7 +66,9 @@ set_target_properties(${target}
if(DOTNET_VERSION VERSION_EQUAL "2.0" OR DOTNET_VERSION VERSION_GREATER "2.0")
set(DOTNET_INSTALL_DEPENDENCIES
${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.dll
- ${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll)
+ ${CMAKE_BINARY_DIR}/Microsoft.CodeAnalysis.CSharp.dll
+ ${CMAKE_BINARY_DIR}/System.Runtime.CompilerServices.Unsafe.dll
+ ${CMAKE_BINARY_DIR}/System.Text.Encoding.CodePages.dll)
else()
set(DOTNET_INSTALL_DEPENDENCIES ${CMAKE_BINARY_DIR}/System.Runtime.Loader.dll)
endif()
