Pat
Pat

Reputation: 580

Visual Studio 2015 Nuget "There is no working folder mapping" Error

When adding the media services nuget package, VS 2015 is giving me errors about having no working folder mapping, then rolls back.

Here is an example of the message:

There is no working folder mapping for C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\lib\net45.

When I open the same solution from VS 2013, it works as expected.

Does anyone know how to resolve the error is VS 2015, or perhaps why it doesn't work there but does work in VS 2013?

(In VS 2015, I opened the solution by browsing to the sln file locally - not by retrieving the solution from source control.)

Upvotes: 17

Views: 3535

Answers (4)

Zia Khan
Zia Khan

Reputation: 316

You should be able to avoid the error if you unbound from TFS. To unbound, go to File->Source Control->Advance->Change Source Control. Select the project and click on the Unbound button\link at top.

Upvotes: 0

Marvin Mabaquiao
Marvin Mabaquiao

Reputation: 807

Try to unbound the solution and projects in TFS before updating the nuget packages.

To unbound try this

Upvotes: 0

Irwin
Irwin

Reputation: 12819

Not a long term solution, but I unbound from TFS, added the packages I needed, then rebound.

Upvotes: 1

Serj Sagan
Serj Sagan

Reputation: 30208

This is a known bug: https://github.com/NuGet/Home/issues/1004 Use Visual Studio 2013 for now. In the rush to get it out, Microsoft released a product that was not ready, even though technically this is a NuGet issue.

Upvotes: 5

Related Questions