Visual Studio Project on Network Drive
-
Has anyone had success using Visual Studio 2017 to work on a solution that exists on a network drive, as opposed to a local drive? I was just wondering if there's any way to make it work.
The difficult we do right away... ...the impossible takes slightly longer.
-
Has anyone had success using Visual Studio 2017 to work on a solution that exists on a network drive, as opposed to a local drive? I was just wondering if there's any way to make it work.
The difficult we do right away... ...the impossible takes slightly longer.
As far as I remember, not nicely. You run into the whole trust issue running mananged code from non-local drives. I think you had to change the machine policy to trust the share using CASPOL. Ah! Here it is: Using CasPol to Fully Trust a Share – .NET Security Blog[^]
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
As far as I remember, not nicely. You run into the whole trust issue running mananged code from non-local drives. I think you had to change the machine policy to trust the share using CASPOL. Ah! Here it is: Using CasPol to Fully Trust a Share – .NET Security Blog[^]
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakThank you, Dave. :thumbsup:
The difficult we do right away... ...the impossible takes slightly longer.
-
As far as I remember, not nicely. You run into the whole trust issue running mananged code from non-local drives. I think you had to change the machine policy to trust the share using CASPOL. Ah! Here it is: Using CasPol to Fully Trust a Share – .NET Security Blog[^]
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakYou shouldn't need to do that any more for v3.5 SP1 or higher: .NET Framework 3.5 SP1 Allows managed code to be launched from a network share! – Vance Morrison's Weblog[^] However, you might need to turn on the "load from remote sources" option in some scenarios: <loadFromRemoteSources> Element | Microsoft Docs[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer