views:

205

answers:

0

Hello,

I am using the aspnet_compiler to pre-compile my asp.net web application VB.NET project with the following command line:

aspnet_compiler.exe -f -fixednames -p C:\myfolder\myproject\WebApp
lication1\ -v / C:\myfolder\myproject\pre-compiled

When I run the above command I keep getting the following warning message:

C:\myfolder\WebApplication1\WebApplication1\somepage.aspx(194): warning BC42328: The 'AddressOf' expression has no effect in this context because the method argument to 'AddressOf' requires a relaxed conversion to the delegate type of the event. Assign the 'AddressOf' expression to a variable, and use the variable to add or remove the method as the handler.

My question:

How do I get rid of the warning?

Thanks,