vb.net - How can I reset Visual Studio's publishing configuration to default? -
i hobbyist programmer sorry if asking question should know reply to. searched answer, never found it, thought bring together , post question here.
i have vb 2010 express code have written wished deploy web page. used visual studio's clickonce publishing scheme , pleased results.
after couple of versions published went publisher's configuration manager explore options.
that my, uhhh, mistake. changed many things thought create things nicer deployment screwed because versions, working versions no longer deploy correctly. if click download , installation, install starts installer complains there error wants study microsoft.
is there way reset publish configuration it's starting values? running vb on xp visual studio 2010 express.
i able reset publish settings actual project comparing content of project files 2 sample projects, 1 publishing , other 1 without , identifying entries added. used fc dos command output differences text file (the file extensions .csproj since mine c# project):
fc publish_project.csproj non_publish_project.csproj > diff.txt i examined diff.txt , found changed. deleting next entries real project file reset publish alternative (do backup first!):
<iswebbootstrapper>true</iswebbootstrapper> <publishurl>ftp://ftpserver.com/</publishurl> <install>false</install> <installfrom>web</installfrom> <updateenabled>true</updateenabled> <updatemode>foreground</updatemode> <updateinterval>7</updateinterval> <updateintervalunits>days</updateintervalunits> <updateperiodically>false</updateperiodically> <updaterequired>false</updaterequired> <mapfileextensions>true</mapfileextensions> <installurl>http://www.myproduct.net/project1/downloads/</installurl> <createwebpageonpublish>true</createwebpageonpublish> <webpage>publish.htm</webpage> <applicationrevision>0</applicationrevision> <applicationversion>1.0.0.%2a</applicationversion> <useapplicationtrust>false</useapplicationtrust> <publishwizardcompleted>true</publishwizardcompleted> <bootstrapperenabled>true</bootstrapperenabled> ... <propertygroup> <targetzone>localintranet</targetzone> </propertygroup> <propertygroup> <generatemanifests>true</generatemanifests> </propertygroup> ... <itemgroup> <bootstrapperpackage include="microsoft.net.client.3.5"> <visible>false</visible> <productname>.net framework 3.5 sp1 client profile</productname> <install>false</install> </bootstrapperpackage> <bootstrapperpackage include="microsoft.net.framework.3.5.sp1"> <visible>false</visible> <productname>.net framework 3.5 sp1</productname> <install>true</install> </bootstrapperpackage> <bootstrapperpackage include="microsoft.windows.installer.3.1"> <visible>false</visible> <productname>windows installer 3.1</productname> <install>true</install> </bootstrapperpackage> </itemgroup> vb.net visual-studio-2010 clickonce
No comments:
Post a Comment