post build event macros

Posted on 2011-05-12
Last Modified: 2012-05-11
I need to copy one assembly into one of my test proj. The folder structure is like this.
and  $(SolutionDir) macro evaluates to C:\f1\f2\f3\ but i need to copy the assembly at below mentioned location.

I tried with the below command but failed.
copy $(SolutionDir)\..\reps $(OutDir)

Could any one provide suggestions on this.

Thank You

Question by:mkarthik415
    LVL 18

    Accepted Solution

    copy $(SolutionDir)\..\..\reps $(OutDir)
    LVL 74

    Expert Comment

    by:käµfm³d 👽
    Remove the slash after $(SolutionDir):

    [code]copy $(SolutionDir)..\reps $(OutDir)[/code]

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now