Skip to content

Requires assembly in each project #167

@aguzma

Description

@aguzma

Added FeatureToggle using nuget to a Common project. Then in Common project I created a feature class "SomeFeature: SimpleFeatureToggle" inherting SimpleFeatureToggle. I then tried to use the SomeFeature class in another project (of the same solution) which has Common project referenced. The other project cannot use the FeatureEnabled property, giving the following error:

The type 'SimpleFeatureToggle' is defined in an assembly that is not referenced. You must add a reference to assembly 'FeatureToggle, Version=4.0.2.0, Culture=neutral, PublicKeyToken=null'.

I think this might be due to target framework differences since this project is kind of old. Requesting an update.

I am using Visual Studio 2017, targeting .NET Framework 4.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions