Publish fails for WPF app using November CTP
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.

