I just installed the latest Silverlight 4 developer bits using the Web Platform Installer. I tried to start a new "Silverlight Business Application" project in VB.NET, but the project won't compile out of the box. For example, I get an error message to replace WebContext
with WebClient
.
What might be the problem with the Silverlight Business Application template? Is it VB.NET? Has it not been updated for Silverlight 4? Something else?
UPDATE: I checked to see if the C# version of the template compiles and it works just fine. I dug around some more in the errors in the VB.NET version, and if I add a few random lines of code to the generated code that's throwing the error, and then delete the code, it will stop throwing errors. Before I make this "fix," though, I see really odd errors like "End Get must start with Get," even though the syntax of the generated code is just fine. It seems like kicking the IDE in the side with a few lines of random code whips it into place, but I don't think I should have to do that.