-
7. C#배포시 주의사항C# 2017. 1. 28. 20:53반응형
인터넷강의 보고 따라하지만.. 강의 내용대로 안되서 다시 정리해 봅니다.
배우면서 쓰는글이기 때문에 정답이 아닐수 있습니다.
C#으로 만든 프로그램은 닷넷 환경에서만 실행된다.
그래서 , 배포될 컴퓨터에 닷넷 프레임워크가 반드시 설치되어 있어야한다.
(버전또한 맞아야 한다.)
이러한 사항때문에 프로젝트를 배포할 때는 , 프로젝트 안에 프레임 워크를 같이 컴파일 해서 배포해야한다.
1. visual studio 에서 project - properties 클릭
2. public 클릭
3. Prerequisites... 클릭
4. 포함시킬 프레임 워크 체크
이렇게 설정을 하면 된다.
반응형'C#' 카테고리의 다른 글
9. C# Console - TTS 서비스 이용하기. (1) 2017.02.04 8. C# 상수(데이터 타입) (0) 2017.02.01 6. C#의 메모리 관리 (0) 2017.01.28 5. 닷넷(.NET) 프레임워크란? (0) 2017.01.28 4. C# 웹 어플리케이션 만들기 (0) 2017.01.28