Skip to content

Remove type provider warning dialog #378

@enricosada

Description

@enricosada

When i add a type provider assembly i get this scary warning

image

That's ok, is a security issue.
The warning is by assembly location, i get this every project X type provider

But there are other components inside visual studio with the same issue.

When i add a Text Template (t4) i get this warning dialog.
There is a checkbox do not show this message again ( i found the image on google, i suppressed the warning long time ago ). Only one time, per user

image

No warning with:

  • nuget, who can execute custom powershell script on install
  • roslyn analizer
  • test runner from nuget packages (like xunit.runner.visualstudio )
  • package manager inside visual studio like npm, python etc

I'd like to remove the warning dialog, but maybe we can just disable it:

  • ok: add checkbox like t4
  • best: disable this dialog by default, enable it with in visual studio f# config
  • complicated: rules by assemblyname/publisher/nuget

i can implement the code.

I really hate this dialog 😄 because when i explain the f# strenghts the type providers seem dangerous

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions