Skip to content

Visual Studio 2013 Update 3 does not allow CefSharp to load #576

@brfenske

Description

@brfenske

I have Visual Studio 2013 Update 3 and have created a new WinForms project. I added CefSharp via NuGet. When I go to add the browser control to the form it complains that I'm using platform "AnyCPU".

If I go to the Build tab in Properties I see the "Platform" dropdown at the top which has only one choice: Active (AnyCPU)

I can change "Platform Target" farther down the page to x86. It appears that CefSharp cares about the Platform dropdown because it still gives the error "CefSharp.Common does not work correctly on 'AnyCPU' platform. You need to specify platform (x86 / x64)". I don't seem to be able to change the Platform drowdown at the top to anything else.

My packages.config has these lines:
package id="cef.redist" version="3.1750.1738" targetFramework="net45"
package id="CefSharp.Common" version="33.0.2" targetFramework="net45"
package id="CefSharp.WinForms" version="33.0.2" targetFramework="net45"

How have people been able to get around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions