Visual Studio 2015 - Team Fundation - Erro projeto Asp.Net MVC

Asked

Viewed 91 times

1

Someone is having trouble moving up an ASP.NET MVC project to Team Fundation?

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

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

2 answers

2


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

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

inserir a descrição da imagem aqui

However the correct method to add a new project is to use "Add Solution To Source Control"

inserir a descrição da imagem aqui

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

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

  • 1

    That’s right. Sometimes it’s the little things that give you a headache and make you waste hours.

1

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

Sometimes the compile order of projects on Solution is wrong.

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

Update-Package -Reinstall -ProjectName You.Application.Name
  • Man, that’s a lot of packages, a lot of them.. he just not from the error in the own packages of visual studio, otherwise, in all, but I think I was going up in a wrong way, I’m going up in another way and already put the result. I’ll try that command.

  • Perhaps it is the lack of the project’s Nuget packages, it is not a good practice to include them in version control, so it will always be necessary to download them when downloading the source code for the first time

Browser other questions tagged

You are not signed in. Login or sign up in order to post.