<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:re="http://purl.org/atompub/rank/1.0">
<title type="text">Active editorials tagged one-click-web-publishing - TecKhan54 Editorial</title>
<link rel="self" href="http://teckhan54editorial.com/feeds/tag/one-click-web-publishing" type="application/atom+xml" />
<link rel="alternate" href="http://stackoverflow.com/editorials/tagged/?tagnames=one-click-web-publishing&amp;sort=active" type="text/html" />
<subtitle>most recent editorials from stackoverflow.com</subtitle>
<updated>2014-03-20EST14:12:01Z</updated>
<id>http://stackoverflow.com/feeds/tag/one-click-web-publishing</id>
<creativeCommons:license>http://www.creativecommons.org/licenses/by-sa/3.0/rdf</creativeCommons:license>
<entry>
<id>http://stackoverflow.com/e/10910336</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">One-click publish in vs 2014: how to remove _ConnectionStringsToInsert?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="msdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="webdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>TecKhan54x</name>
<uri>http://stackoverflow.com/users/teckhan54</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/10910336/one-click-publish-in-vs-2012-how-to-remove-connectionstringstoinsert" />
<published>2014-21-03T08:05:17Z</published>
<updated>2014-03-20EST21:37:34Z</updated>
<summary type="html">


&lt;p&gt;I usually put my connection string to a separate file, adding something like this in web.config:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;connectionStrings configSource=&quot;WebConnection.config&quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I&#39;ve just installed VS 2012 and it automatically picked up my existing publish settings.
However, when I do a webpublish it now adds two connections strings by itself, so my web.config on the deployment target now looks like that:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;connectionStrings configSource=&quot;WebConnection.config&quot;&amp;gt;
&amp;lt;add name=&quot;EF.Model.DbContext&quot; connectionString=&quot;EF.Model.DbContext_ConnectionString&quot; providerName=&quot;System.Data.SqlClient&quot; /&amp;gt;
&amp;lt;add name=&quot;Migrations.Db.MigrationDb&quot; connectionString=&quot;Migrations.Db.MigrationDb_ConnectionString&quot; providerName=&quot;System.Data.SqlClient&quot; /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;certainly, that produces an error (node contents must be empty when using &lt;code&gt;configSource&lt;/code&gt;).
I noticed, that in newly generated .pubxml files (where publish settings are now stored) there are following lines:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;ItemGroup&amp;gt;
&amp;lt;_ConnectionStringsToInsert Include=&quot;EF.Model.DbContext&quot; /&amp;gt;
&amp;lt;_ConnectionStringsToInsert Include=&quot;Migrations.Db.MigrationDb&quot; /&amp;gt;
&amp;lt;/ItemGroup&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;How can I remove them? :) If I delete them from file, Web-publish dialog adds them anytime I edit the publish settings.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/22251710</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">Signature error reading manifest from VSTO file</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="outlook-addin"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="outlook-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>leteciHolandez</name>
<uri>http://stackoverflow.com/users/2160341</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/22251710/signature-error-reading-manifest-from-vsto-file" />
<published>2014-03-07T13:41:08Z</published>
<updated>2014-03-07T13:47:32Z</updated>
<summary type="html">


&lt;p&gt;i develop Outlook 2010 AddIn with VS2010 and sign OneClick manifest with .pfx file.
Then I publish project to IIS site and everything works fine. I download setup.exe and AddIn works ok.&lt;/p&gt;

&lt;p&gt;Then I made copy of same project, sign them with same .pfx certificate.
After publishing new project to IIS, when I download EXE and start I get following
error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;************** Exception Text **************
System.Deployment.Application.InvalidDeploymentException:
Exception reading manifest from file:///C:/Users/ADMINI~1/AppData/Local/Temp/2/DMS.OutlookAddIn-2.vsto: the manifest may not be valid or the file could not be opened.
---&amp;gt; System.Deployment.Application.InvalidDeploymentException: Manifest XML signature is not valid.
---&amp;gt; System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied.
at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key)
at System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm&amp;amp; signingKey)
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After that when I try to install my first Add in project I got same error.
Did anyone had similar problem? Is it possible to sign two one click manifest file with same
certificate?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/18236080</id>
<re:rank scheme="http://stackoverflow.com">3</re:rank>
<title type="text">Visual Studio 2012 Web Deploy publish preview shows all files as changed</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="preview"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-publishing"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Evan Haas</name>
<uri>http://stackoverflow.com/users/612265</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/18236080/visual-studio-2012-web-deploy-publish-preview-shows-all-files-as-changed" />
<published>2013-08-14T15:34:24Z</published>
<updated>2014-03-04T16:32:13Z</updated>
<summary type="html">


