Re: Microsoft.Common.targets, HELP!!!! by Søren
Søren
Mon Jul 03 04:40:45 CDT 2006
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
"Søren M. Olesen" <smolesen@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
>
>