Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Visual Studio Project on Network Drive

Visual Studio Project on Network Drive

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiosysadminquestion
4 Posts 3 Posters 12 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard Andrew x64R Offline
    Richard Andrew x64R Offline
    Richard Andrew x64
    wrote on last edited by
    #1

    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.

    D 1 Reply Last reply
    0
    • Richard Andrew x64R Richard Andrew x64

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      Richard Andrew x64R Richard DeemingR 2 Replies Last reply
      0
      • D 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 Kreskowiak

        Richard Andrew x64R Offline
        Richard Andrew x64R Offline
        Richard Andrew x64
        wrote on last edited by
        #3

        Thank you, Dave. :thumbsup:

        The difficult we do right away... ...the impossible takes slightly longer.

        1 Reply Last reply
        0
        • D 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 Kreskowiak

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          You 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

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups