开发者

Missing the index.cshtml view in an MSBuild + TeamCity build

I have the strangest problem. We have Razor views coming into our MVC3 project. Everything is fantastic until TeamCity and MSBuild run to gather an artifact. All razor views except开发者_StackOverflow社区 for Index.cshtml will be placed in the artifact zip. The view file is clearly in the buildAgent work directory and was successfully retrieved from github but it simply is ignored when the artifact is gathered but razor views in the same folder are OK?

We have already removed the entire file from source control and readded but no fix.

Anyone encounter a similar problem or have a hint of what to check? Thanks in advance for your help.


Have you checked build action property for the view? Make sure it is set to Content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