&lt;p&gt;The Preview pane of the Web Publishing dialog in Visual Studio 2012 works quite nicely when you&#39;re the only developer working on the codebase (see example below):
&lt;img src=&quot;http://i.stack.imgur.com/qATz6.png&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;However, it seems to fall down when multiple developers use it. It appears to use file timestamps as the means of comparsion, so even if you&#39;ve gotten latest from TFS, your timestamp is different than the file the other guy published on the server, so it includes a lot of phantom changes in the list (once you drill in, the two panes of the diff are the same).&lt;/p&gt;

&lt;p&gt;Has anyone come up with a workaround for this scenario?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/15573899</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">Visual Studio One-Click Deployment &quot;succeeds&quot;, but no files publish</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net-mvc-4"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Robert</name>
<uri>http://stackoverflow.com/users/417579</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/15573899/visual-studio-one-click-deployment-succeeds-but-no-files-publish" />
<published>2013-03-22T15:19:57Z</published>
<updated>2014-01-21T12:20:48Z</updated>
<summary type="html">


&lt;p&gt;Here is the output after the build/web.config transformation:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
Publishing folder /...
Site was published successfully pathgoeshere
========== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;yet when it loads the root folder, nothing is there. Going to the site gives a Server Error of&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;401 - unauthorized: access is denied due to invalid credentials
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;understandable considering nothing is in that directory, I believe. If possibly misleading.&lt;/p&gt;

&lt;p&gt;To work around this issue, I copied and pasted the release of the deployment server to the production server. I didn&#39;t have access issues doing this so I don&#39;t believe it was preventing me from deploying due to permissions.&lt;/p&gt;

&lt;p&gt;How do I troubleshoot this particular scenario?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/20517548</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">UAC prompt while installing from internet explorer</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="windows-7"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="installshield"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="uac"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>CodeJunkie</name>
<uri>http://stackoverflow.com/users/3069892</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/20517548/uac-prompt-while-installing-from-internet-explorer" />
<published>2013-12-11T11:11:41Z</published>
<updated>2013-12-31T21:48:45Z</updated>
<summary type="html">


&lt;p&gt;Hi have created an installer which installs the application at user level.
When i extract setup.exe from the cab file and run locally it does not prompt me for UAC and installs normally and installs in user context.&lt;/p&gt;

&lt;p&gt;The application and cab are digitally signed.&lt;/p&gt;

&lt;p&gt;But when i install the same using one click installer it prompts me for UAC and installs it in admin context.&lt;/p&gt;

&lt;p&gt;Can any throw some light why same setup.exe behaving differently?&lt;/p&gt;

&lt;p&gt;What can i do to avoid this?&lt;/p&gt;

&lt;p&gt;I want my application to be installed at user level without admin access?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/20689746</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">How to include a zip file in a click once application deployment</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="c#"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Nikki Locke</name>
<uri>http://stackoverflow.com/users/862344</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/20689746/how-to-include-a-zip-file-in-a-click-once-application-deployment" />
<published>2013-12-19T19:08:14Z</published>
<updated>2013-12-19T19:08:14Z</updated>
<summary type="html">


&lt;p&gt;I have a click once application which is part of a larger project.&lt;/p&gt;

&lt;p&gt;My solution file builds all the parts of the project, building the click-once app last.&lt;/p&gt;

&lt;p&gt;As part of the post build step, I zip up other parts of the project into a zip file. The zip file is included in the click once project (Build action:Content).&lt;/p&gt;

&lt;p&gt;When I try to install the click once project, I always get a manifest checksum mismatch for the zip file.&lt;/p&gt;

&lt;p&gt;At what part of the build process is the zip file checksum computed for including in the manifest? Is it done during build, (and if so, before or after the post-build steps), or during the publish?&lt;/p&gt;

&lt;p&gt;Where does the publish process get the files from - the build output directory, or somewhere else?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/20685576</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Why does my signed, click-once application say it has an unknown publisher</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="c#"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="code-signing"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Nikki Locke</name>
<uri>http://stackoverflow.com/users/862344</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/20685576/why-does-my-signed-click-once-application-say-it-has-an-unknown-publisher" />
<published>2013-12-19T15:32:24Z</published>
<updated>2013-12-19T16:09:15Z</updated>
<summary type="html">


&lt;p&gt;I want to create an application that is easy to install. The installation process is quite complex (lots of permissions, firewall rules, services, etc.). So I decided to write the setup program in C# (.net 4), and then make the setup program itself a click-once install.&lt;/p&gt;

&lt;p&gt;The idea was that the user would go to the website, click install, my setup program would be installed on their computer by click once, and then it would run, setting up the main program.&lt;/p&gt;

&lt;p&gt;In order to make this an easy process, I obviously had to sign all the executables. I bought a Comodo code signing certificate, installed it in my certificate store, and ticked &quot;Sign the Click Once manifests&quot; in VS Express 2012. I also included a post-build step which ran&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;SIGNTOOL.EXE sign /f TrumphurstCodeCertificate.pfx /p &amp;lt;my password&amp;gt; TimeClockSetup.exe
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I cleaned everything out of my build folder and the deployment website, and ran a clean build.&lt;/p&gt;

