Hello William,
Thanks for your post.
For the quesiton:
1) Yes, I think we need to be admin to do so. This command can modify
security policy for the machine policy level. So a powerful user account is
needed.
2) Your assumption is right. The problem may be caused by the security
policy affecting to the file share. I suggest you to give the file share
FullTrust permission as described in the MSDN article below:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/ht
ml/vxurfprojectfoldernotsecuredialogbox.asp
3) GAC is used for storing strong name assemblies. It is not related to
assembly loading. Each time when an application is started, it got compiled
to native image. Only the necessary part is compiled and it will be cached.
So in one execution, the same code don't need to be compiled again. For
assemblies in GAC, framework could find it automatically. If you just put
it in c: drive, framework can't find it for you unless you set it in probe
path. NGen can be used to make IL code to native code. If we use Ngen, then
the output code won't be compiled when executed since they are native image
already. This is not related to strong name directly.
If there is anything unclear, please feel free to post here. Thanks very
much.
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.