Asp.Net MVC Application build error in TFS
when I build Asp.net MVC Application in TFS Server.
I am getting this error
Compling sou开发者_运维问答rces for any CUP/Release
Project TFSBuild.proj is building 'A.sln' with default traget
What is this casue?
Looks like you got downvoted because you didn't provide any detail about your environment such as the version of TFS, etc (and I see you have a low acceptance rate too).
Anyway, it looks like you're using TFS2008/5 so open the TFSBuild.proj file from source control and look for something in it like this:
<SolutionToBuild Include="$(BuildProjectFolderPath)/A.sln">
<Targets></Targets>
<Properties></Properties>
</SolutionToBuild>
Change the A.sln to the name of your MVC solution and then try again. Don't forget that the path to the solution will be relative to where the TFSBuild.proj file is located.
精彩评论