Skip to content

Commit 40fc0ae

Browse files
tydunkelheaths
authored andcommitted
Fix BinSkim issues
1 parent 762aaca commit 40fc0ae

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: inc/Common.Cpp.props

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
<ImportGroup Label="PropertySheets" />
44
<PropertyGroup Label="UserMacros" />
55
<ItemDefinitionGroup>
6+
<ClCompile>
7+
<SDLCheck>true</SDLCheck>
8+
<ControlFlowGuard>Guard</ControlFlowGuard>
9+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
10+
<AdditionalOptions>/ZH:SHA_256 %(AdditionalOptions)</AdditionalOptions>
11+
</ClCompile>
612
<Link>
713
<AdditionalDependencies>shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
814
</Link>

Diff for: src/VSIXBootstrapper/VSIXBootstrapper.vcxproj

-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
<Optimization>Disabled</Optimization>
6363
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
6464
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
65-
<ControlFlowGuard>Guard</ControlFlowGuard>
6665
</ClCompile>
6766
<Link>
6867
<SubSystem>Windows</SubSystem>
@@ -80,7 +79,6 @@
8079
<IntrinsicFunctions>true</IntrinsicFunctions>
8180
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
8281
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
83-
<ControlFlowGuard>Guard</ControlFlowGuard>
8482
</ClCompile>
8583
<Link>
8684
<SubSystem>Windows</SubSystem>

Diff for: test/VSIXBootstrapper.Test/VSIXBootstrapper.Test.vcxproj

+2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@
4444
</ImportGroup>
4545
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
4646
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
47+
<Import Project="..\..\inc\Common.Cpp.props" />
4748
</ImportGroup>
4849
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
4950
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51+
<Import Project="..\..\inc\Common.Cpp.props" />
5052
</ImportGroup>
5153
<PropertyGroup Label="UserMacros" />
5254
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">

0 commit comments

Comments
 (0)