|
14 | 14 | <ItemGroup> |
15 | 15 | <Reference Include="CefSharp"> |
16 | 16 | <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll</HintPath> |
17 | | - <Private>False</Private> |
| 17 | + <Private Condition="!$(TargetFramework.StartsWith('netcoreapp'))">False</Private> |
18 | 18 | </Reference> |
19 | 19 | <Reference Include="CefSharp.Core"> |
20 | 20 | <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll</HintPath> |
21 | | - <Private>False</Private> |
| 21 | + <Private Condition="!$(TargetFramework.StartsWith('netcoreapp'))">False</Private> |
| 22 | + </Reference> |
| 23 | + </ItemGroup> |
| 24 | + <!-- Additional references for .NET Core --> |
| 25 | + <ItemGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))"> |
| 26 | + <Reference Include="CefSharp.BrowserSubprocess.Core"> |
| 27 | + <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.BrowserSubprocess.Core.dll</HintPath> |
22 | 28 | </Reference> |
23 | 29 | </ItemGroup> |
24 | 30 | </When> |
|
27 | 33 | <ItemGroup> |
28 | 34 | <Reference Include="CefSharp"> |
29 | 35 | <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll</HintPath> |
30 | | - <Private>False</Private> |
| 36 | + <Private Condition="!$(TargetFramework.StartsWith('netcoreapp'))">False</Private> |
31 | 37 | </Reference> |
32 | 38 | <Reference Include="CefSharp.Core"> |
33 | 39 | <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll</HintPath> |
34 | | - <Private>False</Private> |
| 40 | + <Private Condition="!$(TargetFramework.StartsWith('netcoreapp'))">False</Private> |
| 41 | + </Reference> |
| 42 | + </ItemGroup> |
| 43 | + <!-- Additional references for .NET Core --> |
| 44 | + <ItemGroup Condition="$(TargetFramework.StartsWith('netcoreapp'))"> |
| 45 | + <Reference Include="CefSharp.BrowserSubprocess.Core"> |
| 46 | + <HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.BrowserSubprocess.Core.dll</HintPath> |
35 | 47 | </Reference> |
36 | 48 | </ItemGroup> |
37 | 49 | </Otherwise> |
|
0 commit comments