Skip to content

Commit e7c4bc6

Browse files
Bodekaeramaitland
authored andcommitted
Cleaner naming of CefSharp dll references when automatically imported from NuGet to VS
1 parent fc96909 commit e7c4bc6

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

NuGet/CefSharp.Common.props

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<Reference Condition="'$(Platform)' == 'x86'"
5-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll" />
6-
<Reference Condition="'$(Platform)' == 'x64'"
7-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll" />
8-
9-
<Reference Condition="'$(Platform)' == 'x86'"
10-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll" />
11-
<Reference Condition="'$(Platform)' == 'x64'"
12-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll" />
4+
<Reference Include="CefSharp" Condition="'$(Platform)' == 'x86'">
5+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll</HintPath>
6+
</Reference>
7+
<Reference Include="CefSharp" Condition="'$(Platform)' == 'x64'">
8+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll</HintPath>
9+
</Reference>
10+
<Reference Include="CefSharp.Core" Condition="'$(Platform)' == 'x86'">
11+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll</HintPath>
12+
</Reference>
13+
<Reference Include="CefSharp.Core" Condition="'$(Platform)' == 'x64'">
14+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll</HintPath>
15+
</Reference>
1316
</ItemGroup>
1417
</Project>

NuGet/CefSharp.Wpf.props

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
4-
<Reference Condition="'$(Platform)' == 'x86'"
5-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll" />
6-
7-
<Reference Condition="'$(Platform)' == 'x64'"
8-
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll" />
4+
<Reference Include="CefSharp.Wpf" Condition="'$(Platform)' == 'x86'">
5+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll</HintPath>
6+
</Reference>
7+
<Reference Include="CefSharp.Wpf" Condition="'$(Platform)' == 'x64'">
8+
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll</HintPath>
9+
</Reference>
910
</ItemGroup>
1011
</Project>

0 commit comments

Comments
 (0)