Publish fails for WPF app using November CTP

If I publish a simple WPF app tohttp://localhost/TestClick I get the following error:

Error 1 Publish failed with the following error: Object reference not set to an instance of an object. 1 1 WindowsApplication1

Here is the info from the error log:
System.NullReferenceException: Object reference not set to an instance of an object. at System.Xml.XmlReader.CalcBufferSize(Stream input) at System.Xml.XmlTextReaderImpl.InitStreamInput(Uri baseUri, String baseUriStr, Stream stream, Byte[] bytes, Int32 byteCount, Encoding encoding) at System.Xml.XmlTextReaderImpl..ctor(String url, Stream input, XmlNameTable nt) at System.Xml.XmlTextReader..ctor(Stream input) at Microsoft.VisualStudio.Publish.BaseProvider.Util.XslTransform(String ns, String resource, Stream input, XmlResolver resolver, Evidence evidence) at Microsoft.VisualStudio.WPFPublish.ClickOnceProvider.PublishWebBuilder.BuildWebPage(BuildOutputFolder PublishFolder) at Microsoft.VisualStudio.WPFPublish.ClickOnceProvider.PublishWebBuilder.Build() at Microsoft.VisualStudio.WPFPublish.ClickOnceProvider.BuildManager.Publish() at Microsoft.VisualStudio.WPFPublish.BaseProvider.BuildManager.InvokePublish()
If I deploy the project to c:\test and in the second step select deploy to a share the app gets deployed to c:\test but no html page goes in the share and I get:
Warning: Unable to view published application at\\mycomputer\c$\deploy\publish.htm.
\\mycomputer\c$\deploy\publish.htm.

[1831 byte] By [BrianW] at [2007-12-17]
# 1
I think this error happened to me before. Try disabling the publish option:

"automatically generate deployment web page after each publish" .
I think this particular feature is broken in the November WinFX build.

makutaku at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2

That was exactly the problem! I cleared the checkbox as suggested and the publish worked. I copied a publish.htm file from a previously published winforms click once application, updated the html to reflect the name of this project and it worked just fine.

Thank You!
Brian

BrianW at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3
We'll get this fixed. Unfortunately the December CTP bits are already locked down, so the fix won't show up until next year.
MarkKenworthy at 2007-9-8 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified