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. .NET (Core and Framework)
  4. Reference nightmares in .NET 2003

Reference nightmares in .NET 2003

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpvisual-studiohelptutorialquestion
3 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.
  • J Offline
    J Offline
    jremignanti
    wrote on last edited by
    #1

    My colleagues and I are using .NET 2003 along with visual source safe on our developments. We keep running into compilation problems where we have multiple projects in our solution and some of the projects have references to other projects in the same solution. We keep getting errors when we compile saying that Visual Studio can't copy the dlls that we are making into the runtime folder because they are being held by another process. We've tried endless permutations of the Copy Local property on each of the references. Has anyone run into similar problems? does anyone know how to help? Thanks.

    N T 2 Replies Last reply
    0
    • J jremignanti

      My colleagues and I are using .NET 2003 along with visual source safe on our developments. We keep running into compilation problems where we have multiple projects in our solution and some of the projects have references to other projects in the same solution. We keep getting errors when we compile saying that Visual Studio can't copy the dlls that we are making into the runtime folder because they are being held by another process. We've tried endless permutations of the Copy Local property on each of the references. Has anyone run into similar problems? does anyone know how to help? Thanks.

      N Offline
      N Offline
      Nicholas Naddaf
      wrote on last edited by
      #2

      http://support.microsoft.com/default.aspx?scid=kb;en-us;313512[^]

      1 Reply Last reply
      0
      • J jremignanti

        My colleagues and I are using .NET 2003 along with visual source safe on our developments. We keep running into compilation problems where we have multiple projects in our solution and some of the projects have references to other projects in the same solution. We keep getting errors when we compile saying that Visual Studio can't copy the dlls that we are making into the runtime folder because they are being held by another process. We've tried endless permutations of the Copy Local property on each of the references. Has anyone run into similar problems? does anyone know how to help? Thanks.

        T Offline
        T Offline
        TigerNinja_
        wrote on last edited by
        #3

        Some advice: 1. always use project references. if you look in your .csproj file you'll notice the references use GUIDs, this means you have a project ref. however, you can only do this if you are referencing a project in the same solution. 2. if you have web projects, delete your VsWebCache, and make sure you don't have a run away process. just to be safe you could kill aspnet_wp.exe or restart iis. [deleting vswebcache] [STAThread] static void Main(string[] args) { foreach (string dir in Directory.GetDirectories(@"c:\documents and settings")) { string webCacheDir = dir + @"\VSWebCache"; if (Directory.Exists(webCacheDir)) { Console.WriteLine("Deleting " + webCacheDir + "..."); Directory.Delete(webCacheDir, true); } } }

        R.Bischoff

        Denn Gott hat die Menschen so sehr geliebt, daß er seinen einzigen Sohn für sie hergab. Jeder, der an ihn glaubt, wird nicht verlorengehen, sondern das ewige Leben haben

        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