1
나는 pda를 위해 빈 프로젝트 (compact framework 3.5)를 가지고있다. 저는 imagelist를 추가하고 목록에 이미지를 추가합니다.PlatformNotSupportedException CE7
at System.Globalization.CompareInfo..ctor(Int32 culture)
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.Collections.Comparer..ctor(CultureInfo culture)
at System.Collections.Comparer..cctor()
at System.OrdinalComparer.EqualsStringImpl(String x, String y)
at System.StringComparerImpl.Equals(Object x, Object y)
at System.Collections.Hashtable.KeyEquals(Object item, Object key)
at System.Collections.Hashtable.get_Item(Object key)
at System.Globalization.CultureInfo.GetCultureInfoHelper(Int32 lcid, String name, String altName)
at System.Globalization.CultureInfo.GetCultureInfo(String name)
at System.Globalization.CompareInfo.GetSortingLCID(Int32 culture)
at System.Globalization.CompareInfo..ctor(Int32 culture)
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.Globalization.CultureInfo.GetHashCode()
at System.Collections.Hashtable.GetHash(Object key)
at System.Collections.Hashtable.InitHash(Object key, Int32 hashsize, UInt32& seed, UInt32& incr)
at System.Collections.Hashtable.get_Item(Object key)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture)
at System.Resources.ResourceManager.GetObject(String name)
at SmartDeviceProject5.Form1.InitializeComponent()
at SmartDeviceProject5.Form1..ctor()
at SmartDeviceProject5.Program.Main()
가 난 단지 CE7이 예외가 : 나는 CE7 장치에서 프로젝트를 배포 할 때 (모토로라 MC32N0는) 내가 선 스택 트레이스는
this.imageList1.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
에서 PlatformNotSupportedException를 얻을. 어떤 아이디어?
리소스 이미지 (png, bmp, jpg 등)의 형식은 무엇입니까? 장치가 해당 파일 형식의 압축 풀기를 지원합니까? – ctacke
그 문제의 해결책은 무엇입니까? 나는 나의 위치에 동일 물을 가지고있다. – user461128