clickonce - How do I control what appears in the the 'Application Files...' dialog in Visual Studio 2008? -
I'm using click on Visual Studio 2008 SP1 for a little while. But I recently changed my Dev environment and my .csproj file has now lost the list of files that I need.
No longer in the 'Applications Files ...' dialog
Has anyone seen this issue before?
Thank you in advance, January
In your source control system, you can use the old CSPOs Seeing the list can repair - in particular, & lt; PublishFile & gt;
Entries, such as (for a trivial test):
& lt; Item group & gt; & Lt; Include PublishFile = "TextFile1.txt" & gt; & Lt; Visible & gt; False & lt; / Viewable & gt; & Lt; Groups & gt; & Lt; / Groups & gt; & Lt; TargetPath & gt; & Lt; / TargetPath & gt; & Lt; PublishState & gt; Include & lt; / PublishState & gt; & Lt; IncludeHash & gt; This is true & lt; / IncludeHash & gt; & Lt; FileType & gt; File & lt; / File-type & gt; & Lt; / PublishFile & gt; & Lt; / ItemGroup & gt;
Note that this can only be recorded for clear entries in it - if files are being fully published they will not appear in csproj .
Just edit the CSPOs file as XML and repair / replace any broken entries using your old (functional) CSPOjages as a template.
Comments
Post a Comment