Visual Studio 2015 - Team Foundation - Error Asp.Net MVC project

1

Is anyone having trouble uploading an ASP.NET MVC project to Team Foundation?

What happens is that I do the up, but when I go to run on another computer, it starts to give references errors not found I realized that the reference folder is not really being loaded when I do the up pro server.

Does anyone know anything? already in projects WinForms everything happens normal.

    
asked by anonymous 19.10.2016 / 19:54

2 answers

2

The problem is really the lack of Nuget packages, but this error is generated by having uploaded the project incorrectly to Team Fondation.

I was doing, by the "Add Items to Folder" button:

Butthecorrectmethodtoaddanewprojectistousethe"Add Solution To Source Control"

The first option should only be used to include later files, documents, images, add-on files generated by other software, etc.

To include solutions in Team Fondation the second method should be used.

    
20.10.2016 / 12:18
1

Look, can you be more specific and say which references are not found?

Sometimes the order of compilation of the projects in the solution is wrong.

Until then, you can use this command to download missing references:

Update-Package -Reinstall -ProjectName You.Application.Name
    
19.10.2016 / 20:06