大佬教程收集整理的这篇文章主要介绍了azure – MSBuild在构建时失败,正在寻找旧版本的Microsoft.Data.Tools.Schema.Sql,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我安装了TFS2012.构建控制器和服务器上的单个代理.连接到云TFS2012.在这种情况下我也使用Azure网站.我在构建服务器上安装了Visual studio 2012 Professional和sql Server 2012.该项目没有数据库,所以我不确定它为什么要寻找10.3.我没有看到该版本的服务器,但我看到11.0.2861.0.是否有一些配置需要更改才能查看新版本?我还在构建服务器上安装了2012年6月的SSDT.编译成功,它实际上移动了所有文件并创建了一个包.但我得到这个错误使构建事件失败.我错过了什么?
我收到以下错误消息:
Exception message: The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception. (type TypeInitializationException) Exception Stack Trace: Server stack trace: at Microsoft.Web.Deployment.DeploymentProviderSetTingCollection..ctor(String factoryName) at Microsoft.Web.Deployment.DeploymentProviderOptions..ctor(String factoryName) at Microsoft.Web.Deployment.DeploymentProviderOptions..ctor(DeploymentWellKNownProvider wellKNownProvider) at Microsoft.TeamFoundation.Deployment.Workflow.Activities.MSDeployWorker.RunCommand(String publishEndpoint,String targetSite,String userName,String password,String packagePath,String setParametersPath,Boolean allowUntrustedCertificates) at System.Runtime.RemoTing.messaging.StackBuilderSink._PrivateProcessmessage(IntPtr md,Object[] args,Object server,Object[]& outArgs) at System.Runtime.RemoTing.messaging.StackBuilderSink.AsyncProcessmessage(Imessage msg,ImessageSink replySink) Exception rethrown at [0]: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,ActivityExecutor executor,BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,BookmarkManager bookmarkManager,LOCATIOn resultLOCATIOn) Inner Exception Details: Exception message: The type initializer for 'Microsoft.Web.Deployment.builTinTypesCache' threw an exception. (type TypeInitializationException) Exception Stack Trace: at Microsoft.Web.Deployment.DeploymentProviderFactoryCollection.LoadFromRegistry() at Microsoft.Web.Deployment.DeploymentManager.LoadDeploymentManagerSetTings() at Microsoft.Web.Deployment.DeploymentManager..cctor() Inner Exception Details: Exception message: The provider 'Microsoft.Data.Tools.scheR_563_11845@a.MsDeploy.MsDeployProviderFactory' Could not be loaded. (type Deploymentexception) Exception Stack Trace: at Microsoft.Web.Deployment.DeploymentProviderFactory.Create(Type typE) at Microsoft.Web.Deployment.builTinTypesCache.InspectTypesForWebDeployAttributes(IEnumerable`1 types,String dllName) at Microsoft.Web.Deployment.builTinTypesCache..cctor() Inner Exception Details: Exception message: The type 'Microsoft.Data.Tools.scheR_563_11845@a.MsDeploy.MsDeployProviderFactory' Could not be loaded. The configuration setTings may not be valid. (type Deploymentexception) Exception Stack Trace: at Microsoft.Web.Deployment.ReflectionHelper.CreateInstanCET at Microsoft.Web.Deployment.DeploymentProviderFactory.Create(Type typE) Inner Exception Details: Exception message: The type initializer for 'Microsoft.Data.Tools.scheR_563_11845@a.MsDeploy.MsDeployProviderBaseProviderFactory' threw an exception. (type TypeInitializationException) Exception Stack Trace: at System.Runtime.RemoTing.RemoTingservices.AllocateUninitializedObject(RuntimeType objectTypE) at System.Runtime.RemoTing.Activation.Activationservices.CreateInstance(RuntimeType serverTypE) at System.Runtime.RemoTing.Activation.Activationservices.IsCurrentContextOK(RuntimeType serverType,Object[] props,Boolean bNewObj) at System.RuntimeTypeHandle.CreateInstance(RuntimeType type,Boolean publicOnly,Boolean nocheck,Boolean& canBeCached,RuntimeMethodHandleInternal& ctor,Boolean& bNeedSecuritycheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,Boolean skipcheckThis,Boolean fillCache,StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly,StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type,Boolean nonPubliC) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,Binder binder,CultureInfo culture,Object[] activationAttributes,BindingFlags bindingAttr,Object[] activationAttributes) at System.Activator.CreateInstance(Type type,Object[] args) at Microsoft.Web.Deployment.ReflectionHelper.CreateInstanCET Inner Exception Details: Exception message: Could not load file or assembly 'Microsoft.Data.Tools.scheR_563_11845@a.sql,Version=10.3.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cAnnot find the file specified. (type FileNotFoundException) Exception Stack Trace: at Microsoft.Data.Tools.scheR_563_11845@a.MsDeploy.MsDeployProviderBaseProviderFactory..cctor()
以上是大佬教程为你收集整理的azure – MSBuild在构建时失败,正在寻找旧版本的Microsoft.Data.Tools.Schema.Sql全部内容,希望文章能够帮你解决azure – MSBuild在构建时失败,正在寻找旧版本的Microsoft.Data.Tools.Schema.Sql所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。