Resources中未包含。。。的定义
来源:互联网 发布:网络暴力可以报警吗 编辑:程序博客网 时间:2024/04/29 21:18
在移植C#的KINECT例程时,只要更改.NET的版本就会提示我“Resources中未包含。。。的定义”甚是疑问,但还好找到了解决方法。
打开原版例程定位Resources,发现里面少了几个定义,现在还是不知道什么会少
全部内容如下,做下记录,方便以后直接粘贴复制
//------------------------------------------------------------------------------// <auto-generated>// 此代码由工具生成。// 运行时版本:4.0.30319.42000//// 对此文件的更改可能会导致不正确的行为,并且如果// 重新生成代码,这些更改将会丢失。// </auto-generated>//------------------------------------------------------------------------------namespace DotionDebug.Properties { using System; /// <summary> /// 一个强类型的资源类,用于查找本地化的字符串等。 /// </summary> // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// <summary> /// 返回此类使用的缓存的 ResourceManager 实例。 /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DotionDebug.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } /// <summary> /// 使用此强类型资源类,为所有资源查找 /// 重写当前线程的 CurrentUICulture 属性。 /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } set { resourceCulture = value; } } /// <summary> /// 查找类似 Failed to write screenshot to {0} 的本地化字符串。 /// </summary> internal static string FailedScreenshotStatusTextFormat { get { return ResourceManager.GetString("FailedScreenshotStatusTextFormat", resourceCulture); } } /// <summary> /// 查找类似 No ready Kinect found! 的本地化字符串。 /// </summary> internal static string NoSensorStatusText { get { return ResourceManager.GetString("NoSensorStatusText", resourceCulture); } } /// <summary> /// 查找类似 Running 的本地化字符串。 /// </summary> internal static string RunningStatusText { get { return ResourceManager.GetString("RunningStatusText", resourceCulture); } } /// <summary> /// 查找类似 Kinect not available! 的本地化字符串。 /// </summary> internal static string SensorNotAvailableStatusText { get { return ResourceManager.GetString("SensorNotAvailableStatusText", resourceCulture); } } }}
阅读全文
0 0
- Resources中未包含。。。的定义
- “object”未包含“get_Range”的定义
- object 未包含get_range的定义
- asp.net 将数据导入到excel中 出现 “object”未包含“get_Range”的定义
- C#将数据导入到excel中 出现 “object”未包含“get_Range”的定义报错
- VS2013中Winform导出Excel文件时报“object”未包含“get_Range”的定义解决方法
- C#将数据导入到excel中 出现 “object”未包含“get_Range”的定义
- 写入EXCEL “object”未包含“get_Range”的定义
- IFeatureBuffer.set_Value出现错误:“object”未包含“set_Value”的定义
- Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: “object”未包含“get_Range”的定义
- 字符串中包含双引号的定义方法
- log4j.properties未包含在maven打成的jar中
- 记dynamic的一个小坑 -- RuntimeBinderException:“object”未包含“xxx”的定义
- E小cel 异常 “object”未包含“get_Range”的定义 解决方案
- script中未正确定义'<'
- “未明确定义列” ibatis的sqlMap中报该
- 如何获取一个未在php中定义的类
- 关于头文件中定义的全局变量的包含
- Android QQ小红点的实现(附完整注释)
- Azure Ubuntu 16.04 LTS 远程桌面
- cookie值中包含等号、空格、分号等特殊字符的处理
- (6/19)MySQL数据库==复习
- java中的jvm
- Resources中未包含。。。的定义
- eclipse luna 4.4.0 安装Ivy和Ivyde插件--亲测可用
- servlet中的细节
- 机器人路径规划及A*算法详解
- IDEA maven项目src源代码下的资源文件不自动复制到classes文件夹的解决方法
- 【TensorFlow-windows】(零)TensorFlow的"安装"
- Etag与HTTP缓存机制
- CocoaPods详解之----制作篇
- POJ 1463 Strategic game 笔记