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 372263
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:11:38+00:00 2026-05-12T14:11:38+00:00

I have googled everywhere for this solution and cannot find anything! I want to

  • 0

I have googled everywhere for this solution and cannot find anything!

I want to have a msbuild script to do the following:

  1. Build the project solution
  2. Publish the built solution with the specified app.config (app.config.debug or app.config.release) to a specified folder (Development or Production)
  3. With the specified configuration, know where to check for updates.
    -if deployment -> check in the sample production folder
    -if development -> check in the sample development folder

The script currently works but there are two problems…

  • I cannot figure out how to have two different installations that check two different places to check for updates.
  • I cannot auto increment the revision build. It currently stays at the same build number everytime i use the script.

My Current script:

msbuild "C:\sample\sample.csproj"
/t:clean
/t:build
/t:publish
/p:Configuration=release
/property:PublishDir="C:\Samplelocation/"
/property:UpdatedEnabled=true
/property:UpdateRequired=true
/property:UpdateUrl="C:\Samplelocation/"
/property:GenerateManifests=true
/property:PublishWizardCompleted=true

Any help would be greatly appreciated. Thanks ahead of time!

  • 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-12T14:11:38+00:00Added an answer on May 12, 2026 at 2:11 pm

    You should take a look at MSBuild Batching.

    Here are some links on batching:

    • MSBuild Batching Part 1
    • MSBuild Batching Part 2
    • MSBuild Batching Part 3
    • MSBuild RE: Enforcing the Build Agent in a Team Build
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have googled this a little and didn't really find the answer I needed.
I've looked everywhere and googled everything and couldn't find anything good. What I need
I have the following simple Greasemonkey script: // ==UserScript== // @name MetaCPAN Everywhere //
i have googled in the last 3 hours but i can't seem to find
I have Googled merge+cell+Javascript but did not find any suitable code to implement merge
I have googled a lot on this and i have found integrations of Linkedin
I am new to Emacs. I have googled this but no good answer there.
I have googled and searched here on stackoverflow, but haven't been able to find
I have Googled my butt off trying to find where if there is a
I've searched everywhere for a solution to this...even Google's own code example doesn't work.

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.