在为 2012 安装和配置构建服务器后,我尝试进行 azure 持续部署。
我安装了 TFS2012。服务器上的构建控制器和单个代理。连接到云 TFS2012。在这种情况下,我也使用 Azure 网站。我在构建服务器上安装了 Visual Studio 2012 Professional 和 SQL Server 2012。该项目没有数据库,所以我不确定它为什么要寻找 10.3。我没有看到那个版本的服务器,但是我看到了 11.0.2861.0。是否有一些配置需要更改才能查看较新版本?我还在构建服务器上安装了 SSDT June 2012。编译成功,它实际上移动了所有文件并创建了一个包。但是我收到此错误使构建事件失败。我错过了什么?
我收到以下错误消息:
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) …Run Code Online (Sandbox Code Playgroud)