Community task msbuild and svn commit

I am currently using the MSGuild community project for tigris open source projects, and I have some problems with the SvnCommit task. I do not know how to use the Targets attribute. I have this line in my project:

<SvnCommit Username="myName" Password="myPsswd" LocalPath="$(myPath)" ToolPath="$(SvnPath)" Targets="myFile.zip"/>

and I have an error: "c: \ blabla" - which is part of $ (myPath) - is not a working copy; svn: Cannot open file 'c: \ blabla.svn \ Entries "

If anyone has some ideas, they are welcome!

Maybe I can use the RepositoryPath attribute?

+3
source share
1 answer

ok , , . , -, pb...

"Target"! ItemGroup:

<ItemGroup>
  <ToCommit Include="$(myPath)/myFile.zip" />
</ItemGroup>

:

<SvnCommit Username="myName" Password="myPsswd" LocalPath="$(myPath)" ToolPath="$(SvnPath)" Targets="@(ToCommit)"/>
+4

Source: https://habr.com/ru/post/1706951/


All Articles