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

  • Home
  • SEARCH
  • 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 7610635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:27:53+00:00 2026-05-31T01:27:53+00:00

In our Visual Studio 2010 project we reference – among the others – the

  • 0

In our Visual Studio 2010 project we reference – among the others – the SmartAssembly.Attributes.dll and it’s properly copied to the Bin/Debug or Bin/Release folder of our local dev machines. On the build server this is true for all other references but not for ‘SmartAssembly.Attributes.dll’. The build succeeds.

What should I check?

Thanks.

  • 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-31T01:27:54+00:00Added an answer on May 31, 2026 at 1:27 am

    Open your .csproj file (or .vbproj file), and look for the assembly reference. Then make sure the hint path is still valid in your build server. Sometimes VS2010 will add an absolute hint path, instead of using one relative to the .csproj file itself, so the drive letter may be invalid in another machine.

    For example, the reference may look similar to the one below (I made up all of the XML below to illustrate only and it’s NOT valid), and the absolute hint path may be invalid in the build server (e.g. there’s no drive letter d there):

    <Reference
    Include="SmartAssembly.Attributes, Version=8.0.0.0, 
           Culture=neutral, PublicKeyToken=b03f1f7f1ad5da3a,
           processorArchitecture=x86"> 
      <SpecificVersion>False</SpecificVersion>
      <Private>true<Private>
    
      <!-- The HintPath below should exist and be valid in your build server -->
      <HintPath>d:\temp\SmartAssembly.Attributes.dll<HintPath>
    </Reference>
    

    You can change the HintPath to make it relative to the .csproj file and therefore more general. For example:

      <HintPath>..\libs\SmartAssembly.Attributes.dll<HintPath>
    

    Another problem may be that <Private>true<Private> isn’t there. This attribute mapped to the CopyLocal property in Visual Studio, so if it’s missing from your .csproj, the DLL won’t get copied to bin\Debug or bin\Release by MSBuild. See http://bronumski.blogspot.com/2009/06/project-reference-fun-and-games.html

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

Sidebar

Related Questions

I was trying to compile our project in Visual Studio 2010 using the 2005
We've just switched our main project from Visual Studio 2008 to 2010. I was
When we build our Visual Studio 2010 Database Project from the command line using
Our project currently uses Crystal Reports for Visual Studio 2008. We need to upgrade
In our team we have a database project in visual Studio 2008 which is
I have a visual studio 2010 project. It runs from my notebook fine but
We just upgraded our Visual Studio 2008 projects to Visual Studio 2010. All of
All: We are using Visual Studio 2010, and we have recently upgraded our workstations
Immediately after we upgraded to visual studio 2010 and the 4.0 framework our trunk
As part of our Visual Studio 2010 (primarly C# 4.0) development standards, we have

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.