SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Build Error MSB3021

Last post 12-16-2006 7:24 PM by Clay. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-03-2006 2:52 PM

    • Vomish
    • Not Ranked
    • Joined on 10-02-2006
    • Posts 4

    Build Error MSB3021

    Hello

     I have been experiencing build error MSB3021 which has completely stopped developement. I have the same problem as described here. This occured all of a sudden and I have been unable to correct it. I also have a short thread on this forum that talks about this problem as well.

     FYI: My current solution has about 6 or 7 projects under it. Two are class library projects, one is a gui project (referencing the class library projects) and the rest are "test suite" tools (gui exe's).

     I am currently running version 2.1.0.1864 but this orginally happened in version 2.0.1.1710.

     Thanks,

    Vomish

  • 12-16-2006 7:24 PM In reply to

    • Clay
    • Not Ranked
    • Joined on 12-08-2006
    • California
    • Posts 3

    Re: Build Error MSB3021

    Hi,

    I am having the same problems.  I have pasted a copy of the output that is generated no mater what I try to build, even if I try a brand new solution with a MainForm and nothing else.  I have downloaded the most resent builds of #D, as has been suggested in other forms describing the same bug.  I have also completely uninstalled #D and deleted all #D folders, that I knew about at least, and all references that I could find in the registry.  Once I reinstall #D with the latest builds (2017) from the site referenced below, I get the same error when I try to build or run anything in #D.  If I zip any of these solutions and send them to a different computer with #D the solutions run with no problem. 

    What settings in windows or #D is #D using during this process?  Obviously it is not in the solution because the solutions run perfectly in #D on other computers.  I don't think it is the build version either, because the builds on other computers that run the solutions without the error are older.  Since I have completely uninstalled #D and then reinstalled the latest builds and the bug is still present, it seems that there is some setting in windows, or #D registry entry that remains after unistalling, that is causing the error.  I hope there is another solution to this than to reinstall my OS.  That is not much of a solution.  What if it happens again?

     Other threads that cover the same topic.

    1. http://community.sharpdevelop.net/forums/permalink/12139/12110/ShowThread.aspx#12110
    2. http://community.sharpdevelop.net/forums/permalink/11931/11756/ShowThread.aspx#11756
    3. http://community.sharpdevelop.net/forums/thread/10696.aspx , although this does not sound like the same problem as someone suggested.

    I have installed the latest builds from http://build.sharpdevelop.net/BuildArtefacts/ 

    Build started.

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9) : Error MSB3021: Unable to copy file "obj\Debug\test.exe" to "bin\Debug\test.exe". Could not find file 'obj\Debug\test.exe'.

    Build failed.

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.