Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Microsoft.Common.targets, HELP!!!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Søren M. Olesen - 03 Jul 2006 07:45 GMT
Hi

I'm suddenly getting the following error when I try to build a
class-library, Windows Application,....:

Error 1 Unable to copy file "obj\Debug\ClassLibrary2.dll" to
"bin\Debug\ClassLibrary2.dll". Could not find file
'obj\Debug\ClassLibrary2.dll'.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 2313
9 ClassLibrary2

and I simple can't figure what is wrong.

I've tried reinstalling VS2005, but no matter what I do I can't seem to get
rid of this error.

I'd really like to avoid reinstalling Windows, so any help of solving this
problem would be greatly appreciated.

TIA

Søren
Søren M. Olesen - 03 Jul 2006 10:40 GMT
I've been digging a little further into the problem, and from the compile
output I get the following:

Target "CoreCompile" in file
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.targets":
Building target "CoreCompile" completely.
Output file "obj\Release\ClassLibrary2.xml" does not exist.
Task "Vbc"
Command:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Vbc.exe /noconfig
/imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Diagnostics
/nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
/optionstrict+ /rootnamespace:ClassLibrary2
/doc:obj\Release\ClassLibrary2.xml
/define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"Windows\",PLATFORM=\"AnyCPU\""
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
/debug:pdbonly /optimize+ /out:obj\Release\ClassLibrary2.dll
/resource:obj\Release\ClassLibrary2.Resources.resources /target:library
Class1.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb"
"My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb"
Done executing task "Vbc".
Done building target "CoreCompile" in project "ClassLibrary2.vbproj".

on at machine where the build works and:

Target "CoreCompile" in file
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.targets":
Building target "CoreCompile" completely.
Output file "obj\Release\ClassLibrary2.xml" does not exist.

Done building target "CoreCompile" in project "ClassLibrary2.vbproj".

on my machine where it doesn't work. However I can seem to figure out why
the compile command isn't run......

Søren

> Hi
>
[quoted text clipped - 18 lines]
>
> Søren
Søren M. Olesen - 04 Jul 2006 06:27 GMT
After trying to solve the problem for a day, I finally ended up restoring my
whole system from backup, so now everythis is fine again......

> Hi
>
[quoted text clipped - 18 lines]
>
> Søren

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.