Why does my .NET application crash when run from a network drive?

前端 未结 6 911
陌清茗
陌清茗 2020-11-29 06:37

My .NET application fails when run from a network drive even when the very same executable runs perfectly fine from a local hard drive?

I tried checking for \"Full t

6条回答
  •  忘掉有多难
    2020-11-29 07:07

    It indeed has to do with the fact the apps on a network location are less trusted then on your local hdd (due to the default policy of the .NET framework).

    If I'm not mistaken Microsoft finally corrected this annoyance in .NET 3.5 SP1 (after a lot of developers complaining).

    I google'd it: .NET Framework 3.5 SP1 Allows managed code to be launched from a network share!

提交回复
热议问题