I have written a Powershell script to build a solution(.sln) file. My script is working properly without any issues even sanity test passes but the problem is it is not changing the publish version. The solution is needed to be published. It is publishing successfully using
/t:publish
argument. But not able to change the publish version Any idea how I can change publish version using PowerShell. To build the sln file I am using
msbuild foo.sln /p:Configuration=$configuration /t:Publish
Is there any msbuild argument to change the Publish version or any other way.