FSharp.Configuration icon indicating copy to clipboard operation
FSharp.Configuration copied to clipboard

The field, constructor or member 'Test2' is not defined

Open liammclennan opened this issue 10 years ago • 8 comments

I have attempted to reproduce exactly the example from the documentation.

My code (in fsx file) is:

#r "fsharp.configuration/lib/net40/FSharp.Configuration.dll"
#r "System.Configuration.dll"
open FSharp.Configuration

type Settings = AppSettings<"app.config">
Settings.Test2

The intellisense correctly detects the properties on Settings but when I evaluate the script I get an error

The field, constructor or member 'Test2' is not defined

Have I done something wrong?

liammclennan avatar Oct 25 '15 22:10 liammclennan

I am having this exact same issue. IntelliSense correctly auto-completes but the script generates the error. Additionally, FSI is unable to interact with the type provider.

Any updates on why this isn't working?

nikofeyn avatar Feb 22 '18 05:02 nikofeyn

I’m personally don’t maintain this repo anymore, ping the other maintainers (I doubt there are any left though).

vasily-kirichenko avatar Feb 22 '18 05:02 vasily-kirichenko

@dtchepak @forki Are you ok to continue to act as maintainers? Thanks

@vasily-kirichenko I've removed you from the maintainers list - many thanks for helping out here

dsyme avatar Feb 22 '18 12:02 dsyme

I actually never used this project. I was only here to help people with boring maintenance

Am 22.02.2018 13:52 schrieb "Don Syme" [email protected]:

@dtchepak https://github.com/dtchepak @forki https://github.com/forki Are you ok to continue to act as maintainers? Thanks

@vasily-kirichenko https://github.com/vasily-kirichenko I've removed you from the maintainers list - many thanks for helping out here

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fsprojects/FSharp.Configuration/issues/71#issuecomment-367671229, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNE18CXE_zBlKTcVu1ptJPAP8XBoNks5tXWL6gaJpZM4GVTcz .

forki avatar Feb 22 '18 13:02 forki

It looks like it's getting used

136,007 total downloads
9,913 downloads of latest version
90 downloads per day (avg)

dsyme avatar Feb 22 '18 13:02 dsyme

I've used the Yaml provider only.

vasily-kirichenko avatar Feb 22 '18 13:02 vasily-kirichenko

Hi @dsyme, I'm not sure how I got added to this project. I have not used or contributed to it, so am probably not the ideal choice for a maintainer. 😄

dtchepak avatar Feb 22 '18 23:02 dtchepak

@dtchepak OK! Will remove you too :)

dsyme avatar Feb 22 '18 23:02 dsyme