|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Microsoft.Common.targets, HELP!!!!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 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 Show quote "Søren M. Olesen" <smole***@hotmail.com> wrote in message news:%232QtQxmnGHA.4648@TK2MSFTNGP05.phx.gbl... > 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 > > 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...... Show quote "Søren M. Olesen" <smole***@hotmail.com> wrote in message news:%232QtQxmnGHA.4648@TK2MSFTNGP05.phx.gbl... > 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 > > |
|||||||||||||||||||||||