开发者

ClickOnce PublishUrl not working using MSBuild Task

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