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
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