Configuration :: How To Add A Post Build Event To A Web Deployment Project

Apr 22, 2010

I need to know how to add a post build event to a Web Deployment Project.

How can it be done?

View 5 Replies


Similar Messages:

Configuration :: Include IIS Settings From IIS Manager Breaks Deployment Package Build?

Jul 26, 2010

Im trying to build a deployment package out of VS2010 against a web project and want to include all IIS settings as configured in IIS Manager. However when i enable this i get the following error message

Object of type 'manifest' and path

[code]...

Now this error makes very little sense as the specified application does exist in Default Web Site. I've checked the spelling. I've tried having ISV as a virtual directory and as an Application and tried with and without the ISV folder.

On the Web page i hae the Project URL set to [URL] On the Package/Publish tab IIS web site name is set to "Default Web Site/ISV/Web.Crm.Framework/"

Bing/Google search turn up very little on this and the documentation is not really detailed enough.

View 1 Replies

C# - Post Build Copy Config File To Another Project?

Feb 13, 2010

I have a solution which contains a website and various class libraries. The exists on the file system like so:

C:Projects MyWebsitedevMyWebsite.sln
C:ProjectsCoreMyClassLibrary1.csproj
C:ProjectsCoreMyClassLibrary2.csproj


I want to move the App.config file from MyClassLibrary1 project to the bin of the MyClassLibrary2. I want to do this on post build in VS or MSBuild using relative paths if possible. This way anybody checking out the projects will not have to modify any paths if they choose to locate the project in a different location.

I have already tried the following approaches but to no avail.

copy /Y "$(ProjectDir)App.config"
$(ProjectDir).. MyClassLibrary2$(OutDir) MyClassLibrary2.dll.config"

View 2 Replies

Configuration :: Multi-project Deployment?

Feb 14, 2011

I need to deploy 3 projects using one single installer. The first project is a web project the second and third project are windows services.I need to use the .Net Deployment project to deploy all the project is a single installer. I have managed to create a installer and a custom action which gets the primary output of the both windows service but I am having problems installing the Web application.

If I create an output for the web application it gets installed in the application's folder and not on IIS folder and its not set as an application.

View 1 Replies

Configuration :: Web Deployment Project Not Working?

Jan 9, 2011

I built the solution once in release mode and it created all the necessary files in the release folder. I then deleted all the contents of the release folder. Now when I buid it for the second time, the release folder is empty. The dll is in the debug folder.

View 1 Replies

Configuration :: Unresponsive Controls In Web Deployment Project?

Apr 28, 2010

My web application functions as expected when using non-compiled web pages. When I used a Web Deployment Project to build my solution (creating a separate assembly for each page and control output), the web application does not function (e.g.: pushing a button does not result in any action).

View 3 Replies

Configuration :: Web Deployment Project (wdproj) Not Deploying In VS 2010

Jun 21, 2010

Have been searching for a while but am having no luck fixing this. I am running VS 2010 on a Win XP machine. My agency's developer converted our web app with no problem, and i can open it and compile the code in VS 2010. I am trying to run my wdproj to build the site to a local directory, and it will not. I get an output error:

Error 2
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
C:Ronweb_sitesTESTDEVpctweb.config
76 1 pct.deploy

View 1 Replies

Configuration :: Visual Studio 2005 Web Deployment Project Add-In?

Feb 12, 2011

According to this website, I can go to Visual Studio 2005 Web Deployment Projects, and download the add-in, but I am not finding what I need. I have searched other sites for the add-in as well, but with no luck. where I can download the add-in?

If not, can someone provide documentation on how to properly deploy an ASP Web application? I have tried on my own, but I am apparently doing something incorrectly or incompletely, as I have several different problems with my current deployment. So I am looking to start over with the help of this add-in or by following more detailed documentation.

View 2 Replies

Configuration :: Difference Between Web Site Deployment And Web Project In VS2008?

Jun 7, 2010

Is there a difference between the Web Setup Project in VS2008 and the Web Deployment Project that I keep reading about on this site? More importantly, how much of a help is the deployment project over just using the setup project?

View 1 Replies

Configuration :: Webapplication Deployment / Making Project Setup

Nov 25, 2010

Now i want to deploy that application without any interaction of IIS. I want to make setup of my project so that i can directly install it in client's pc. I have tried many ways of doing this. I have tried Xcopy method and even tried of adding web setup project.

