Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6222433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:18:48+00:00 2026-05-24T08:18:48+00:00

When using the publish wizard in visual studio there is an option to append

  • 0

When using the publish wizard in visual studio there is an option to append .deploy to files.
The reason for this is here:

http://msdn.microsoft.com/en-us/library/ms228998.aspx

But for us who like to have full control i’m building an deploy script (.msbuild)

heres a snippet:

        <MSBuild Projects="$(SolutionFile)" Targets="Clean;ReBuild" Properties="Configuration=$(Configuration);" />

        <MSBuild Projects="$(SolutionFile)" 
        Targets="Publish" 
        Properties="PublishUrl=$(PublishLocation);  
        InstallUrl=$(InstallUrl);
        Configuration=$(Configuration);    
        GenerateManifests=$(GenerateManifests); 
        BootstrapperEnabled=$(BootstrapperEnabled);   
        IsWebBootstrapper=$(IsWebBootstrapper);   
        ApplicationVersion=$(ApplicationVersion);  
        UpdateEnabled=$(UpdateEnabled);
        UpdateMode=$(UpdateMode); 
        UpdateUrl=$(UpdateUrl)" />  

I wanted to know if there is a property on the Publish target that will do this or is this just some voodoo that the visual studio wizard provides.

if there isn’t i’m going to have to write something into my script to rename the files which is hacky imo.

Mike

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:18:48+00:00Added an answer on May 24, 2026 at 8:18 am

    A quick look in Microsoft.Common.targets indicates that this file renaming is controlled by setting $(MapFileExtensions) to true. Try adding this to your Properties list:

    MapFileExtensions=true
    

    this alters the value of the internal property $(_DeploymentFileMappingExtension) to be “.deploy” which is then appended to the deployment files when they are copied in the _CopyFilesToPublishFolder target.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using the Publish operation on Visual Studio 2005 and 2008 (By right-clicking
I'm using the Publish Web action to deploy my web application. Is there a
When using the built-in Publish feature of Visual Studio 2010 with a web application
I’ve been using mouse right click in Visual Studio to publish sites for ages
I'm about to upgrade to Visual Studio 2010, and I'm learning that there are
Visual Studio 2010 has a Publish command that allows you to publish your Web
I want to publish WCF Service Application created in Visual Studio 2010 on IIS
If I pre-compile all ASPX/ASCX files using Publish and send all System.* dlls that
I am using VS2008 to publish my application files using ClickOnce. I read somewhere
I have a set of Word documents which I want to publish using a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.