Build Failures
-
I'm building a multi-project solution in VB.Net and it tells me that 1 failed. How do I locate what project and where in that project is causing the failure?
-
I'm building a multi-project solution in VB.Net and it tells me that 1 failed. How do I locate what project and where in that project is causing the failure?
The task list will usually list out any errors discovered. You can open it using CTRL-ALT-K or going to View | Other Windows | Task List to open the window. You can then double click on any error and it will automatically open up the offending file.
-
The task list will usually list out any errors discovered. You can open it using CTRL-ALT-K or going to View | Other Windows | Task List to open the window. You can then double click on any error and it will automatically open up the offending file.
in addition to what Chris mentioned, you should also check the output window. It gives a blow by blow description of the build process, listing any errors that may have occured. Ctrl & Alt & O View - Other Windows - Output Window
-jim
-
in addition to what Chris mentioned, you should also check the output window. It gives a blow by blow description of the build process, listing any errors that may have occured. Ctrl & Alt & O View - Other Windows - Output Window
-jim
I am looking at the Output window and it is telling me that there where 2 build failures. However the blow-by-blow account of the build process shows no errors. There are no compiler errors in my task list and just that 2 build failures. How come?
-
I am looking at the Output window and it is telling me that there where 2 build failures. However the blow-by-blow account of the build process shows no errors. There are no compiler errors in my task list and just that 2 build failures. How come?
if there were compilation errors, they should definitely be listed in the output window. look in between the portion of the build description that says "Performing Main Compilation..." and "Building Satellite Assemblies...". If there is anything in-between, chances are it's an error. You may have to scroll over to the right a little to see it's description, but it should be there. As for the task list, give it a right click, go to "Show Tasks" and make sure that either "All", or "Build Errors" is checked. This way you're not filtering them out. other than that i'm not sure what could be wrong, but make sure that all of your assembly/project references are solid. hope this helps,
-jim