An Error Occured in Visual Studio about could not write to output file
if you get an error like "Could not write to output file -- 'The directory name is invalid.' " in Visual Studio 2008 while building a project,
add Private Assemblies directory into Environment Variables.
Directory path should be;
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;"
put it into
%USERPROFILE% or %TEMP% environment variables, (in case you forgot, it's here: System > Advanced > Environment Variables).
P.S:Please do not hesitate to share your comments.