&lt;p&gt;I checked the properties of the executable in the build folder, and it was shown as published by me.&lt;/p&gt;

&lt;p&gt;I published the program to the web site, started a different Windows 8 computer, navigated to the web site, and clicked the Install button.&lt;/p&gt;

&lt;p&gt;I was prompted &lt;code&gt;Do you want to run or save setup.exe&lt;/code&gt;, and selected run.&lt;/p&gt;

&lt;p&gt;Then I was prompted &lt;code&gt;setup.exe is not commonly downloaded and could harm your computer&lt;/code&gt; - I clicked Actions, and it said &lt;code&gt;This program might harm your computer&lt;/code&gt;. It did say the publisher was Trumphurst Ltd, and gave me the option to run anyway, which I clicked.&lt;/p&gt;

&lt;p&gt;Then I got &lt;code&gt;&quot;Open File - Security Warning&quot;, for &quot;.....\TimeClockSetup.exe&quot;, &quot;Publisher: Unknown Publisher&quot;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;How come the exe showed as &lt;code&gt;Unknown publisher&lt;/code&gt;?&lt;/p&gt;

&lt;p&gt;I browsed to the exe in the user data directory it had been installed in, and no &quot;Digital Signatures&quot; tab showed in the Properties dialog.&lt;/p&gt;

&lt;p&gt;However, if I browse to the exe in my build folder,it has a signature.&lt;/p&gt;

&lt;p&gt;Later I remember reading somewhere that some parts of the build or publish process use the exe file in the obj folder rather than the one in the build output folder, so I added signing that to the post build steps - it made no difference.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/19769274</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">VS2012 publish release build fails</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net-mvc"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="wcf"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>halcwb</name>
<uri>http://stackoverflow.com/users/762571</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/19769274/vs2012-publish-release-build-fails" />
<published>2013-11-04T13:57:26Z</published>
<updated>2013-11-04T14:19:00Z</updated>
<summary type="html">


&lt;p&gt;I am using the web publish procedure in VS2012 to deploy my MVC 4 project to a remote IIS server. This works fine when publishing a debug configuration. However, when I try to deploy a release configuration, the build fails. The setup is that I use the MVC 4 framework, but I have all my controllers in a separate F# project. The controllers consume web services that can be accessed by using a client library that generates the clients using F# type providers. When the release configuration is building I notice multiple errors because the wcf types are no longer valid. Yet, the lib providing these types has been build al ready.&lt;/p&gt;

&lt;p&gt;Using exactly the identical setup but changing the build configuration to debug (in the web publish dialog under settings), I can publish the solution without any problems.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/18082674</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">Visual Studio Web Publish causes VPN connection to disconnect</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="vpn"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Theophilus</name>
<uri>http://stackoverflow.com/users/2615878</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/18082674/visual-studio-web-publish-causes-vpn-connection-to-disconnect" />
<published>2013-08-06T14:14:52Z</published>
<updated>2013-10-22T21:40:32Z</updated>
<summary type="html">


&lt;p&gt;I have a web application project in Visual Studio 2010 SP1. It publishes correctly when I am working from the office. However, when working remotely using a VPN connection, the VPN connection disconnects a few seconds after the Start Preview operation is started. Any ideas why the VPN drops?&lt;/p&gt;

&lt;p&gt;I am using the &lt;a href=&quot;http://msdn.microsoft.com/library/jj161045&quot; rel=&quot;nofollow&quot;&gt;Web Publish Update&lt;/a&gt;.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/13160208</id>
<re:rank scheme="http://stackoverflow.com">2</re:rank>
<title type="text">Web Deploy: How to keep files on a specific destination folder</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net-mvc-3"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>fcaldera</name>
<uri>http://stackoverflow.com/users/935139</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/13160208/web-deploy-how-to-keep-files-on-a-specific-destination-folder" />
<published>2012-10-31T14:27:46Z</published>
<updated>2013-04-30T17:46:25Z</updated>
<summary type="html">


&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Visual Studio 2012 web publishing: web Deploy method.&lt;/li&gt;
&lt;li&gt;&quot;Remove additional files at destination&quot; option selected.&lt;/li&gt;
&lt;li&gt;MVC3 website with a &quot;upload&quot; folder&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;How to keep the existing files on destination for the upload folder without removing the &quot;Remove addtional files...&quot; option from the deployment settings?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/16241871</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Cannot find File Location after Publishing</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Matt</name>
<uri>http://stackoverflow.com/users/2094217</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/16241871/cannot-find-file-location-after-publishing" />
<published>2013-04-26T17:16:44Z</published>
<updated>2013-04-26T17:56:24Z</updated>
<summary type="html">


&lt;p&gt;So I have an application that works great on my own personal computer in debug mode and release mode. The issue is that after I publish it to a oneClick Application it can no longer find the specified file.&lt;/p&gt;

&lt;p&gt;Here is my code:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Public Class Form1

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim usr As String = TextBox1.Text
Dim pass As String = TextBox2.Text
WebBrowser1.Navigate(&quot;www.website.com/api.php?action=authenticate&amp;amp;username=&quot; &amp;amp; usr &amp;amp; &quot;&amp;amp;password=&quot; &amp;amp; pass)

Dim Delay = 5000
System.Threading.Thread.Sleep(Delay)

Dim PageSource = WebBrowser1.DocumentText
If TextBox1.Text = &quot;&quot; And TextBox2.Text = &quot;&quot; Then
MsgBox(&quot;You have to input a valid SG Username and Password&quot;, MsgBoxStyle.Critical)
ElseIf TextBox1.Text = &quot;&quot; Then
MsgBox(&quot;You have to input a valid SG Username&quot;, MsgBoxStyle.Critical)
ElseIf TextBox2.Text = &quot;&quot; Then
MsgBox(&quot;You have to input your SG Password&quot;, MsgBoxStyle.Critical)
Else
Dim Good = &quot;hash&quot;
Dim Check = InStr(PageSource, Good)
If Check &amp;gt; 0 Then
System.Diagnostics.Process.Start(&quot;Run.bat&quot;)**
Else
MsgBox(&quot;Incorrect Username/Password&quot;, MsgBoxStyle.Critical)
TextBox2.Text = &quot;&quot;
Delay = Delay + 2000
TextBox2.Select()
End If
End If
End Sub
End Class
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I have three extra files in the /bin/release folder. a file to run, the application, and Run.bat to execute. The application is a form that executes the file upon valid login.
My question is why cant it find the files to run before publishing, but not after?
It there a way to code in some sort of include?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/15958673</id>
<re:rank scheme="http://stackoverflow.com">0</re:rank>
<title type="text">How to debug publishing a WCF application into Azure when hung?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="azure"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="publishing"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Emiswelt</name>
<uri>http://stackoverflow.com/users/130060</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/15958673/how-to-debug-publishing-a-wcf-application-into-azure-when-hung" />
<published>2013-04-11T20:53:24Z</published>
<updated>2013-04-11T22:34:50Z</updated>
<summary type="html">


&lt;p&gt;I am currently trying to publish a WCF application into the Azure cloud from Visual Studio 2010. &lt;/p&gt;

&lt;p&gt;The publishing wizard builds the solution, but hangs visual studio (not responding), as soon as publishing itself starts. &lt;/p&gt;

&lt;p&gt;There is no sign of high cpu usage or higher memory consumption. Neither re-creating the publishing profile nor clearing the server or cleaning/rebuilding the project helped. &lt;/p&gt;

&lt;p&gt;I am really puzzeld about this, since there is no error and I don&#39;t manage to find a log or something. &lt;/p&gt;

&lt;p&gt;What could be the cause for such a behavior?
Where could I start to find an error? &lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/5738399</id>
<re:rank scheme="http://stackoverflow.com">25</re:rank>
<title type="text">Make Debug/Release Build Configuration with 1 Click Publish dependent on the selected Publish Profile</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term=".net-4.0"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-config"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="publishing"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>David Murdoch</name>
<uri>http://stackoverflow.com/users/160173</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/5738399/make-debug-release-build-configuration-with-1-click-publish-dependent-on-the-sel" />
<published>2011-04-21T01:06:06Z</published>
<updated>2013-03-14T19:12:48Z</updated>
<summary type="html">


&lt;p&gt;This is almost a duplicate of &lt;a href=&quot;http://stackoverflow.com/questions/5410278/link-build-configuration-to-a-publish-profile&quot;&gt;Link build configuration to a publish profile&lt;/a&gt;, but that question was not answered...&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;I have 2 1 Click Publish configurations for my Web Application:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Test Server&lt;/li&gt;
&lt;li&gt;Production Server&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If I select &lt;code&gt;Build&lt;/code&gt; =&gt; &lt;code&gt;Configuration Manager&lt;/code&gt; =&gt; &lt;code&gt;Release&lt;/code&gt; and then click the Publish button my application will be published with a release configuration (and visa versa) - without regard to the current Publish profile selected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But what I REALLY want is...&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;To set the appropriate Build Configuration from the 1 Click Publish settings. &lt;code&gt;Test Server&lt;/code&gt; should be published with my Debug settings and &lt;code&gt;Production Server&lt;/code&gt; should be published with the Release settings.&lt;/p&gt;

&lt;p&gt;I shouldn&#39;t have to make the change from within the Configuration Manager. But I Do.&lt;/p&gt;

&lt;p&gt;So, I have 2 questions:&lt;/p&gt;

