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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:34:00+00:00 2026-05-26T18:34:00+00:00

My company uses the MSBuild Community Tasks to provide custom build scripts to our

  • 0

My company uses the MSBuild Community Tasks to provide custom build scripts to our projects. Today, I created a new project and built out a custom build script to run it. I was able to set up builds on TFS, so I know my script works correctly, but I can’t figure out how to get Visuale Studio to point the script so that it uses it whenever I build locally.

How do I point visual studio to my custom build script?

  • 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-26T18:34:00+00:00Added an answer on May 26, 2026 at 6:34 pm

    You can use custom msbuild scripts in Visual Studio by editing each .csproj that will use the custom script. In the Solution Explorer, right-click on the project and select “Unload Project”, then right click on it again and select “Edit [projectname].csproj”, which will open it up as an editable xml file. You will notice this is an msbuild script too, so all you have to do to add your custom scripts is add the <Import Project=....> statement and maybe a <Target Name=... DependsOnTargets=...> to call it at certain points of the build process.

    If you want the same process that TFBuild gives using the MSBuild scripts (which can be applied at the solution level instead of just the project level), then you might want to just add an external tool call to MSBuild.exe with the same parameters that TFBuild uses. You can find how to set that up here: http://en.csharp-online.net/MSBuild%3A_By_Example%E2%80%94Integrating_MSBuild_into_Visual_Studio

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

Sidebar

Related Questions

I have an old project at our company that uses shell scripting a lot.
My company uses custom tags in our JSPs to wrap JavaScript. I cannot get
Our company uses an internal PHP MVC framework for most of our projects, which
So, I have this new project. My company uses the SalesForce.com cloud to store
My company uses Wix 2.0 in the build chain. When our users try to
I am new to the dvcs world. My company uses perforce and I'm not
I'm working on a project for my company that uses a socket server (php)
Our company uses tools in their workflow: IBM Rational ClearQuest (For bug and feature
My company uses Gerrit Code Review for Git. I've been given a custom incantation
My company uses one build machine (a Mac Mini) as a CI node to

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.