Security warning from ADO.Net DBContext Generator RRS feed

  • Question



    "Running this text template can potentially harm your computer.Do not run it , if u obtained it from an untrusted source..."

    What is the cause of this alert , while i am trying to Add CodegenerationItem from edmx file.

    How can i avoid this alert ? Is it a serious warning

    Thanks ***Share Knowledge to gain more***
    Tuesday, November 1, 2011 8:59 AM

All replies

  • This warning is issued when running any T4 template. It is just a reminder that you are about to execute someone elses code and that you should only do so if you trust the source of that code. Any template published by Microsoft is safe to trust.

    You can disable these warnings by going to Tools > Options... > Text Templating and setting the Show Security Message to False.

    Brice Lambson
    Wednesday, November 2, 2011 4:56 PM