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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:39:21+00:00 2026-05-22T01:39:21+00:00

We use TFS Build Server on continuous integration. The result of build is web

  • 0

We use TFS Build Server on continuous integration. The result of build is web application which is deployed with Publish functionality integrated with MSBuild. We generate on build server, before build starts (Pre-build event), a minimized JavaScript files, which are copied in source directory on build machine. Sadly these aren’t published in IIS, either are in Published Web Sites folder. How can wen accomplish this with Publish possibilities in TFS?

What we tried:
We tried change the workflow (default template -> run on agent), but we are too late

What is our alternative:
We would do XCopy when other possibilities will fail, but we would like to use Publish function

Please, describe the solution precisely and step by step, because I read many of the tutorials but they explain it not in depth. The simplest solution win. 😉

  • 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-22T01:39:22+00:00Added an answer on May 22, 2026 at 1:39 am

    We fixed it the following way:

    • We also include the minimized javascript files in the corresponding project. (that’s needed that the min files also get deployed during the publish process.)

    • In the Pre-Build event we delete all minimized javascript files like so:
      del /F “$(ProjectDir)JavaScript*.min.js” (/F is needed that also readonly files get deleted)

    Thats it.

    br
    rene_r

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

Sidebar

Related Questions

I use the TFS 2008 build facilities. I have a large MSBuild project (TFSBuild.proj)
We have a WPF application and we are using TFS 2010 for continuous integration.
I have implemented Continuous Integration using TFS Version Control and TFS Build 2010. The
I would like to activate continuous integration for a Prism application on a TFS
We use TFS 2008 server for our builds. I need to create a build
I use the below script to queue build in TFS 2010 build server. This
Can I use TFS Client 2010 with TFS server 2008? Or it is not
I'm setting up a project to use TFS on a server that I've configured,
I have a solution which is built on TFS server. This solution includes several
I am looking for different techniques/tools you use to deploy an ASP.NET web application

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.