Skip to content

Commit 721d5fa

Browse files
authored
Rename WebView2Sample to WebView2GettingStarted and other improvements (#16)
* Add arm64 configuration * Add .gitignore * Add runtimelibrary config * Undo arm64 config * Rename solution/project to WebView2GettingStarted
1 parent 3c99c4e commit 721d5fa

File tree

7 files changed

+21
-5
lines changed

7 files changed

+21
-5
lines changed

GettingStartedGuide/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Debug/
2+
Release/
3+
ARM64/
4+
x64/
5+
.vs/
6+
packages/

GettingStartedGuide/WebView2Sample.sln renamed to GettingStartedGuide/WebView2GettingStarted.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.28307.539
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebView2Sample", "WebView2Sample\WebView2Sample.vcxproj", "{A1238CE8-5AF4-4BBB-9821-E6BBB0D44F75}"
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebView2GettingStarted", "WebView2GettingStarted\WebView2GettingStarted.vcxproj", "{A1238CE8-5AF4-4BBB-9821-E6BBB0D44F75}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution

GettingStartedGuide/WebView2Sample/WebView2Sample.vcxproj renamed to GettingStartedGuide/WebView2GettingStarted/WebView2GettingStarted.vcxproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<Keyword>Win32Proj</Keyword>
2525
<RootNamespace>WebViewSample</RootNamespace>
2626
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
27-
<ProjectName>WebView2Sample</ProjectName>
27+
<ProjectName>WebView2GettingStarted</ProjectName>
2828
</PropertyGroup>
2929
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3030
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -90,6 +90,7 @@
9090
<SDLCheck>true</SDLCheck>
9191
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
9292
<ConformanceMode>true</ConformanceMode>
93+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
9394
</ClCompile>
9495
<Link>
9596
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -103,6 +104,7 @@
103104
<SDLCheck>true</SDLCheck>
104105
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105106
<ConformanceMode>true</ConformanceMode>
107+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
106108
</ClCompile>
107109
<Link>
108110
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -119,6 +121,7 @@
119121
<SDLCheck>true</SDLCheck>
120122
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121123
<ConformanceMode>true</ConformanceMode>
124+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
122125
</ClCompile>
123126
<Link>
124127
<EnableCOMDATFolding>true</EnableCOMDATFolding>
@@ -136,6 +139,7 @@
136139
<SDLCheck>true</SDLCheck>
137140
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138141
<ConformanceMode>true</ConformanceMode>
142+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
139143
</ClCompile>
140144
<Link>
141145
<EnableCOMDATFolding>true</EnableCOMDATFolding>

WebView2APISample/WebView2APISample.vcxproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
7777
<ClCompile>
7878
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79-
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
79+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
8080
<WarningLevel>Level3</WarningLevel>
8181
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
8282
<Optimization>Disabled</Optimization>
@@ -91,7 +91,7 @@
9191
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
9292
<ClCompile>
9393
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94-
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
94+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
9595
<WarningLevel>Level3</WarningLevel>
9696
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
9797
</ClCompile>
@@ -105,11 +105,17 @@
105105
</Link>
106106
</ItemDefinitionGroup>
107107
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
108+
<ClCompile>
109+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
110+
</ClCompile>
108111
<Link>
109112
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;shlwapi.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;urlmon.lib;%(AdditionalDependencies)</AdditionalDependencies>
110113
</Link>
111114
</ItemDefinitionGroup>
112115
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
116+
<ClCompile>
117+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
118+
</ClCompile>
113119
<Link>
114120
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;shlwapi.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;urlmon.lib;%(AdditionalDependencies)</AdditionalDependencies>
115121
</Link>

WebView2APISample/WebView2APISample.vcxproj.filters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@
126126
</ResourceCompile>
127127
</ItemGroup>
128128
<ItemGroup>
129-
<None Include="ScenarioWebViewEventMonitor.html" />
130129
<None Include="packages.config" />
131130
</ItemGroup>
132131
<ItemGroup>
133132
<CopyFileToFolders Include="ScenarioWebMessage.html" />
134133
<CopyFileToFolders Include="ScenarioAddRemoteObject.html" />
134+
<CopyFileToFolders Include="ScenarioWebViewEventMonitor.html" />
135135
</ItemGroup>
136136
<ItemGroup>
137137
<Image Include="small.ico">

0 commit comments

Comments
 (0)