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

ResX Loading Icon File Fails With Culture Error

Open EricM81 opened this issue 5 years ago • 0 comments

I'm learing F# and this is my first time using FSharp.Configuration. I have an embedded .ico file that's listed in a .resx file:

<data name="plugin-utility" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>plugin-utility.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data>

I go to use it and intellisense shows it's there:

"LeoResx.``plugin-utility``"

But I get a runtime exception:

Message "Could not find any resources appropriate for the specified culture or the neutral culture. Make sure \"embeddedresources.Resources.resources\" was correctly embedded or linked into assembly \"ConsoleApplication1\" at compile time, or that all the satellite assemblies required are loadable and fully signed." string

EricM81 avatar Jan 10 '20 21:01 EricM81