Install-Package results in error dialog in VS2017 RC #4127

Closed
AArnott opened this Issue Dec 18, 2016 · 2 comments

Comments

Projects
None yet
5 participants
@AArnott
Contributor

AArnott commented Dec 18, 2016

Build: d15prerel 26015.8

  1. Create a new .NET Core C# console app
  2. Open the project file in the editor while it's still open, using the new "Edit ConsoleApp1.csproj" command.
  3. Open the NuGet PackageManager Console.
  4. Execute Install-Package Validation (I personally used install-package -source C:\git\Nerdbank.GitVersioning\bin\Debug\ nerdbank.gitversioning -version 1.5.61-g1ac9af822c but I think the package is irrelevant).

A message box appears with this error:

The project 'ConsoleApp15' has encountered an error. You may need reload the project after fixing the problem.
The imported project file "c:\users\andarno\documents\visual studio 2017\Projects\ConsoleApp15\ConsoleApp15\obj\ConsoleApp15.csproj.nuget.g.targets" could not be loaded. The process cannot access the file 'c:\users\andarno\documents\visual studio 2017\Projects\ConsoleApp15\ConsoleApp15\obj\ConsoleApp15.csproj.nuget.g.targets' because it is being used by another process. C:\Program Files (x86)\Microsoft Visual Studio\2017\d15prerel\MSBuild\15.0\Bin\Microsoft.Common.targets

@zhili1208

This comment has been minimized.

Show comment
Hide comment
@zhili1208

zhili1208 Jan 4, 2017

Contributor

I tired latest vs build, can't repro this issue.
Build: d15prerel 26104.1
NuGet version : 4.0.0.2098
also tried latest nuget build: 4.0.0.2168
@AArnott Can you still repro this with latest build?

Contributor

zhili1208 commented Jan 4, 2017

I tired latest vs build, can't repro this issue.
Build: d15prerel 26104.1
NuGet version : 4.0.0.2098
also tried latest nuget build: 4.0.0.2168
@AArnott Can you still repro this with latest build?

@rrelyea rrelyea modified the milestones: 4.0 RTM, 4.0 RC3 Jan 10, 2017

@AArnott

This comment has been minimized.

Show comment
Hide comment
@AArnott

AArnott Jan 13, 2017

Contributor

No. This no longer repros for me either on d15prerel.

Contributor

AArnott commented Jan 13, 2017

No. This no longer repros for me either on d15prerel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment