Dag*_*oms 6 azure-service-fabric
我现在在包括Service Fabric包在内的所有构建上都收到以下错误:
build\Microsoft.ServiceFabric.Actors.targets(34,5):
error MSB3073: The command ""\Build\x64\Debug\\FabActUtil.exe"
/app:"\ApplicationPackageRoot" /spp:"PackageRoot" /t:manifest /ap:"Project"
/sp:"Project1" /in:"..\Build\x64\Debug\\Project1.Exe"
/local5nodeappparamfile:"ApplicationParameters\Local.5Node.xml"
/local1nodeappparamfile:"ApplicationParameters\Local.1Node.xml" "
exited with code -1.
Run Code Online (Sandbox Code Playgroud)
在Service Fabric 5.2.207,SDK 2.2.207上运行
什么是FabActUtil.exe的代码-1,有没有办法在此事件上获得更好的错误输出?
从 Visual Studio 外部的错误消息运行命令会给出以下消息以及堆栈跟踪:
System.ArgumentException: An item with the same key has already been
added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource
resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key,
TValue value, Boolean add)
at Microsoft.ServiceFabric.Actors.Generator.ManifestGenerator.Context.LoadExistingContents()
at Microsoft.ServiceFabric.Actors.Generator.ManifestGenerator.Generate(Arguments arguments)
at FabActUtil.Tool.GenerateOutput(ToolContext context)
at FabActUtil.Program.Main(String[] args)
Run Code Online (Sandbox Code Playgroud)
这是因为ApplicationManifest.xml
其中一项默认服务有重复的定义。
感谢阿曼巴: https: //github.com/amanbha
归档时间: |
|
查看次数: |
1346 次 |
最近记录: |