We've been struggling with ClickOnce using mage.exe and MageUI.exe to manually deploy the application. Since we're doing continuous integration, we need this to work.
I've spent 4 hours with MS support trying different combinations of deployment to no avail. We've tried everything. Today, I built a sample application to see if it was our projects or MS. Using Visual Studio 2008, I created a new WPF application and left everything at it's default. The XAML for the Window1 file is:
<Window x:Class="ClickOnceTrial.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid>
<TextBlock Text="Hello World"/>
</Grid>
</Window>
Then, change the target for the project to be .net 3.0 instead of .net 3.5. Build and use MageUI to create the application manifest (using just the single exe that's created) and the application file itself. Then try your install. With us, it fails. You don't get much simpler than the above application either.
MS says this is the first report they've had. Are we alone in we're doing? Has anyone else successfully been able to do what's been described above? Is it just something that's broken with our web server setup (server 2003, IIS6, .net 3.5)?
I'd love to hear any stories about what's working and what's not.
Update: Changed it to targeting 3.5 and it didn't make a difference.
Update2: We found the problem and have a work around! Yeah! See this post for details.