在团队生成错误:类型或命名空间名称'序列化'不能找到 [英] Error during Team Build: The type or namespace name 'Serializable' could not be found

查看:285
本文介绍了在团队生成错误:类型或命名空间名称'序列化'不能找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新的问题与VS2005团队建设:

New problem with VS2005 Team Build:

大厦本地移动客户端,为公司的平台的解决方案,一切顺利pretty的整洁和编译时不会发生重大的打嗝,但使用在团队建设非常相同的解决方案,使我有以下问题:

Building locally a solution of a mobile client for a platform of the company, everything goes pretty neat and compilation occurs without major hiccups, but using the very same solution on a Team Build gives me the following problem:

解决方案:TB Client.sln,项目:Client.PocketPC.UIAPI.csproj,编译错误和警告
  EnumBackgroundImages.cs(10,6):错误CS0246:类型或命名空间名称序列化找不到(?是否缺少using指令或程序集引用)

Solution: TB Client.sln, Project: Client.PocketPC.UIAPI.csproj, Compilation errors and warnings
EnumBackgroundImages.cs(10,6): error CS0246: The type or namespace name 'Serializable' could not be found (are you missing a using directive or an assembly reference?)

我在其他项目上的[Serializable]属性,也没有与它的问题,具有完全相同的程序集引用和使用指令,它们都编译在我的本地计算机和构建机器,所有引用都ok了构建机上和这样的。照片 我有去尝试什么,没有更多的想法。

I have the [Serializable] attribute on other projects and no problems with it, having exactly the same assembly references and using directives, and they all compile on my local machine and the build machine, all references are ok on the build machine and such.
I have no more ideas of what to try.

推荐答案

但问题是,没有安装在构建机上的.NET Compact Framework的,它解决了这个问题有关的序列化。

The problem was that .NET Compact Framework wasn't installed on the build machine, and it solves this issue about the serialization.

这篇关于在团队生成错误:类型或命名空间名称'序列化'不能找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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