8000 Unable to remove nuget directory with test project in solution · Issue #2 · gioce90/NuJet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to remove nuget directory with test project in solution #2
Open
@Vectovox

Description

@Vectovox

I'm having an issue with NuJet failing to remove the installed nuget package when making updates to a package project. MSBuild has locked access to the .dll file as it's used in a test project.

Unable to remove directory [...] Access to the path '[...].dll' is denied.

It kind of makes sense, as the test project references the package project. But as such, my current workflow is to:

  1. Restart Visual Studio (file lock is removed).
  2. Make package project changes and build it (as much as I want).
  3. Try the changes (e.g. by building the test project).
  4. Go to 1. for additional changes.

Is it expected in my situation or did I mess something up?

Solution

  • Test Project
    • ->Package Project
  • Package Project
    • -> NuJet

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0