0
나는 cc.net과 함께 사용할 스크립트가 있습니다. 하지만 지금은 RepositoryPath 특성에 문제가 있습니다.MSBuild (MSBuildCommunityTasks 사용)의 SvnInfo 문제
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
ToolsVersion ="3.5">
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />
<Target Name="RemoteInfo">
<SvnInfo RepositoryPath="http://msbuildtasks.tigris.org/svn/msbuildtasks/trunk/Master.proj">
<Output TaskParameter="RepositoryPath" PropertyName="RepositoryPath" />
<Output TaskParameter="RepositoryRoot" PropertyName="RepositoryRoot" />
<Output TaskParameter="LastChangedAuthor" PropertyName="LastChangedAuthor" />
<Output TaskParameter="LastChangedRevision" PropertyName="LastChangedRevision" />
<Output TaskParameter="LastChangedDate" PropertyName="LastChangedDate" />
<Output TaskParameter="Schedule" PropertyName="Schedule" />
<Output TaskParameter="NodeKind" PropertyName="NodeKind" />
<Output TaskParameter="RepositoryUuid" PropertyName="RepositoryUuid" />
</SvnInfo>
<Message Text="RepositoryRoot: $(RepositoryRoot)" />
<Message Text="RepositoryPath: $(RepositoryPath)" />
<Message Text="LastChangedAuthor: $(LastChangedAuthor)" />
<Message Text="LastChangedRevision: $(LastChangedRevision)" />
<Message Text="LastChangedDate: $(LastChangedDate)" />
<Message Text="Schedule: $(Schedule)" />
<Message Text="NodeKind: $(NodeKind)" />
<Message Text="RepositoryUuid: $(RepositoryUuid)" />
</Target>
</Project>
명령 행 :
D:\Test>msbuild test.build /target:RemoteInfo
대답은 다음 스크립트 (MSBuildCommunityTask에서 샘플 스크립트의 추출물은) 나에게 문제를주고있다으로 번역 될 수
D:\_SolutionTrunk\build\test.build(7,2): error MSB6001: Ungültiger Befehlszeilenschalter für "svn.exe". Illegales Zeichen im Pfad.
: "svn.exe"에 대한 명령 줄 스위치가 잘못되었습니다. 경로상의 불법 문자. 물론
실제로 나는 RepositoryPath = "https로 내 스크립트하여 SvnCheckout 작업을 사용합니다 : //mySvnServer.myIntranet.myDomain : 8443/SVN/저장소/someName/트렁크
난 항상 같은 오류에 직면하고있다.
나는 또한이 문제가 있었고 그것은 똑같은 것이었다. 신비가 풀렸다. –