https://github.com/binki/directconnex.cefsharp.suppressanycpubuilderror
Suppress CefSharp’s AnyCPU build error which breaks the NuGet PackageReference transitive dependency concept.
https://github.com/binki/directconnex.cefsharp.suppressanycpubuilderror
Last synced: 4 months ago
JSON representation
Suppress CefSharp’s AnyCPU build error which breaks the NuGet PackageReference transitive dependency concept.
- Host: GitHub
- URL: https://github.com/binki/directconnex.cefsharp.suppressanycpubuilderror
- Owner: binki
- License: mit
- Created: 2019-05-23T23:15:13.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-06T18:09:28.000Z (over 6 years ago)
- Last Synced: 2024-04-28T07:02:34.201Z (about 2 years ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
CefSharp will purposefully error the build if you target AnyCPU unless if an MSBuild property is set on the project.
However, `` dependencies are transitive.
That is, when Project A has a `` to Project B which has a `` to NuGet Package C, Project A acts as if it has a direct dependency on Nuget Package C.
This applies even if, due to encapsulation, Project A has no need to know that Project B has a reference to Nuget Package C.
In this case, the result of CefSharp�s [buildsystem design decisions](https://github.com/cefsharp/CefSharp/issues/1714) might force you to make an executable project aware that its dependency project uses CefSharp.
To fix this, this package simply provides a props file which suppresses the CefSharp error.
You can reference this package from the project which references CefSharp to prevent any dependency on your project from failing the build.