<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\**\*" Exclude="$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\x64\**\*;$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\locales\**\*.pak">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\**\*" Exclude="$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\x86\**\*;$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\locales\**\*.pak">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\**\en-US.*;$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\**\de.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\**\en-US.*;$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\**\de.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\**\en-US.*;$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\**\de.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x64.96.0.18\CEF\x64\**\*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\cef.redist.x86.96.0.18\CEF\x86\**\*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\CefSharp.Common.96.0.180\CefSharp\x64\**\CefSharp.BrowserSubprocess.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="$(SolutionDir)packages\CefSharp.Common.96.0.180\CefSharp\x86\**\CefSharp.BrowserSubprocess.*">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Visible>false</Visible>
</Content>
</ItemGroup>
cef.redist.x64 含有都删除节点
项目里面设置包含清单
未能加载文件或程序集“CefSharp.Core.Runtime.dll”或它的某一个依赖项。 不是有效的 Win32 应用程序。 (异常来自 HRESULT:0x800700C1) 在 CefSharp.Cef.get_IsInitialized()
clickonce发布
如果想使用32位的 把带x64的配置删除,研究了好久。。。。
这个问题困扰4天,本地运行32位置,通过clickonce发布的却是尼玛64