Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires assembly in each project #167

Open
aguzma opened this issue Apr 24, 2019 · 0 comments
Open

Requires assembly in each project #167

aguzma opened this issue Apr 24, 2019 · 0 comments

Comments

@aguzma
Copy link

aguzma commented Apr 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant