게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
본삭금] 닷넷, VIsualStudio, dll, powershell
게시물ID : programmer_9355짧은주소 복사하기
작성자 : TMAX
추천 : 0
조회수 : 393회
댓글수 : 2개
등록시간 : 2015/04/15 10:04:09

제목을 어떻게 써야할지조차 몰라서 죄송합니다
닷넷을 다뤄본적이 없어서 혼란이 와서....


제가 다루는 미국 솔루션 업체에서 제공하는 example 이 있는데, 테스트해보고 싶습니다

configuration.format.ps1xml
configurationcmdlet.csproj
configurationcmdlet.sln
configurationconsolefile.psc1
configurationpssnapin.cs
startpowershell.bat

나머지 cs 파일들 생략하고 이러한 파일들이 있습니다.

이 example 은 윈도우의 PowerShell 을 통해 어떤 설정을 하겠다는 것 같은데요.
readme.txt 파일에는 다음과 같은 내용이 있습니다.

-- SnapIn --

        The SnapIn registers all cmdlets within the ConfigurationCmdlet.dll
        library with PowerShell and allows them to be used inside a shell. The
        first step is to register the DLL with PowerShell. Microsoft provides an
        InstallUtil program which will perform this action. The following
        command will install the DLL when executed in the directory where the
        DLL exists.

        PS> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil
        PS> installutil ConfigurationCmdlet.dll


대략 느낌은 PowerShell 에서 이 행동을 취하기 위해 스냅인에 등록해야 하는 듯 한데
install 되는 파일은 dll 파일입니다.

헌데 제공되는 파일에는 dll 파일이 없습니다.


제공된 소스를 가지고 컴파일을 해서 dll 파일을 만든 뒤
스냅인에 등록해야 하는 걸까요?
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호