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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T13:56:42+00:00 2026-05-16T13:56:42+00:00

In my .csproj file (C# project file) OutputPath is set as in the following:

  • 0

In my .csproj file (C# project file) OutputPath is set as in the following:

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
  <DefineTrace>true</DefineTrace>
  <OutputPath>bin\x86\Release\</OutputPath>
  ....
</PropertyGroup>

In my NAnt script, I have this:

<msbuild project="${demo.solution}">
  <property name="Configuration" value="release"/>

  <property name="OutputPath" value="${output.dir}"/>
  <property name="Platform" value="x86"/>
</msbuild>

Why is the log showing that the DemoProject.dll is copied from obj\x86\release?

….

[msbuild] Project "Demo.sln" (1) is building "DemoProjec1.vbproj" (3) on node 0 (default targets).

[msbuild] Copying file from "obj\x86\Release\DemoProjec1.dll" to ${output.dir}\DemoProjec1.dll".

[msbuild] DemoProjec1 -> ${output.dir}\DemoProjec1.dll

[msbuild] Done Building Project "DemoProjec1.vbproj" (default targets).

….

Somehow the DemoProject.dll from obj is different in size compared to DemoProject.dll from bin.

  • 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-16T13:56:43+00:00Added an answer on May 16, 2026 at 1:56 pm

    obj\x86\release is the IntermediateOutputPath for the release configuration.

    Your project is compiled in the intermediate directory and then the result file is copied to your output directory. In your NAnt file you override the OutputPath to ${output.dir}, so your file is copied from obj\x86\release to ${output.dir}.

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

Sidebar

Related Questions

Is there a way to compile a .vbproj or .csproj project file directly, just
Correct me if I'm wrong - I understand a C#/.NET application's .csproj project file
I have a C# Visual Studio project (.csproj) that has a reference to the
I am working on an application that parses a .csproj file. It needs to
What exactly is the difference between the HintPath in a .csproj file and the
(Basically we want to import targets files at some places in the *.csproj file
Scenario: I'm using svn:externals to grab Microsoft.Practices.ServiceLocation from CodePlex. However, referencing the csproj-file in
I have a solution that contains an ASP.NET Web Site (file-based) project. I'm currently
I've been asked to investigate the possibility of using a single .csproj file to
I need some help editing a csproj file using PowerShell. I basically need 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.