Tip for the day: If you get the error "Type provider assembly ... is not trusted..."

Tip for the day: If you get the error "Type provider assembly ... is not trusted..."

  • Comments 2

Tip for the day: If you get the error ""Type provider assembly ... is not trusted and will not be loaded for security reasons" and you want to explicitly opt-in to trusting it, then

  1. Go to the Tools --> Options --> F# Tools --> Type Providers" in Visual Studio
  2. Tick the assembly.or add a new entry for it

The error will appear if

  • You said "no" to trusting the assembly when the choice was first offered to you (e.g. maybe you pressed return or space quickly without noticing when the dialog appeared)
  • You used a type provider from F# Interactive without first using it from a script or project in Visual Studio

The Visual F# team

 

Leave a Comment
  • Please add 8 and 1 and type the answer here:
  • Post
  • thanks for the same.

  • thanks for error notification.

Page 1 of 1 (2 items)