File tree Expand file tree Collapse file tree 10 files changed +17
-8
lines changed Expand file tree Collapse file tree 10 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 2020 <VCProjectVersion >15.0</VCProjectVersion >
2121 <Keyword >Win32Proj</Keyword >
2222 <Platform Condition =" '$(Platform)' == ''" >x64</Platform >
23- <PlatformToolsetVersion >v143 </PlatformToolsetVersion >
24- <PlatformToolset >$(PlatformToolsetVersion)</PlatformToolset >
23+ <PlatformToolsetVersion >143 </PlatformToolsetVersion >
24+ <PlatformToolset >v $(PlatformToolsetVersion)</PlatformToolset >
2525 <!-- If the following line is updated ensure that the /eng/scripts/vs.17.*.json files are updated to include the same version component too. -->
2626 <WindowsTargetPlatformVersion Condition =" '$(WindowsTargetPlatformVersion)' == '' " >10.0.19041.0</WindowsTargetPlatformVersion >
2727 </PropertyGroup >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project DefaultTargets =" Build" ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <Import Project =" ..\..\build\Build.Lib.Settings" />
34 <PropertyGroup Label =" Globals" >
45 <ProjectGuid >{55494E58-E061-4C4C-A0A8-837008E72F85}</ProjectGuid >
56 <RootNamespace >NewCommon</RootNamespace >
7+ <RunCodeAnalysis >false</RunCodeAnalysis >
68 </PropertyGroup >
7- <Import Project =" ..\..\build\Build.Lib.Settings" />
89 <ItemDefinitionGroup >
910 <ClCompile >
1011 <AdditionalIncludeDirectories >..\iislib;$(LibNetHostPath)</AdditionalIncludeDirectories >
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class APPLICATION : public IAPPLICATION
7777
7878 virtual
7979 VOID
80- StopInternal (bool fServerInitiated )
80+ StopInternal (bool fServerInitiated ) noexcept
8181 {
8282 UNREFERENCED_PARAMETER (fServerInitiated );
8383 }
Original file line number Diff line number Diff line change 99 <ProjectGuid >{1eac8125-1765-4e2d-8cbe-56dc98a1c8c1}</ProjectGuid >
1010 <Keyword >Win32Proj</Keyword >
1111 <ConfigurationType >Application</ConfigurationType >
12- <PlatformToolset >$(PlatformToolsetVersion)</PlatformToolset >
12+ <PlatformToolset >v $(PlatformToolsetVersion)</PlatformToolset >
1313 <CharacterSet >Unicode</CharacterSet >
1414 <IsTestProject >true</IsTestProject >
1515 <DisableArcadeTestFramework >true</DisableArcadeTestFramework >
Original file line number Diff line number Diff line change 4646 <Rule Id =" C26435" Action =" Error" />
4747 <Rule Id =" C26436" Action =" Error" />
4848 <Rule Id =" C26437" Action =" Error" />
49- <Rule Id =" C26438" Action =" Error " />
49+ <Rule Id =" C26438" Action =" None " /> <!-- Avoid goto -- >
5050 <Rule Id =" C26439" Action =" Error" />
5151 <Rule Id =" C26440" Action =" Error" />
5252 <Rule Id =" C26441" Action =" Error" />
Original file line number Diff line number Diff line change 55 <ProjectGuid >{09D9D1D6-2951-4E14-BC35-76A23CF9391A}</ProjectGuid >
66 <RootNamespace >IISLib</RootNamespace >
77 <ProjectName >IISLib</ProjectName >
8+ <RunCodeAnalysis >false</RunCodeAnalysis >
89 </PropertyGroup >
910 <PropertyGroup Condition =" '$(Configuration)'=='Release'" Label =" Configuration" >
1011 <WholeProgramOptimization >true</WholeProgramOptimization >
Original file line number Diff line number Diff line change 99HRESULT AppOfflineTrackingApplication::StartMonitoringAppOffline ()
1010{
1111 LOG_INFOF (L" Starting app_offline monitoring in application '%ls'" , m_applicationPath.c_str ());
12- HRESULT hr = StartMonitoringAppOflineImpl ();
12+ const HRESULT hr = StartMonitoringAppOflineImpl ();
1313
1414 if (FAILED_LOG (hr))
1515 {
Original file line number Diff line number Diff line change 77 <PropertyGroup Label =" Globals" >
88 <ProjectGuid >{CAC1267B-8778-4257-AAC6-CAF481723B01}</ProjectGuid >
99 <RootNamespace >gtest</RootNamespace >
10+ <RunCodeAnalysis >false</RunCodeAnalysis >
1011 </PropertyGroup >
1112 <PropertyGroup Label =" Configuration" >
1213 <TargetName >gtest</TargetName >
Original file line number Diff line number Diff line change 88 <HostArch Condition =" '$(Platform)' == 'AnyCPU'" >x64</HostArch >
99 <LibNetHostPath >$(NetCoreTargetingPackRoot)Microsoft.NETCore.App.Host.win-$(HostArch)\$(LibNetHostAppPackVersion)\runtimes\win-$(HostArch)\native</LibNetHostPath >
1010 <!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib -->
11- <PlatformToolsetVersion >v142 </PlatformToolsetVersion >
11+ <PlatformToolsetVersion >143 </PlatformToolsetVersion >
1212 </PropertyGroup >
1313</Project >
Original file line number Diff line number Diff line change 3232 </ImportGroup >
3333 <PropertyGroup Label =" UserMacros" />
3434
35+ <PropertyGroup >
36+ <CodeAnalysisRuleSet >..\DefaultRules.ruleset</CodeAnalysisRuleSet >
37+ <RunCodeAnalysis Condition =" '$(VCToolsRedistVersion)' != '' AND '$(VCToolsRedistVersion)' >= 14.15.26706" >true</RunCodeAnalysis >
38+ <EnablePREfast >$(RunCodeAnalysis)</EnablePREfast >
39+ </PropertyGroup >
40+
3541 <ItemDefinitionGroup >
3642 <ClCompile >
3743 <PrecompiledHeader >Use</PrecompiledHeader >
You can’t perform that action at this time.
0 commit comments