View 2 Replies

Configuration :: VS2010 Web Deployment Project Rebuilds Constantly?

Jun 6, 2010

I just upgraded from VS2008 to VS2010, and now my web deployment project keeps rebuilding constantly. Even if I have a WinForms application set as the startup project and hit Ctrl+F5 to run it, the web deployment project rebuilds every time I hit Ctrl+F5. It didn't do this in VS2008. Does anyone know what's causing this?

View 1 Replies

Configuration :: Web Project One-Click Deployment And Creation Of IIS Virtual Directories?

Oct 28, 2010

I have an ASP .NET web project; let's call it XYZZY. On my development machine I test and debug it using IIS. Under the IIS virtual directory for XYZZY, I have several "sub" virtual directories which I reference for downloading documents. Let's call them Doc1, Doc2, Doc3. These virtual directories reference a shared folder on another machine. Everything works great on the development machine.

Now I would like to publish the XYZZY web application to the production machine using One-click deploy. I have told it to include all IIS settings as configured in IIS manager. When I deploy XYZZY to the production machine, it properly creates the XYZZY application directory under c:inetpubwwwrootXYZZY and copies all files there and creates the XYZZY application in IIS. However, when it creates the sub virtual directories Doc1, Doc2, Doc3 under XYZZY in IIS, it doesn't use the shared folder I have them
set up as on the development machine, it points all 3 of them to c:inetpubwwwrootXYZZY.

I've examined the metaproperties in the archive.xml from the zipped deployment package, and it correctly has the IIsWebVirtualDir virtual directory folder Path settings correct from the dev machine, but for some reason they are overridden when the app is deployed.

I have found the instructions on customizing the deployment settings complicated and confusing. Surely this requirement for creating IIS virtual directories during web package deployment must be common. Can anyone explain clearly how to get the deployment package to create the IIS virtual directories with the proper targets on the target machine? Ideally, it would be nice to be able to set them to different values based on the configuration just as Web.config can be customized, but that's not a requirement just yet.

View 4 Replies

Build And Deploy .net Mvc Project Using TFS Configuration?

Mar 28, 2010

I need to build and deploy my asp.net mvc project using TFS Configuration

View 1 Replies

Configuration :: Web Deployment Project 2008: Exclude Large Folder From Being Copied?

Mar 18, 2010

I have a large folder (1.5 GB) in my ASP.NET Web Site, called Downloads, which contains media files, graphics, etc. No code that needs to be compiled or even deployed on every build.

I use Web Deployment Projects to compile and deploy. Every time I build the deployment project, the Downloads folder gets included and copied to the output location. This is taking a significant amount of time, because the folder is copied twice.

I've tried modifying the wdproj file like this:

<ItemGroup><ExcludeFromBuild
Include="$(SourceWebPhysicalPath)Download*"
/>

I've also tried not adding the * after the folder, but then I get a message that says the directory is not empty during the build process.

I've also tried this approach:

<ItemGroup>

<RemoveBeforeMerge Include="$(OutputPath)Downloads*" />

</ItemGroup>

And that still did not help. (also says: The directory is not empty.)What is the proper way to tell WDP not to consider a folder at all?

View 1 Replies

Configuration :: How To Move To The Testbox From Project Build

Mar 10, 2010

I have created a service project in VS 2005 that is ready for test. What files do I need to move to the test box from my project build?

View 9 Replies

Configuration :: Parameter ConfigFileBaseName Is Invalid When Trying To Build A Project

Sep 6, 2010

I am receiving an error: The parameter 'configFileBaseName' is invalid when trying to build a project on my macintosh thru a windows server 2003 VMwAre fusion virtual machine This solution runs fine on Visual Studio 2010 on my PC running Windows 7 I don't think the platform has anything to do with the error though - but cannot find anything on the web to help me troubleshoot the problem. Something tells me this has more to do with setting up my IIS site configuration - perhaps I missed something?

View 1 Replies

How To Get Visual Studio 'Publish' Functionality To Include Files From Post Build Event

Jun 29, 2010

I am currently attempting to use Visual Studio 2010 'Publish' and MSDeploy functionality to handle my web deployment needs but have run into a roadblock with regards to customizing the package depending on my build configuration.

I develop in a 32bit environment but need to create a release package for a 64bit environment, so in the 'Release' configuration I have a post build event that copies the 64bit version of a third-party dll into the bin directory overwriting the 32bit version. When I use the 'Publish' functionality, even though the correct 64bit dll is being copied to the bin directory, it doesn't get included in the package.