&lt;p&gt;Am I just doing it wrong? Based on a little note in the Publish Settings stating &quot;Use Build Configuration Manager to change configuration&quot; this seems like this is exactly how it is intended to work.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://i.stack.imgur.com/mDIHT.png&quot; alt=&quot;booya&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is there another way of having 2 publish profiles, one with a Debug config and one with a Release config?&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;em&gt;The only thing I&#39;m using the debug/release build configurations for is for my Config Transforms that have different connection strings. So, alternative, but still 1 Click, publishing solutions are acceptable.&lt;/em&gt; :-)&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/2566215</id>
<re:rank scheme="http://stackoverflow.com">84</re:rank>
<title type="text">allowDefinition=&#39;MachineToApplication&#39; error when publishing from VS2010 (but only after a previous build)</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net-mvc"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-deployment"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Dann</name>
<uri>http://stackoverflow.com/users/59532</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/2566215/allowdefinition-machinetoapplication-error-when-publishing-from-vs2010-but-on" />
<published>2010-04-02T10:47:33Z</published>
<updated>2013-02-09T19:37:16Z</updated>
<summary type="html">


&lt;p&gt;I can run my Asp.Net MVC 2 application without an issue on my local computer. Just Run / Debug.&lt;/p&gt;

&lt;p&gt;But if I have already built it, I can&#39;t publish it! I have to clean the solution and publish it again. I know this is not system critical, but it&#39;s really annoying. &quot;One Click Publish&quot; is not &quot;Clean solution and then One click publish&quot;&lt;/p&gt;

&lt;p&gt;The exact error is as follows:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Error 11 It is an error to use a
section registered as
allowDefinition=&#39;MachineToApplication&#39;
beyond application level. This error
can be caused by a virtual directory
not being configured as an application
in IIS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strike&gt;I suspect it&#39;s something to do with the Web.Config in the Views folder, but then why only after I build once previously. And just to note, the app works fine once published.&lt;/strike&gt;&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/13425282</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">When precompiling ASP.NET MVC 4 project in Visual Studio 2012, does it try to resolve the entire config chain locally?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-config"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="precompile"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-config-transform"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Lobstrosity</name>
<uri>http://stackoverflow.com/users/63083</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/13425282/when-precompiling-asp-net-mvc-4-project-in-visual-studio-2012-does-it-try-to-re" />
<published>2012-11-16T22:20:41Z</published>
<updated>2012-11-16T22:20:41Z</updated>
<summary type="html">


&lt;p&gt;Can someone please confirm or deny my assumption below and/or offer any alternatives?&lt;/p&gt;

&lt;h2&gt;My Goal&lt;/h2&gt;

&lt;p&gt;I&#39;d like to be able to precompile and merge my ASP.NET MVC 4 application (as documented &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd410108.aspx&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/hh475319.aspx&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;) when one-click publishing to our production environment.&lt;/p&gt;

&lt;h2&gt;The Symptom&lt;/h2&gt;

&lt;p&gt;I&#39;ve got an ASP.NET MVC 4 project in Visual Studio 2012. My &lt;code&gt;Web.config&lt;/code&gt; contains various entries that are removed in the &lt;code&gt;Web.Release.config&lt;/code&gt; transformation. One of the removed entries is the entire &lt;code&gt;configSections&lt;/code&gt; element because we maintain those entries in the production server&#39;s &lt;code&gt;Machine.config&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;However, when I configure my project to precompile and merge for release publication, I get the following error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Unrecognized configuration section our custom section name
&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;My Assumption&lt;/h2&gt;

&lt;p&gt;What I assume is happening is that it is precompiling everything locally before publishing to the production server (which makes perfect sense) but that part of that precompilation process is to resolve and validate the entire &lt;code&gt;.config&lt;/code&gt; chain, from the project&#39;s &lt;code&gt;Web.config&lt;/code&gt; up to my local &lt;code&gt;Machine.config&lt;/code&gt; (which doesn&#39;t make much sense, practically). And since my local &lt;code&gt;Machine.config&lt;/code&gt; does not declare &lt;code&gt;configSections&lt;/code&gt; (or any of the other settings we rely on the production server&#39;s &lt;code&gt;Machine.config&lt;/code&gt; for), the resolved &lt;code&gt;Web.config&lt;/code&gt; doesn&#39;t validate.&lt;/p&gt;

&lt;p&gt;And since the &lt;code&gt;Web.config&lt;/code&gt; doesn&#39;t validate, the site can&#39;t be precompiled and so nothing is ever published to production.&lt;/p&gt;

&lt;h2&gt;The Rub&lt;/h2&gt;

&lt;p&gt;If that is indeed what&#39;s happening, then we won&#39;t be able to precompile, because the only solution I can think of (other than some potential configuration option I haven&#39;t been able to find) would be for all of our developers to have local copies of our production server&#39;s &lt;code&gt;Machine.config&lt;/code&gt; on their machines. And that simply isn&#39;t reasonable because it defeats the whole purpose of having those common settings declared in a single location.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/12674771</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Why could &quot;update database&quot; be missing in visual studio 2012 when publishing?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="c#"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term=".net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="entity-framework"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2012"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Thomas</name>
<uri>http://stackoverflow.com/users/1711913</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/12674771/why-could-update-database-be-missing-in-visual-studio-2012-when-publishing" />
<published>2012-10-01T14:00:42Z</published>
<updated>2012-10-02T08:58:11Z</updated>
<summary type="html">


