filename: Banner.ascx in folder: /Controls off the root.
Direction.cs has only this text:
Code:
public enum Direction
{
Horizontal,
Vertical
}
Here are the errors when I try to compile:
Code:
Warning 2 Element 'Banner' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing. Z:\idm\idmwebdev\MasterPages\MasterPage.master 40 10 Z:\idm\idmwebdev\
Error 3 'Controls_Banner.DisplayDirection.get' must declare a body because it is not marked abstract or extern Z:\idm\idmwebdev\Controls\Banner.ascx.cs 30 38 Z:\idm\idmwebdev\
Error 4 'Controls_Banner.DisplayDirection.set' must declare a body because it is not marked abstract or extern Z:\idm\idmwebdev\Controls\Banner.ascx.cs 30 43 Z:\idm\idmwebdev\
Error 5 z:\idm\idmwebdev\Controls\Banner.ascx.cs(30): error CS0501: 'Controls_Banner.DisplayDirection.get' must declare a body because it is not marked abstract or extern
Should this work under .NET 2.0?