开发者

ClickOnce PublishUrl not working using MSBuild Task

开发者 https://www.devze.com 2023-01-12 21:38 出处:网络
I have a CruiseControl .NET bui开发者_如何转开发ld server running on Windows Server 2003, and I am trying to build and publish my Wpf (3.5) ClickOnce application using msbuild 4. The task in my build

I have a CruiseControl .NET bui开发者_如何转开发ld server running on Windows Server 2003, and I am trying to build and publish my Wpf (3.5) ClickOnce application using msbuild 4. The task in my build script is as follows:

<MSBuild Projects="src\TestProject\TestProject.csproj"
                    Targets="publish"          
                    Properties="PublishUrl=c:\testwpf\;InstallUrl=http://devserver/TestProjectUpdates/;" />

However after running the build the installation does not get deployed to c:\testwpf\ folder. However I can see the installation created in bin\release folder of the source.

Any idea why its not deploying the files to the specified PublishUrl?


Well the Property that I should be using is PublishDir instead of PublishUrl.

http://social.msdn.microsoft.com/Forums/en/msbuild/thread/4748f516-491b-4019-a2bb-fc3b1e99e98b

0

精彩评论

暂无评论...
验证码 换一张
取 消