C1 Sample 이 빌드된 Binary 도 없는 데다가 샘플도 각각 열어서 직접 빌드한 다음 확인하는게 넘 불편해서리
솔루션 하나로 쉽게 묶을 방법을 찾다가.........
VS Extension 이 있을까해서 찾아봤지만 없네? 예전에 본것 같은데.. 현재로써는 검색 실패!!.........
.........
add multiple existing project to Solution으로 구글링하다가 발견
==============================================================================================
편의를 위해 VS 2010 에 PowerConsole Extension 설치 후
PowerConsole 창에서 다음을 실행(참조 경로의 내용에서 살짝만 수정함)
$scriptDirectory = "D:\KKOMZI\Code_Test\C1Samples"
$dteObj = [System.Activator]::CreateInstance([System.Type]::GetTypeFromProgId("VisualStudio.DTE"))
$slnDir = ".\"
$slnName = "All"
$pjtDir = "C:\Program Files (x86)\ComponentOne Studio.NET 2.0\C1FlexGrid\Samples\CS"
$dteObj.Solution.Create($scriptDirectory, $slnName)
(ls $pjtDir -Recurse *.csproj) | % { $dteObj.Solution.AddFromFile($_.FullName, $false) }
$dteObj.Solution.SaveAs( (Join-Path $scriptDirectory 'All.sln') )
$dteObj.Quit()
솔루션 파일 경로와 프로젝트를 로딩할 경로를 각각 지정해서
지정된 폴더 하위의 프로젝트들을 솔루션 하나로 묶어줌.
VS2010 에서 테스트 해보니 현재 VS 보다 하위 버전의 프로젝트인 경우는 알아서 Skip 하고 진행됨.
다."
위치 줄:1 문자:67
+ (ls $pjtDir -Recurse t*.csproj) | % { $dteObj.Solution.AddFromFile <<<< ($_.FullName, $true) }
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
모두 추가할려면 개별 프로젝트를 일일이 변환 한 다음 추가해 줘야함
-> 아래 스샷을 보면 변환이 무슨 의미인지 알겠지?? ( 나중에 혹시 헷갈리지 않을까 해서리.. )