2011-09-12 4 views
0

Microsoft.WindowsMo​​bile.Statusを追加すると問題が発生します。リファレンスとコードMicrosoft.WindowsMo​​bile.Statusを追加するときの問題

private SystemState displayRotationState = new SystemState(SystemProperty.DisplayRotation); 

iは

Error 1 The type 'Microsoft.WindowsMobile.IApplicationLauncher' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.WindowsMobile, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. C:\Projekti\Skladiscenje\Skladiscenje\Skladiscenje\CustomForms\NonFullscreenForm.cs 12 25 Skladiscenje 

何が間違っているとどのようにそれを解決するためには、取得しますか?

答えて

2

エラーがはっきりわかりますと、あなたはまた、アセンブリへの参照を追加する必要があります、あなたがこれを行った後

Microsoft.WindowsMobile 

が、それは、OPSを動作するはずですが、少なくとも:)

をコンパイル
関連する問題