Skip to content

Commit

Permalink
Cleaner naming of CefSharp dll references when automatically imported…
Browse files Browse the repository at this point in the history
… from NuGet to VS
  • Loading branch information
Bodekaer authored and amaitland committed Nov 28, 2014
1 parent fc96909 commit e7c4bc6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
21 changes: 12 additions & 9 deletions NuGet/CefSharp.Common.props
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Reference Condition="'$(Platform)' == 'x86'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll" />
<Reference Condition="'$(Platform)' == 'x64'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll" />

<Reference Condition="'$(Platform)' == 'x86'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll" />
<Reference Condition="'$(Platform)' == 'x64'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll" />
<Reference Include="CefSharp" Condition="'$(Platform)' == 'x86'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll</HintPath>
</Reference>
<Reference Include="CefSharp" Condition="'$(Platform)' == 'x64'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll</HintPath>
</Reference>
<Reference Include="CefSharp.Core" Condition="'$(Platform)' == 'x86'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll</HintPath>
</Reference>
<Reference Include="CefSharp.Core" Condition="'$(Platform)' == 'x64'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
11 changes: 6 additions & 5 deletions NuGet/CefSharp.Wpf.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Reference Condition="'$(Platform)' == 'x86'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll" />

<Reference Condition="'$(Platform)' == 'x64'"
Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll" />
<Reference Include="CefSharp.Wpf" Condition="'$(Platform)' == 'x86'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll</HintPath>
</Reference>
<Reference Include="CefSharp.Wpf" Condition="'$(Platform)' == 'x64'">
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll</HintPath>
</Reference>
</ItemGroup>
</Project>

0 comments on commit e7c4bc6

Please sign in to comment.