.NetSDK下载后如何使用
ReNetSDK下载后如何使用
谢谢版主, java和c#语言其实蛮相近的
-------------------------
ReNetSDK下载后如何使用
刚在Unity上面试了一下, 在创建完OssClient后, 列举所有bucket时, 报了NullReferenceException, 具体信息如下:
NullReferenceException: Object reference not set to an instance of an object
Aliyun.OpenServices.Common.Communication.HttpExtensions.AddInternal (System.Net.WebHeaderCollection headers, System.String key, System.String value)
Aliyun.OpenServices.Common.Communication.HttpFactory.SetRequestHeaders (System.Net.HttpWebRequest webRequest, Aliyun.OpenServices.Common.Communication.ServiceRequest serviceRequest, Aliyun.OpenServices.ClientConfiguration configuration)
Aliyun.OpenServices.Common.Communication.HttpFactory.CreateWebRequest (Aliyun.OpenServices.Common.Communication.ServiceRequest serviceRequest, Aliyun.OpenServices.ClientConfiguration configuration)
Aliyun.OpenServices.Common.Communication.ServiceClientImpl.SendCore (Aliyun.OpenServices.Common.Communication.ServiceRequest serviceRequest, Aliyun.OpenServices.Common.Communication.ExecutionContext context)
Aliyun.OpenServices.Common.Communication.ServiceClient.Send (Aliyun.OpenServices.Common.Communication.ServiceRequest request, Aliyun.OpenServices.Common.Communication.ExecutionContext context)
Aliyun.OpenServices.Common.Communication.RetryableServiceClient.SendImpl (Aliyun.OpenServices.Common.Communication.ServiceRequest request, Aliyun.OpenServices.Common.Communication.ExecutionContext context, Int32 retries)
大家碰到过吗?
-------------------------
ReReNetSDK下载后如何使用
引用第3楼actionfg于2014-09-22 23:47发表的 ReNetSDK下载后如何使用 :
刚在Unity上面试了一下, 在创建完OssClient后, 列举所有bucket时, 报了NullReferenceException, 具体信息如下:
NullReferenceException: Object reference not set to an instance of an object
Aliyun.OpenServices.Common.Communication.HttpExtensions.AddInternal (System.Net.WebHeaderCollection headers, System.String key, System.String value)
Aliyun.OpenServices.Common.Communication.HttpFactory.SetRequestHeaders (System.Net.HttpWebRequest webRequest, Aliyun.OpenServices.Common.Communication.ServiceRequest serviceRequest, Aliyun.OpenServices.ClientConfiguration configuration)
Aliyun.OpenServices.Common.Communication.HttpFactory.CreateWebRequest (Aliyun.OpenServices.Common.Communication.ServiceRequest serviceRequest, Aliyun.OpenServices.ClientConfiguration configuration)
.......
奇怪的是,我在vs2012的控制台项目中, 同样代码, 并没有提示出错. 大家有什么看法?
-------------------------
ReNetSDK下载后如何使用
和售后人员沟通了快20几天, 我还是来结个贴吧.
OSS sdk只能在PC平台使用, 移动端不支持. 且.Net版本需.netFrame 4以上版本支持
赞0
踩0