Fresh Install, New Project, Full of Errors

Asked By 0 points N/A Posted on -
qa-featured

Hello Firends,

 

After the fruitfully new installation of the LS 2011, I choose New Project -> Visual Basic Light Switch Application. 

At once unexpectedly the below error occurred:

Error 2 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 32 102 Server

Error 3 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 40 104 Server

Error 5 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 47 103 Server

Error 6 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 79 112 Server

Error 7 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 87 111 Server

Error 8 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Server.ServerApplication(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 95 110 Server

Error 4 Type argument 'LightSwitchApplication.Application' does not inherit from or implement the constraint type 'Microsoft.LightSwitch.Framework.Base.Application(Of LightSwitchApplication.Application, LightSwitchApplication.Application.DetailsClass)'. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 46 133 Server

Error 1 Type 'LightSwitchApplication.DataWorkspace' is not defined. D:LSAppLSAppServerGeneratedArtifactsApplication.vb 17 184 Server

Error 9 Option Strict On disallows implicit conversions from 'LightSwitchApplication.Application' to 'Microsoft.LightSwitch.Server.IServerApplication'. D:LSAppLSAppServerGeneratedGeneratedArtifactsApplication.vb 24 20 Server Generated

Error 11 Option Strict On disallows implicit conversions from 'LightSwitchApplication.Application' to 'Microsoft.LightSwitch.IModule'. D:LSAppLSAppServerGeneratedGeneratedArtifactsApplication.vb 39 20 Server Generated

 

How can I set resolve this matter?

Thank you very much.

SHARE
Answered By 5 points N/A #198588

Fresh Install, New Project, Full of Errors

qa-featured

 

Hi James

It looks like that your Light Switch 2011 needs Web Deploy 1.1 which is not successfully installed during the installation. You can immediately solve this problem by downloading and installing one of these files.

Important Note:  .NET 2.0 Framework SP1 or greater version must be installed first.

I hope this helps.

Related Questions