Skip to content

Commit 7e6e15a

Browse files
authored
Fix typos in CefSharp.Common.targets (#3426)
1 parent be58e78 commit 7e6e15a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

NuGet/CefSharp.Common.targets

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141

4242
<!--
43-
Add to project file for debuggint purposes
43+
Add to project file for debugging purposes
4444
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
4545
<CallTarget Targets="CefSharpAfterBuildDiagnostic"/>
4646
</Target>
@@ -89,15 +89,15 @@
8989
Technically the older Non-SDK Style project can use PackageReference under VS2019 (possibly VS2017 as well),
9090
so we use NuGetProjectStyle which is defined in the .nuget.g.props file for projects using PackageReference.
9191
For Library projects with Nuget supports buildTransitive we don't include our additional files and packages, the transitive reference should flow directly to the consuming projects.
92-
For class libraries that are often AnyCPU and consuming Exe/WinExe projects that are x64 or x86 the resuiling build output
92+
For class libraries that are often AnyCPU and consuming Exe/WinExe projects that are x64 or x86 the resulting build output
9393
is polluted with extra copies in sub folders.
9494
-->
9595
<CefSharpBuildAction Condition="'$(CefSharpBuildAction)' == '' AND '$(NuGetProjectStyle)' != 'PackageReference'">None</CefSharpBuildAction>
9696
<CefSharpBuildAction Condition="'$(CefSharpBuildAction)' == '' AND '$(NuGetProjectStyle)' == 'PackageReference'">Content</CefSharpBuildAction>
9797
<CefSharpBuildAction Condition="'$(CefSharpBuildAction)' == '' AND '$(NuGetProjectStyle)' == 'PackageReference' AND $(NuGetToolVersion) > '5.0' AND '$(OutputType)' == 'Library'">NoAction</CefSharpBuildAction>
9898

9999
<CefSharpTargetDir Condition="'$(CefSharpTargetDir)' == ''"></CefSharpTargetDir>
100-
<!-- Ideally we could use EnsureTrailingSlash, was only added on 2016 so unlikely supported in older version of VS -->
100+
<!-- Ideally we could use EnsureTrailingSlash, was only added on 2017 so unlikely supported in older version of VS -->
101101
<CefSharpTargetDir Condition="'$(CefSharpTargetDir)' != '' AND !HasTrailingSlash('$(CefSharpTargetDir)')">$(CefSharpTargetDir)\</CefSharpTargetDir>
102102
<CefSharpTargetDirAnyCpu32>$(CefSharpTargetDir)x86\</CefSharpTargetDirAnyCpu32>
103103
<CefSharpTargetDirAnyCpu64>$(CefSharpTargetDir)x64\</CefSharpTargetDirAnyCpu64>
@@ -352,7 +352,7 @@
352352
<!--
353353
Issue https://github.com/dotnet/project-system/issues/4158
354354
The None/Content entries aren't picked up as the .targets file doesn't exist before the Nuget restore (only when using packages.config)
355-
So in that scenario we display a mssage to the user. Close/reopen the project and the None/Content entries will work as above.
355+
So in that scenario we display a message to the user. Close/reopen the project and the None/Content entries will work as above.
356356
I have attempted to copy the files via a Copy Task, unfortunately the .props entries aren't accessible either so that's not feasible.
357357
-->
358358
<Target Name="CefSharpCopyFilesAfterNugetRestore32" AfterTargets="AfterBuild" Condition="'$(NuGetProjectStyle)' != 'PackageReference' AND !Exists('$(OutDir)$(CefSharpTargetDir)libcef.dll') AND '$(CefSharpBuildAction)' != 'NoAction' AND '$(CefSharpPlatformTarget)' == 'x86'">
@@ -366,4 +366,4 @@
366366
<Target Name="CefSharpCopyFilesAfterNugetRestoreAnyCPU" AfterTargets="AfterBuild" Condition="'$(NuGetProjectStyle)' != 'PackageReference' AND !Exists('$(OutDir)$(CefSharpTargetDirAnyCpu32)libcef.dll') AND '$(CefSharpBuildAction)' != 'NoAction' AND '$(CefSharpPlatformTarget)' == 'AnyCPU'">
367367
<Message Importance="high" Text="CefSharp - Files were not copied by MSBuild after Nuget install/restore! Please close and re-open $(MSBuildProjectFile)." />
368368
</Target>
369-
</Project>
369+
</Project>

0 commit comments

Comments
 (0)