if(WIN32)
add_subdirectory(COM/NativeServer)
add_subdirectory(IJW/FakeMscoree)
- add_subdirectory(IJW/ManagedCallingNative/IjwNativeDll)
+
+ # IJW isn't supported on ARM64
+ if(NOT CLR_CMAKE_PLATFORM_ARCH_ARM64)
+ add_subdirectory(IJW/ManagedCallingNative/IjwNativeDll)
+ endif()
endif(WIN32)
{
static int Main(string[] args)
{
+ if(Environment.OSVersion.Platform != PlatformID.Win32NT)
+ {
+ return 100;
+ }
+
bool success = true;
// Load a fake mscoree.dll to avoid starting desktop
LoadLibraryEx(Path.Combine(Environment.CurrentDirectory, "mscoree.dll"), IntPtr.Zero, 0);
<OutputType>Exe</OutputType>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+
+ <!-- IJW is Windows-only -->
+ <TestUnsupportedOutsideWindows>true</TestUnsupportedOutsideWindows>
+
+ <!-- IJW is not supported on ARM64 -->
+ <DisableProjectBuild Condition="'$(Platform)' == 'arm64'">true</DisableProjectBuild>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
Interop/COM/NETClients/Primitives/NETClientPrimitives/NETClientPrimitives.sh
Interop/MarshalAPI/IUnknown/IUnknownTest/IUnknownTest.sh
Interop/SizeConst/SizeConstTest/SizeConstTest.sh
-Interop/IJW/ManagedCallingNative/ManagedCallingNative/ManagedCallingNative.sh
JIT/Directed/coverage/oldtests/callipinvoke/callipinvoke.sh
JIT/Directed/coverage/oldtests/Desktop/callipinvoke_il_d/callipinvoke_il_d.sh
JIT/Directed/coverage/oldtests/Desktop/callipinvoke_il_r/callipinvoke_il_r.sh