Shannon Braun's Weblog
"Assembly Required"
« Blog is back up - quicker then expected
Latest post
Asynchronous Request Performance using D... »
Copying and Compilation Errors during Solution Builds
Saturday, December 20, 2003 7:50:18 PM (Central Standard Time, UTC-06:00)
The IDE can be irritating at times. Do you ever get this compilation error…
Compiler Error Message:
CS0006: Metadata file 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\xxxx\934254a0\5606a5c7\assembly\dl2\56405119\009facbd_39b0c301\xxxx.dll' could not be found
To fix this restart IIS.
If you get…
"Could Not Copy Temporary Files to the Output Directory" which seems to be a pretty popular message when working with multiple projects check out this KB article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;313512
What has worked for me is to close the solution and compile the solution file with out opening the the VS.NET IDE… Here is the contents of the .reg file that I use to compile using the context menu in Explorer (notice the framework paths are hard coded, you may need to modify).
[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\Build Solution Debug]
[HKEY_CLASSES_ROOT\VisualStudio.Solution.7.1\Shell\Build Solution Debug\Command]
@="C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\IDE\\devenv /rebuild debug \"%1\" /out .\build.txt"
Note that it will create a build.txt file in the same directory to allow you to view compilation errors, which of course, I am sure there will not be any :-\.
Posted in
Code
|
Comments [0]
Comments are closed.
Archives
August, 2008 (1)
April, 2008 (4)
March, 2008 (4)
February, 2008 (1)
January, 2008 (3)
December, 2007 (2)
October, 2007 (1)
September, 2007 (1)
June, 2007 (5)
May, 2007 (1)
April, 2007 (1)
March, 2007 (7)
February, 2007 (4)
January, 2007 (2)
December, 2006 (1)
November, 2006 (7)
October, 2006 (7)
September, 2006 (5)
August, 2006 (4)
July, 2006 (2)
June, 2006 (2)
May, 2006 (4)
April, 2006 (2)
March, 2006 (1)
February, 2006 (4)
January, 2006 (6)
December, 2005 (2)
June, 2005 (1)
May, 2005 (7)
April, 2005 (1)
March, 2005 (2)
February, 2005 (1)
January, 2005 (2)
December, 2004 (1)
November, 2004 (4)
October, 2004 (6)
July, 2004 (1)
May, 2004 (2)
April, 2004 (4)
March, 2004 (6)
February, 2004 (2)
January, 2004 (5)
December, 2003 (10)
November, 2003 (9)
October, 2003 (12)
January, 2003 (2)
Category Cloud
Architecture and Design (9)
Code (22)
Development (34)
Presentations (12)
TidByte (38)
Visual Studio .NET (12)
WPF (16)
Blogroll
David Chappell
David Ing
Harry Pierson
Rockey Lhotka
Scott Hanselman
Links
Home
MSDN
Microsoft Architecture Center
The MS Architect Journal
.NET Windows Forms
Asp.NET
Windows Communication Foundation
Microsoft Patterns/Practices
About
Sysknowlogy
Sign In