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

The Archive Base Latest Questions

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

In my MSBuild Script I am using MSDeploy to package and deploy my ASP.NET

  • 0

In my MSBuild Script I am using MSDeploy to package and deploy my ASP.NET MVC website.

<Exec Command='  "@(MsDeploy)" -verb:sync -source:iisApp="$(Source)" -dest:package="$(Destination)" '/>

The issue is that my *.less files are not added to the deployment package.

Are there parameters or a configuration, I can set so these files are added to the deployment package.

  • 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-31T11:38:13+00:00Added an answer on May 31, 2026 at 11:38 am

    By default the Web Publishing Pipeline will pick up only files needed for deployment (unless you specify differently in the Package/Publish Web tab), which means the build action needs to be Content for those files. (You can see the Build Action property in the Properties window in Visual Studio when you select a file in Solution Explorer.) See the Deployment FAQ on MSDN:

    http://msdn.microsoft.com/en-us/library/ee942158.aspx#why_dont_all_files_get_deployed

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

Sidebar

Related Questions

I am using TeamCity 4.5.1 to build and deploy an ASP.Net application to development.
We're using CruiseControl.NET which invokes an MSBuild script. While debugging the build script, we
I'm using Team Build (2010) to call an msbuild script with an Exec task
I'm using MSBuild to build and deploy the website, Before deploying i need to
All I wish to call the svnlook commandline from my MSbuild script using the
I am writing a deployment script using MSBuild. I want to clean my web
I have the following task in my MSBuild script to deploy to a remote
I have a build script (.bat) that invokes MSBUILD ( C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ) that used
I have a .NET project with a Rake build script. Rake calls msbuild.exe to
I'm writing my first CI script using MSBuild and I want to everyone that

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.