Project file was not found

2019-03-04 15:47发布

I have an existing TFS project that has a structure similar to this :

Source tree

I created a solution within the framework directory that have 2 projects.

I have then added the Cerberus & Cerberus.Mvc to the OnFaitQuoi solution as existing projects. (note that the cerberus solution was checked in previously).

When I checked in my project, I got some errors including those :

TFS Errors

Does it means that this scenario is not supported by TFS azure or only that I did an error somewhere ?

3条回答
不美不萌又怎样
2楼-- · 2019-03-04 16:23

Go to Solution Explorer. Find your project, right click and select Add Items to Folder. Select your missing Project to add it to the sln.

查看更多
三岁会撩人
3楼-- · 2019-03-04 16:24

If these errors are when you're building using Team Build, check your build definition and make sure that the "framework" folder is included in the buidl workspace. You should also make sure that the relative paths in the build workspace are the same as your local machine.

To chech the build definition workspace right click on the build definition in team explorer and select "Edit build definition" then select the workspace tab. This will show the mappings between the folders in TFS and what the build pulls down to the build server

查看更多
唯我独甜
4楼-- · 2019-03-04 16:30

Check if you have any project dependencies set up on your solution. Right click on the solution and select Project dependencies.

See: http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/562ae95f-e042-45c2-9821-62cac49d0152

查看更多
登录 后发表回答