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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:48:32+00:00 2026-05-23T12:48:32+00:00

I am having trouble copying files with MSbuild and the error messages I’m getting

  • 0

I am having trouble copying files with MSbuild and the error messages I’m getting seem to contradict each other (using TFS 2008 to do the build).

I currently having the following in my build script

 <PropertyGroup>
      <ReleaseRoot>$(DropLocation)\Latest\x86\Release</ReleaseRoot>
      <WebRoot>$(ReleaseRoot)\_PublishedWebsites\Web</WebRoot>
      <DBRoot>$(ReleaseRoot)\Database</DBRoot>
      <TempHolingDir>$(ReleaseRoot)\temp)</TempHolingDir>
      <WebConfig>$(WebRoot)\Web.config</WebConfig>
      <DatabaseUpdate>$(DBRoot)\databaseupdate.exe</DatabaseUpdate>
    </PropertyGroup>

    <Copy SourceFiles="$(WebConfig);$(DatabaseUpdate)" DestinationFolder="$(TempHoldingDir)" ContinueOnError="false" />

When I run the build I get

error MSB3023: No destination
specified for Copy. Please supply
either “DestinationFiles” or
“DestinationDirectory”.

I then change the DestinationFolder to DestinationDirectory and I got

error MSB4064: The
“DestinationDirectory” parameter is
not supported by the “Copy” task.
Verify the parameter exists on the
task, and it is a settable public
instance property. error MSB4063: The
“Copy” task could not be initialized
with its input parameters.

THese errors seem to contradict each other, what exactly am I missing here?

  • 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-23T12:48:33+00:00Added an answer on May 23, 2026 at 12:48 pm

    It’s DestinationFolder according to Copy Task, looks like MSB3023 error text is wrong?

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

Sidebar

Related Questions

I'm having trouble copying a row from one table to another using sqlite3 in
I am having trouble copying text using zeroclipboard. This is my html code: <dl
I'm having trouble with the copying entities between multiple databases. I can't seem to
I'm having trouble querying my SQLite database using Android. I keep getting either an
Having trouble with this jQuery function: $(#content).siblings().each(function(i){ heightOfSiblings = heightOfSiblings + this.outerHeight(); }); Error
Having trouble using ajax to retrieve info from a database. I was getting the
I'm having trouble copying a file and then verifying the integrity of the file
Having trouble with each function... Will try to explain by example... In my code,
I having trouble of copying some folder 260+ chars (for example: F:\NNNNNNNNNNNNNNNN\NNNNNNNNNNN\ROOT\$RECYCLE.BIN\S-1-5-21-3299053755-4209892151-505108915-1000\$RMSL3U8\NNNNNNNNN NNNNNNNN\NNNNNNNNNNN\NNNNNNNNNN\NNNNNNNNNN\publish\Application Files\TNNNNNNNNNNNN_1_0_0_0\NNNNNNNNNNNN.exe.manifest)
I am having trouble copying buttons into an appended row: I have a jsfiddle:

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.