Windows Mobile 개발을 위해 SDK를 설치한 후 VIsual Studio 2008에서 Smart Device 프로젝트를 생성하는 데 다음과 같은 에러가 발생하였습니다.
Object reference not set to an instance of an object
이럴 땐 다음과 같은 작업을 해줍니다.
시작 > 모든 프로그램 > Micrsoft Visual Studio 2008 > Visual Studio Tools > Visual Studio 2008 Command Prompt
1. devenv /resetskippkgs 입력
(VS가 자동실행 됩니다.)
2. VS 종료
3. devenv /setup 입력
4. devenv 입력
VS가 재실행되면서 Mobile Device 프로젝트를 실행할 수 있습니다.
저는 이렇게 해도 안되서 다음 방법도 시도해보았습니다.
1. Windows Mobile SDK 재설치
2. .NETCF 3.5 redistributable 재설치
http://www.microsoft.com/downloads/details.aspx?FamilyID=E3821449-3C6B-42F1-9FD9-0041345B3385&displaylang=en
이렇게 설치하고 컴퓨터를 재부팅하니 잘 됩니다. ^^
댓글 없음:
댓글 쓰기