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. C#
  4. Microsoft Visual Studio.NET IDE Help Required

Microsoft Visual Studio.NET IDE Help Required

Scheduled Pinned Locked Moved C#
csharpvisual-studioc++helptutorial
5 Posts 3 Posters 0 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.
  • N Offline
    N Offline
    nutkase
    wrote on last edited by
    #1

    Hi, can any one please help me how to update the VC++ Directories in the Options Dialog->Projects Using the EnvDTE namespace or by anyother method...using the programming interface exposed by Studio.NET thankx in advance waiting!

    L 1 Reply Last reply
    0
    • N nutkase

      Hi, can any one please help me how to update the VC++ Directories in the Options Dialog->Projects Using the EnvDTE namespace or by anyother method...using the programming interface exposed by Studio.NET thankx in advance waiting!

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1

      N H 2 Replies Last reply
      0
      • L leppie

        AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1

        N Offline
        N Offline
        nutkase
        wrote on last edited by
        #3

        Thanks but i couldnt find this information (i.e include paths) in the vcproj or sln files, by the way i need to have it done through C# and i want it to be globally set that is the directories i add should be permenantly added to the Visual Studio.NET IDE....... anyone please help..... thankx in advance

        H 1 Reply Last reply
        0
        • L leppie

          AFAIK thats stored on a per-solution basis in the solution file. Maybe that will help :) top secret xacc-ide 0.0.1

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          For Tools->Options->Projects it's actually stored in the registry.

          Software Design Engineer Developer Division Sustained Engineering, Microsoft My Articles

          1 Reply Last reply
          0
          • N nutkase

            Thanks but i couldnt find this information (i.e include paths) in the vcproj or sln files, by the way i need to have it done through C# and i want it to be globally set that is the directories i add should be permenantly added to the Visual Studio.NET IDE....... anyone please help..... thankx in advance

            H Offline
            H Offline
            Heath Stewart
            wrote on last edited by
            #5

            As with most things, this is actually stored in the registry. Take a look at the HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\Version\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories key. You may need to restart the environment (the IDE) after changing that, however. To access this programmatically, if you look in the MSDN Online Library[^] you will find the VCPlatform object, which exposes those directories as properties. This is not in the EnvDTE.dll assembly, however. You must reference Microsoft.VisualStudio.VCProjectEngine.dll. IIRC, you should be able to cast (performs a QueryInterface on the COM component) from a Project object defined in the EnvDTE.dll assembly.

            Software Design Engineer Developer Division Sustained Engineering, Microsoft My Articles

            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