remove version info from apphost.exe


Commit migrated from https://github.com/dotnet/core-setup/commit/0362e52414d842658ed9308079bb34186b826d0c
上级 c14c480a
......@@ -36,7 +36,7 @@
<!-- Generate Version files -->
<ItemGroup>
<HostFiles Include="apphost;dotnet;hostfxr;hostpolicy" />
<HostFiles Include="dotnet;hostfxr;hostpolicy" />
</ItemGroup>
<MSBuild Projects="$(MSBuildProjectFullPath)"
Properties="GenerateNativeVersionInfo=true;AssemblyName=%(HostFiles.Identity);NativeVersionFileDir=$(IntermediateOutputRootPath)hostResourceFiles\%(HostFiles.Identity);NativeVersionHeaderFile=$(IntermediateOutputRootPath)hostResourceFiles\%(HostFiles.Identity)\version_info.h"
......@@ -63,4 +63,4 @@
<Copy SourceFiles="@(CMakeOutput)"
DestinationFolder="$(CoreHostOutputDir)"/>
</Target>
</Project>
\ No newline at end of file
</Project>
......@@ -14,6 +14,7 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/netcoredeps")
endif()
set(SKIP_VERSIONING 1)
include(../exe.cmake)
set(SOURCES)
add_definitions(-DFEATURE_APPHOST=1)
......
......@@ -34,7 +34,7 @@ else()
endif()
set(RESOURCES)
if(WIN32)
if(WIN32 AND NOT SKIP_VERSIONING)
list(APPEND RESOURCES ../../native.rc)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册