asp.net - Visual Studio 2010 compile error -
i getting following error when compile release of web application. project ran fine on machine hard drive went out on. thinking there problem configuration. did research , made note of web deploy issue unable verify version in use on past machine.
here error:
the "iscleanmsdeploypackageneeded" task failed unexpectedly. system.invalidcastexception: [a]microsoft.web.deployment.deploymentprovideroptions cannot cast [b]microsoft.web.deployment.deploymentprovideroptions. type originates 'microsoft.web.deployment, version=9.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35' in context 'default' @ location 'c:\windows\assembly\gac_msil\microsoft.web.deployment\9.0.0.0__31bf3856ad364e35\microsoft.web.deployment.dll'. type b originates 'microsoft.web.deployment, version=7.1.0.0, culture=neutral, publickeytoken=31bf3856ad364e35' in context 'default' @ location 'c:\windows\assembly\gac_msil\microsoft.web.deployment\7.1.0.0__31bf3856ad364e35\microsoft.web.deployment.dll'. @ microsoft.web.deployment.archiveelementhelper.get_providercontext() @ microsoft.web.deployment.zippackageprovider.d__0.movenext() @ microsoft.web.deployment.deploymentobject.d__9.movenext() @ microsoft.web.deployment.deploymentobject.d__0.movenext() @ microsoft.web.publishing.tasks.iscleanmsdeploypackageneeded.checkmsdeploydumpcontainiissetting(deploymentobject deploymentobject, string& iismsdeployprovidername) @ microsoft.web.publishing.tasks.iscleanmsdeploypackageneeded.execute() @ microsoft.build.backend.taskexecutionhost.microsoft.build.backend.itaskexecutionhost.execute() @ microsoft.build.backend.taskbuilder.d__20.movenext() 0 0 pkl_qmw
apparently can happen if install web deployment package without ui components.
try going add remove programs , doing change install on 'microsoft web deploy' , ensure ui components selected install.
Comments
Post a Comment