Hey all,
I'm really stuck on this part and can't seem to debug the issue. Please lend me your collective wisdom to resolve this!
I have Direction.cs in App_code, which only contains an enum (as the instructions say to do).
I have registered Wrox:Banner in Web.Config and triple checked to ensure all is correct (everything was working in the previous step.... adding the property has broken it somehow).
My banner code behind matches the solution Wrox has, except I've had to wrap it in the following:
Code:
namespace begASPNET.Controls
So the compiler knew what HorizontalPanel and VerticalPanel was. Otherwise, it underlined them in red asking me to define them.
When I go to run my code, I'm getting this error:
Code:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'Direction' exists in both 'c:\Users\Nathan\AppData\Local\Temp\Temporary ASP.NET Files\root\ed4229d3\db275704\assembly\dl3\1436ea22\761a90a6_e453d101\begASPNET.DLL' and 'c:\Users\Nathan\AppData\Local\Temp\Temporary ASP.NET Files\root\ed4229d3\db275704\App_Code.mh0y1mym.dll'
Source Error:
Line 41: <br />
Line 42: <br />
Line 43: <Wrox:Banner ID="Banner1" runat="server" DisplayDirection="Horizontal" />
Line 44: </aside>
Line 45: <footer>Footer Goes Here</footer>
Source File: c:\Users\Nathan\Documents\Visual Studio 2013\Projects\begASPNET\begASPNET\MasterPages\Frontend.Master Line: 43
It's not liking my Wrox:Banner and I'm really at a loss...