Is there a way to get the 'Publish' to include files that have been copied into the bin directory during a post build event?

View 2 Replies

Configuration :: Project Build On Web Server / Parse Error : Could Not Load Type 'Namespace.PageName'

Mar 17, 2010

I have an ASP.NET 3.5 website application using C# and SQL 2005 running on a web server. Now the application has the ability to create new aspx pages with content and the relative aspx.cs and design.cs pages needed on the fly and store them in the base directory on the server. Think of it as a crued Visual Studio website on the server for admin to click a few options on a page then the new pages are created for them without the need of a web developer. This all works fine and the code is working 100% (for the moment).

My problem now is the following: When i now navigate to this newly created page i get the following error - Parse Error : Could not load type 'Namespace.PageName'

I've looked into the reasoning and microsoft say "These errors occur if the .aspx page contains a reference to a code-behind module and if the application has not been built." Which now makes sense the application does not realise that these new pages are part of its system even though i can navigate to them.How do i get the system to recognise these new pages and rebuild itself accordingly?Now i cannot rebuild the system localy then reupload to the server, this needs to be accomplished on the server by the system, because the site cannot afford to have down time everytime admin decide to add new pages.

View 3 Replies

Configuration :: Can Create An Incremental Deployment Package Using Either Visual Studio 2010 Web Deployment Projects

Mar 27, 2011

Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .

I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.

View 9 Replies

How To Use Nant And MSBuild To Build Debug Deployment

Jun 17, 2010

I have a Nant build script which referrences 30 other build scripts.

Each build script referrences a visual studio solution using MSBuild.

Each solution has 3 to 5 projects in.

Some projects are Class Librarys and some are Web Apllications.

The projects reference other projects both in their solution and out of their solution, so the projects do not use project references, they reference the the Release DLLs in the Bin folders of the other projects.

To use the software, I need to publish all the solutions together.

Which means I cannot do a deployment which is in debug mode.

Which means I cannot the step into and debug the code.

I would like to run the build script to get a deployment of the software which I can debug.

View 1 Replies

C# - A Build And Deployment Machine With A Web-based Dashboard?

Feb 22, 2011

I have my code sitting on Bitbucket (it is a ASP.net web application). I want to put together a build machine that has a web-based dashboard. I go to the dashboard and I say: show me all the branches and stuff on my Bitbucket project. Now get the latest code from this branch for me and build it. Then deploy it to this location for me or maybe this other location. I want this dashboard give me a history of all this builds and deployments too. I am very new to this concept I have been reading about CC.net and MSBuild and other stuff but I can not find.

View 1 Replies

Web Deployment Projects For VS2010 On Build Server Failing With Error MSB4086?

May 25, 2010

When I upgraded my Web Deployment Project from VS2008 to the VS2010 beta version, I was able to execute the build locally on my development box. However, when I tried to execute the build on our TeamCity build server, I began getting the following exception:

[code]....

View 1 Replies

How To Obfuscate A Dll When Using A Visual Studio Deployment Project

May 5, 2010

I need to obfuscate a dll that is used in a ASP.NET project, the deployment project pruduces a setup.exe which I want to distribute. I have the VS 2008 Dotfuscator installed but when I build the deployment project the project that creates the dll is rebuilt before it is added to the deployment project and added to the setup.exe.

View 1 Replies

Missing Master Pages When Using Web Deployment Project?

May 16, 2010

I am trying to deploy an ASP.NET 3.5 Web Application to my production server and I am using the Web Deployment Project for this purpose. I have a folder named MasterPages in the root of the application which contains all the master page files. When I build this project in the release mode and deploy it on to the server I am getting the below error message:

Directory 'C:inetpubwwwrootMasterPages' does not exist. Failed to start monitoring file changes.

I am using ASP.NET AJAX and the ToolkitScriptManager is on the master pages. I have noticed that the MasterPages folder is missing from the release build.

View 1 Replies

Deployment - Deploying 3.5 Project To IIS 6 On Windows Server 2003?

Aug 5, 2010

I have a project which involves a database (sql server 2008 express) class library, webservice and a website which I want to deploy on a windows server 2003 with IIS 6. I look ed on the web and how to do this for the website mostly but unfortunately not that much for the webservice, classlibrary and database.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved