TFS Online构建通用应用程序错误 [英] TFS Online build Universal Apps Error

查看:122
本文介绍了TFS Online构建通用应用程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 


我使用Git创建了一个Visual Studio Online解决方案(我有与TFS相同的问题),它在同一个解决方案中有一个WebProject,Portable Libs和通用应用程序。


当我在TFS Online上创建构建定义并运行时,我遇到了以下几个错误:


 错误CS0246:无法找到类型或命名空间名称'AssemblyTitle'(您是否缺少using指令或程序集 


看起来NuGet包:Microsoft.NETCore.UniversalWindowsPlatform未在恢复期间恢复构建。


在我的NuGet设置中,我可以选择Nuget下载丢失的软件包。



我的项目配置缺少什么?



最好的问候

Paulo Aboim Pinto

Odivelas - 葡萄牙

解决方案

Hello Paulo,


请查看以下链接,其中包含有关如何解决此类问题的信息。


<跨度风格= "颜色:黑色"> https://msdn.microsoft.com/en-us/library/w7xf6dxs.aspx?f=255&MSPPError=-2147217396


https://social.msdn.microsoft.com/Forums/vstudio/en-US/30e42195-73ab-4ef4-bc91-62aa89896326/error-the-type-or-namespace-name-list -could-not-found-you-you-a-using-directive-or-an?forum = csharpgeneral


希望它有所帮助。


问候,

Sunil.HP < /跨度>


Hello, 

I created a solution Visual Studio Online using Git (I have the same problem with TFS) that have in the same solution a WebProject, Portable Libs and Universal Apps.

When I create a build definition on TFS Online and run I got several errors like this:

 Error CS0246: The type or namespace name 'AssemblyTitle' could not be found (are you missing a using directive or an assembly 

Looks like that the NuGet package: Microsoft.NETCore.UniversalWindowsPlatform is not been restore during the build.

On my NuGet settings I have option to Nuget download the missing packages.

What is missing in my project configuration?

best regards
Paulo Aboim Pinto
Odivelas - Portugal

解决方案

Hello Paulo,

Please check below links which contains the information about how to resolve this kind of issues.

https://msdn.microsoft.com/en-us/library/w7xf6dxs.aspx?f=255&MSPPError=-2147217396

https://social.msdn.microsoft.com/Forums/vstudio/en-US/30e42195-73ab-4ef4-bc91-62aa89896326/error-the-type-or-namespace-name-list-could-not-be-found-are-you-missing-a-using-directive-or-an?forum=csharpgeneral

Hope it helps.

Regards,
Sunil.HP


这篇关于TFS Online构建通用应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