From 67742957539d8be5e0469a89ae01bb2bb66b0540 Mon Sep 17 00:00:00 2001 From: York Yang Date: Sat, 10 Jun 2023 06:36:53 +0800 Subject: [PATCH] fix dll doesn't compile issue --- Plugins/uWindowCapture/uWindowCapture/uWindowCapture.def | 5 +++++ .../uWindowCapture/uWindowCapture/uWindowCapture.vcxproj | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 Plugins/uWindowCapture/uWindowCapture/uWindowCapture.def diff --git a/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.def b/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.def new file mode 100644 index 0000000..9404fb7 --- /dev/null +++ b/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.def @@ -0,0 +1,5 @@ +LIBRARY + +EXPORTS + UnityPluginLoad + UnityPluginUnload diff --git a/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.vcxproj b/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.vcxproj index 020ae27..d5600cd 100644 --- a/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.vcxproj +++ b/Plugins/uWindowCapture/uWindowCapture/uWindowCapture.vcxproj @@ -98,7 +98,7 @@ $(SolutionDir)$(ProjectName).def - copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\Assets\$(ProjectName)\Plugins\x86" + copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\..\Assets\$(ProjectName)\Plugins\x86" @@ -110,7 +110,7 @@ stdcpp17 - copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\Assets\$(ProjectName)\Plugins\x86_64" + copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\..\Assets\$(ProjectName)\Plugins\x86_64" $(SolutionDir)$(ProjectName).def @@ -132,7 +132,7 @@ $(SolutionDir)$(ProjectName).def - copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\Assets\$(ProjectName)\Plugins\x86" + copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\..\Assets\$(ProjectName)\Plugins\x86" PerMonitorHighDPIAware @@ -154,7 +154,7 @@ $(SolutionDir)$(ProjectName).def - copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\Assets\$(ProjectName)\Plugins\x86_64" + copy /Y "$(SolutionDir)$(Platform)\$(Configuration)\$(TargetFileName)" "$(SolutionDir)..\..\..\Assets\$(ProjectName)\Plugins\x86_64" PerMonitorHighDPIAware