&lt;p&gt;I&#39;m trying to deploy an application to my webserver and everything works, except that it does not update the remote database.&lt;/p&gt;

&lt;p&gt;With a new demo MVC project you have the option &quot;Update database&quot; when publishing
For some reason that options is not available when I want to publish my own MVC project.&lt;/p&gt;

&lt;p&gt;Why is this option not showing?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I am using EF (database first)&lt;/li&gt;
&lt;li&gt;I am getting a warning under the connectionstring fields: in order to publish a code first model you must enable EF code first migrations. (&lt;em&gt;although this project should not use code first&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Web Deploy 3.0 and the dbDacFx provider are installed on the server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;-- EDIT --
I have now recreated the project, and the update database keeps showing &lt;em&gt;until the first web publish&lt;/em&gt;. then it just disappears and shows the warning &lt;em&gt;in order to publish a code first model you must enable EF code first migrations&lt;/em&gt;. (although im not using code first, im using database first) Is this a bug in VS or what am I doing wrong?&lt;/p&gt;

&lt;p&gt;--FIX--
I got it working by adding another connection string pointing to my database (without EF interference) in web.config: &lt;code&gt;&amp;lt;add name=&quot;DeployCode&quot; connectionString=&quot;Data Source=(localdb)\Projects;Initial Catalog=xxxxx;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;&quot; providerName=&quot;System.Data.SqlClient&quot; /&amp;gt;&lt;/code&gt; &lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/12136131</id>
<re:rank scheme="http://stackoverflow.com">2</re:rank>
<title type="text">WebDeploy and SetACL - too slow in case of lots of files/folders</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="acl"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-deployment"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Shaddix</name>
<uri>http://stackoverflow.com/users/291695</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/12136131/webdeploy-and-setacl-too-slow-in-case-of-lots-of-files-folders" />
<published>2012-08-27T04:11:25Z</published>
<updated>2012-08-27T04:11:25Z</updated>
<summary type="html">


&lt;p&gt;We have an ASP.Net MVC3 site which we&#39;re publishing on IIS using web deploy.&lt;/p&gt;

&lt;p&gt;Under the site root we have a &lt;code&gt;&quot;Data&quot;&lt;/code&gt; folder which we&#39;re using to store uploaded files and the result of their processing.
So, there are lots of files/folders under &lt;code&gt;&quot;Site Root/Data&quot;&lt;/code&gt; at the moment.&lt;/p&gt;

&lt;p&gt;Web deploy is trying to change ACL permissions when publishing and it takes more than 10 minutes in our case (lots of files/folders).&lt;/p&gt;

&lt;p&gt;Now we&#39;re using&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;includesetaclproviderondestination&amp;gt;False&amp;lt;/includesetaclproviderondestination&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to completely disable setacl provider, but sometimes it&#39;s handy to be able to change permissions on newly added dirs with web deploy.&lt;/p&gt;

&lt;p&gt;So, the question is - what could we do in this case besides turning aclprovider off?
Is there a way to set acl permissions non-recursively with web-deploy to make it faster?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/11944454</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Recycling app pool when publishing WCF service</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="wcf"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="iis"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="application-pool"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="webdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Thomas Hong</name>
<uri>http://stackoverflow.com/users/1596780</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/11944454/recycling-app-pool-when-publishing-wcf-service" />
<published>2012-08-14T01:09:24Z</published>
<updated>2012-08-14T01:09:24Z</updated>
<summary type="html">


&lt;p&gt;I&#39;ve developed a WCF web service that contains a dependency on an unmanaged DLL. When I attempt to publish the Web application to a running server (either local or remote) via Visual Studio 2010&#39;s One-Click Web Deploy, the deletion of the existing bin folder fails because that unmanaged DLL is still loaded in memory by IIS, causing the publish operation to fail leaving the web application folder empty except for the undeleted DLL. If I then manually recycle IIS&#39; application pool on the server or restart IIS, I am able to successfully perform the publish operation.&lt;/p&gt;

&lt;p&gt;Is there any way to automate the app pool recycle at the very start of Visual Studio&#39;s publish operation somehow? The server name and web application name varies according to different Web Deploy profiles, just to keep things interesting.&lt;/p&gt;

&lt;p&gt;Alternative suggestions are also welcome.&lt;/p&gt;

&lt;p&gt;Some related links I came across so far:&lt;br/&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/dd465337.aspx&quot; rel=&quot;nofollow&quot;&gt;How to: Deploy a Web Application Project Using One-Click Publish and Web Deploy&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/13a25481-c887-4d1c-b594-e35b8e38268c&quot; rel=&quot;nofollow&quot;&gt;Is it neccassary to recycle the app pool when placing a WCF project to live?&lt;/a&gt;&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/2542301</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Publish to Url the old way VS 2010</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>CoffeeAddict</name>
<uri>http://stackoverflow.com/users/93468</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/2542301/publish-to-url-the-old-way-vs-2010" />
<published>2010-03-30T01:29:28Z</published>
<updated>2012-01-09T03:02:39Z</updated>
<summary type="html">


&lt;p&gt;Anyone know if you can simply publish to a url? I don&#39;t know what the heck the new publish to web is but I don&#39;t like it. I want to be able to just publish to a url like I was able to in VS 2008 and down. I don&#39;t have a service endpoint to give it so not sure how to do this.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/5714508</id>
<re:rank scheme="http://stackoverflow.com">5</re:rank>
<title type="text">Folder not uploading with VS Publish / Web Deploy</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net-mvc-3"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="webdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Paul Brown</name>
<uri>http://stackoverflow.com/users/545490</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/5714508/folder-not-uploading-with-vs-publish-web-deploy" />
<published>2011-04-19T09:48:29Z</published>
<updated>2011-09-02T15:39:42Z</updated>
<summary type="html">


&lt;p&gt;I am using the Publish / Web Deploy option within VS 2010 to publish my ASP.NET MVC3 website.&lt;/p&gt;

&lt;p&gt;However it does not by default publish my &quot;files&quot; folder that I have highlighted below.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;http://i.stack.imgur.com/PppvC.jpg&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Any ideas how I can get this file included during publishing?&lt;/p&gt;

&lt;p&gt;Thanks Paul&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/6852155</id>
<re:rank scheme="http://stackoverflow.com">8</re:rank>
<title type="text">Can I retain folder permissions during one-click web publishing?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="iis"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="msdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Lobstrosity</name>
<uri>http://stackoverflow.com/users/63083</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/6852155/can-i-retain-folder-permissions-during-one-click-web-publishing" />
<published>2011-07-27T22:48:18Z</published>
<updated>2011-07-29T05:23:23Z</updated>
<summary type="html">


&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: I know that I can retain folder permissions if i check the &quot;Leave extra files on destination&quot; checkbox &lt;em&gt;but I don&#39;t want to do that&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;That said, is there any way to have one-click web publishing in Visual Studio 2010 retain the permissions of a folder on the remote server?&lt;/p&gt;

&lt;p&gt;Specifically, I want the app pool account to have modify permissions to the App_Data folder, but the permissions always get reset during the publish process.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/5724752</id>
<re:rank scheme="http://stackoverflow.com">2</re:rank>
<title type="text">Visual Web Developer 2010 Express Web.config transform question</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-config"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-web-developer"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Ray K. Ragan</name>
<uri>http://stackoverflow.com/users/574409</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/5724752/visual-web-developer-2010-express-web-config-transform-question" />
<published>2011-04-20T01:59:13Z</published>
<updated>2011-06-27T22:22:31Z</updated>
<summary type="html">


&lt;p&gt;I cannot for the life of me figure out how to force Visual Web Developer 2010 Express to use my Web.Release.config when I&#39;m publishing my web application. I&#39;m using FTP to publish my webapp to a remote server. Each time I publish, the build uses my Web.Debug.config.&lt;/p&gt;

&lt;p&gt;I know I&#39;m overlooking something simple and would really appreciate a clue.&lt;/p&gt;

&lt;p&gt;Respectfully,&lt;/p&gt;

&lt;p&gt;Ray&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/4550090</id>
<re:rank scheme="http://stackoverflow.com">7</re:rank>
<title type="text">ASP.NET Web Application (MVC) Deployment Automation and Subversion</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="svn"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="automation"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-deployment"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Keith</name>
<uri>http://stackoverflow.com/users/114547</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/4550090/asp-net-web-application-mvc-deployment-automation-and-subversion" />
<published>2010-12-28T22:37:24Z</published>
<updated>2011-01-11T15:07:29Z</updated>
<summary type="html">


&lt;p&gt;We are trying to automate the build process to our staging servers but have run into a snag, albeit fairly minor. We are using the Publish functionality built into VS2010, committing to Subversion, and then a 3rd party app (Beanstalk) automatically pulls the updated files and FTPs them to the Staging server.&lt;/p&gt;

&lt;p&gt;The problem we&#39;ve run into is that we only appear to have the following choices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;(Lesser of 2 evils) If we choose to use &quot;Replace matching files with local copies&quot;, this works great, with one exception: this option does not delete any files that were deleted from the project. This will lead to junk and/or security issues for unkempt files from the days of old.&lt;/li&gt;
&lt;li&gt;If we choose to use &quot;Delete all existing files prior to publish&quot;, this deletes the entire folder structure, including the .SVN hidden folders that Subversion uses for Update tracking, etc. This seems like the best solution from an accuracy standpoint, but it really destroys the local SVN environment, which is the middle-man for this automation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My question: Is there an easy work around for this, or a totally different deployment option we&#39;re overlooking (we do not want to publish directly to the server from VS, as we want to track who/what/when a deployment takes place)? The only thing I&#39;ve come across is to delete the file contents manually prior to publishing, while leaving the folder structure intact, then deploying with &quot;Replace matching files with local copies&quot;. Unfortunately, this brings on a whole new meaning of the word &quot;automation&quot;.&lt;/p&gt;

&lt;p&gt;Any ideas on how best to accomplish this?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/3427547</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Can&#39;t get Visual Studio&#39;s &quot;Publish Web Application&quot; to work</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>David Murdoch</name>
<uri>http://stackoverflow.com/users/160173</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/3427547/cant-get-visual-studios-publish-web-application-to-work" />
<published>2010-08-06T20:29:05Z</published>
<updated>2010-12-27T21:24:34Z</updated>
<summary type="html">


&lt;p&gt;I converted a small Web Project to a Web Application in Visual Studio 2010.&lt;/p&gt;

&lt;p&gt;When I publish the application via FTP it will delete everything at the destination. And thats it...none of my files get uploaded.&lt;/p&gt;

&lt;p&gt;Now, If I select &quot;Replace matching files with local copies&quot; it uploads all my files but it does run my Pre/Post Build commands but never uploads the resulting files (the Build Events create .min.js versions of my JS files).&lt;/p&gt;

&lt;p&gt;I figure that whatever I&#39;m doing...I&#39;m doing it wrong.&lt;/p&gt;

&lt;p&gt;Help me please.&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;strong&gt;UPDATE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So, the .min.js versions of my JS files weren&#39;t actually in the project. They were created successfully on each build...but they didn&#39;t show up in the Solution Explorer. So, I put them there and now it works okay.&lt;/p&gt;

&lt;p&gt;Now my problem is that I don&#39;t want to see my Release build&#39;s .min.js files in Solution Explorer...ever. Do I just have to deal with it or is there something I am missing?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/4071333</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">How to tell VS10 One-click deployment to copy certain files and folders</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="asp.net"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="deployment"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="web-config"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>ray247</name>
<uri>http://stackoverflow.com/users/32240</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/4071333/how-to-tell-vs10-one-click-deployment-to-copy-certain-files-and-folders" />
<published>2014-03-20EST17:20:56Z</published>
<updated>2010-11-01T22:46:05Z</updated>
<summary type="html">


&lt;p&gt;I&#39;m trying to use the Web One Click Publish feature in VS10 to push my asp.net app to IIS. I have some .resx files and another folder for uploaded images, none of these got copied to IIS. How do I tell it to copy the specified files and folders&lt;/p&gt;

&lt;p&gt;Thank you so much,
Ray.&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/3213460</id>
<re:rank scheme="http://stackoverflow.com">5</re:rank>
<title type="text">How to backup existing database and website as part of a MSDeploy package?</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2010"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="msdeploy"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>Richard Slater</name>
<uri>http://stackoverflow.com/users/74302</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/3213460/how-to-backup-existing-database-and-website-as-part-of-a-msdeploy-package" />
<published>2010-07-09T14:17:08Z</published>
<updated>2010-07-29T21:02:54Z</updated>
<summary type="html">


&lt;p&gt;I am researching one-click deployment with Visual Studio 2010, the current deployment process involves zipping up the contents of the IIS folder and taking a backup of the current database before completing the remaining manual deployment steps. This allows us to roll back a deployment, I need to retain the essence of this process if not the specifics.&lt;/p&gt;

&lt;p&gt;Is there a way of automating this with MSDeploy?&lt;/p&gt;

</summary>
</entry>
<entry>
<id>http://stackoverflow.com/q/2104279</id>
<re:rank scheme="http://stackoverflow.com">1</re:rank>
<title type="text">Sharing VS 2010 One-Click Web Publishing Settings</title>
<category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="visual-studio-2014"/><category scheme="http://stackoverflow.com/feeds/tag/one-click-web-publishing/tags" term="one-click-web-publishing"/>
<author>
<name>jfar</name>
<uri>http://stackoverflow.com/users/25300</uri>
</author>
<link rel="alternate" href="http://stackoverflow.com/questions/2104279/sharing-vs-2010-one-click-web-publishing-settings" />
<published>2010-01-20T19:28:46Z</published>
<updated>2010-05-05T14:26:09Z</updated>
<summary type="html">


&lt;p&gt;Is Anybody interested in a VS 2014 One-Click stored Web-publishing-settings? &lt;/p&gt;

&lt;p&gt;It would be awesome if a team could share the settings so a quick deployment to a test system is always a button click away.&lt;/p&gt;

</summary>
</entry>
</feed>



TecKhan54 Editorial

Last edited Mar 20, 2014 at 3:30 PM by Jerusalem2020J2IL, version 1