BUG: The project dependencies in your Enterprise Template project are not saved in Visual Studio .NET 2003 (818452)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
SYMPTOMSIf you add project dependencies to an Enterprise Template
project by using Microsoft Visual Studio 2003, the project dependencies are not
saved when you close and then reopen the Enterprise Template
project.CAUSEThis problem occurs because the dependency information does
not persist correctly for Enterprise Template subprojects when you close and
then reopen the Enterprise Template project in Visual Studio .NET
2003.WORKAROUNDTo work around this problem, use a project
reference. If you create a project that depends on the file output of
another project, and you want to set project dependencies to influence the
build order of the projects, you can use a project reference. A
project reference performs the following functions:
- References the build output of the referenced
project.
- Automatically updates the build order to make sure that the
referenced project is built before the project that references it is
built.
Add a project reference- In Visual Studio .NET, create an Enterprise Template
project.
- Add a Class Library project to the Enterprise Template
project.
- Add an ASP.NET Web application project to the Enterprise
Template project.
- Add a reference to the class library DLL to the ASP.NET Web
application project. Call the methods of the class library DLL in the ASP.NET
Web application project.
- Build the solution.
- On the Debug menu, click
Start.
- Modify the class library DLL.
- On the Debug menu, click
Start.
Notice that the class library is built first and the
modifications that you made in step 7 appear in the build of the Enterprise
Template project. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbHotfixServer kbQFE kbpending kbide kbAppDev kbbug KB818452 kbAudDeveloper |
---|
|