publish

Visual Studio 2008 Publish Failed File already exists in the website

I have a Web Application project in Visual Studio 2008. (lucky you, you say? ha ha..) It is Created from new, it's not a migrated project. It's a file based web application project so IIS and FPSE blah are not involved. I have the 'Delete all existing files prior to publishing' option selected from the publish dialog. The result...

Obfuscating source code when publishing (C#)

Hi, We are working on many products that are being published at our customers. But if you publish a C# application, all the dll's can be decompiled using reflector or some sort. I was wondering if there is an easy way to encrypt our dll's when publishing. This way we can publish our dll's without having to worry about our clients decom...

Amending google analytics tracking code in clickonce published html

Has anybody tried this before? How can i amend the google analytics tracking code .js into the publish.htm via visual studio? Is there an easy way? For example by using post build events or what? Any help appreciated! ...

ClickOnce Deployment Errors

I am trying to deploy a ClickOnce app. It had worked previously when the server was just sitting with .Net 2.0 installed (no SP). Recently the server had 3.5SP1 installed on it and now ClickOnce is failing with the error: Value does not fall within the expected range inside System.Deployment. Here is the information posted on the MSDN ...

Publish WebApplication using NAnt

Is it possible to accomplish publish (as in Visual Studio publish on Web Application project) on solution using NAnt? I just can't find the solution. ...

Adobe AIR from Flash a big disaster?

Does anyone have any experience with building AIR apps from within Flash CS3? I inherited an AIR app that is being build from within Flash and is doing my head in to get build. First of all, the AIR app doesn't run from with the Flash IDE. There is no document class and when I place a trace statement on the first frame it never actually...

Replicate VS2008 "Publish Web Site" from command line

...

Don't publish particular folder in ASP.NET

Is it possible to exclude a folder in a web project from being published? We've got some documentation and scripts that included in a particular project folder, and are added to the project, but when I do a VS publish, I don't want them to go up to the production server. I know they shouldn't be in the project, but I thought I'd find a ...

ClickOnce Not Obeying Installation Folder for Localhost

I'm testing a ClickOnce application deployment. I have setup a virtual directory on my machine (running IIS). I have specified http://localhost/SampleApplication as the Installation Folder URL in the Publish tab of Visual Studio. However, when I publish the application I get the following error: Warning: Files could not be downloade...

Publishing from IDE removes wildcard mapping in IIS7 in classic mode.

I have an ASP.Net app that I deploy to a IIS 7.0 server in classic mode. I use the publish feature from the Visual Studio IDE. Every time I perform a publish, the wild card mapping is removed. Anyone know how to prevent this? Thanks! ...

With VS2008 + ASP.NET, is there a way to perform a clever "Publish" ?

By clever, I mean NOT TO upload once again the files that has been already uploaded (with the same dates, size or checksum...). It would be great, because the Publish method takes a lot of time! ...

"System Update Required" error message when trying to install a Published C# project

Using Microsoft Visual Studio 2005 on development machine, and Windows XP SP3 on all machines. I finished programming my C# project and debugging it to my satisfaction. I have tried to publish the project and install it on another computer. It gets as far as showing me the "install from unknown publisher warning", and which i Click "Inst...

(msvc# express) publish c# project to include a file (e.g. .MDB, .XML)

My app needs to open an Access mdb file and an xml file (which are stored in bin\Release) to read and write data. The question is, if I am to publish it, how should I include them so that the setup file will install them into the same folder that the exe will run from (Local Settings\Apps\2.0(...))? I already tried adding them to the p...

ASP .Net MVC in VS2008 - published build appears differently

Hello When I run my MVC application through Visual Studio 2008, the website looks fine with regards to the styling, images, etc. But if I publish this build to a folder and use IIS to view it, the styling is all over place, and images are not right. Initially, I thought this was some error on my behalf with regards to the style she...

How can I include files in a C# deployment?

I have a DLL I need to deploy with my C# application. It's not currently included in the installation package when I hit "Publish" so how do I include it? Would the process be any different if I had app.config and other files I wanted to deploy with my application? ...

Publish option disabled in win Vista after converting a website to web application

I have converted a web site to a webapplication. In windows Vista, the option of publish is no more available. Any idea how to solve this problem. ...

compling assemblies on a 64bit plaform for a 32bit

What option should I select for compliing assemblies on a 64bit plaform for a 32bit platform server. As currently I am trying to publish to a 32bit server. I am using VS2005 on a windows Vista machine to build my project and then publish on server but I am getting errors. Any idea how can I solve this problem. Should I use AnyCPU option...

hudson/maven publishing snapshots

Hi, I would like to be able to publish snapshots to the repository using maven (or have hudson publish snapshots after each build using maven). I've been reading up on the SCM section of the POM, and I have a couple of questions. Sorry if I'm off base here - this part is new to me. I don't want to put my username and password in SCM s...

Running MSTEST.exe /publish on a TeamBuild server, what are the prerequisites?

Similarly to http://stackoverflow.com/questions/954943/how-to-use-mstest-in-continous-integration-without-vs, I want to run mstest.exe on a TeamBuild server. My context is http://stackoverflow.com/questions/1059230/trapping-error-status-in-msbuild/1059672#1059672 - i.e., I'm only trying to use mstest.exe /publish to upload the results i...

system.web.extentions.dll not getting published!

I use the publish option of asp.net 2.0 to create a deployable copy of my web application. Lately I've noticed that the System.Web.Extensions.Design.dll and the System.Web.Extensions.dll does not get copied when using the publish option. Has anyone any idea why this could have happened? Couldn't google anything definite about this too....