项目地址1>------ 已启动生成: 项目: ArchiSteamFarm, 配置: Release Any CPU ------
1>ArchiSteamFarm -> C:\Users\Chen\Documents\GitHub\ArchiSteamFarm\ArchiSteamFarm\bin\Release\net472\ArchiSteamFarm.exe
1>ArchiSteamFarm -> C:\Users\Chen\Documents\GitHub\ArchiSteamFarm\ArchiSteamFarm\bin\Release\netcoreapp2.0\ArchiSteamFarm.dll
1>ArchiSteamFarm -> C:\Users\Chen\Documents\GitHub\ArchiSteamFarm\ArchiSteamFarm\bin\Release\netcoreapp2.1\ArchiSteamFarm.dll
2>------ 发布已启动: 项目: ArchiSteamFarm, 配置: Release Any CPU ------
2>C:\Users\Chen\Documents\GitHub\ArchiSteamFarm\ArchiSteamFarm\ArchiSteamFarm.csproj 的还原在 52.7 ms 内完成。
2>ArchiSteamFarm -> C:\Users\Chen\Documents\GitHub\ArchiSteamFarm\ArchiSteamFarm\bin\Release\netcoreapp2.1\linux-arm\ArchiSteamFarm.dll
2>unresolved assembly System.Runtime
2>unresolved assembly System.Linq.Expressions
2>unresolved assembly System.Threading.Tasks
2>unresolved assembly System.Collections
2>unresolved assembly System.Runtime.Extensions
2>unresolved assembly System.Diagnostics.Debug
2>unresolved assembly System.Threading
2>unresolved assembly System.Xml.ReaderWriter
2>unresolved assembly System.Collections.Concurrent
2>unresolved assembly System.Threading.Timer
2>unresolved assembly System.IO.FileSystem.Watcher
2>unresolved assembly System.IO.Compression
2>unresolved assembly System.Collections.Specialized
2>unresolved assembly System.Security.Cryptography.Csp
2>unresolved assembly System.Text.RegularExpressions
2>unresolved assembly System.Linq
2>unresolved assembly System.Security.Cryptography.Algorithms
2>unresolved assembly System.Net.WebProxy
2>unresolved assembly System.Net.Primitives
2>unresolved assembly System.Net.WebSockets
2>unresolved assembly System.Net.HttpListener
2>unresolved assembly System.Diagnostics.Process
2>unresolved assembly System.Resources.ResourceManager
2>unresolved assembly System.Console
2>unresolved assembly System.Net.Http
2>unresolved assembly System.Diagnostics.Tools
2>unresolved assembly System.IO.FileSystem
2>unresolved assembly System.IO.Compression.ZipFile
2>unresolved assembly System.Security.Cryptography.Primitives
2>unresolved assembly System.Linq.Parallel
2>unresolved assembly System.Runtime.InteropServices.RuntimeInformation
2>unresolved assembly System.Runtime.InteropServices
2>unresolved assembly System.Net.ServicePoint
2>unresolved assembly Microsoft.CSharp
2>unresolved assembly System.ComponentModel.TypeConverter
========== 生成: 成功 1 个,失败 0 个,最新 0 个,跳过 0 个 ==========
========== 发布: 成功 0 个,失败 1 个,跳过 0 个 ==========2018/7/26 22:42:15
System.AggregateException: 发生一个或多个错误。 ---> System.Exception: 发布失败。
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   在 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   在 Microsoft.VisualStudio.ApplicationCapabilities.Publish.Model.DefaultPublishSteps.<>c__DisplayClass22_0.<IsBuildCompletedSuccessfully>b__1()
   在 System.Threading.Tasks.Task`1.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.VisualStudio.ApplicationCapabilities.Publish.Model.DefaultPublishSteps.<DefaultCorePublishStep>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.VisualStudio.ApplicationCapabilities.Publish.ViewModel.ProfileSelectorViewModel.<RunPublishTaskAsync>d__116.MoveNext()
---> (内部异常 #0) System.Exception: 发布失败。<---===================

解决方案 »

  1.   

    来个人帮帮忙啊。。有人能成功release吗,求救
      

  2.   

    不要发布到azure,发布到文件夹啊
      

  3.   

    不要发布到azure,发布到文件夹啊
      

  4.   

    楼上2位大侠厉害,从错误中哪里看到是发布到azure了?
      

  5.   

    明显是发布到azure,发布时选择生产发布文件 ,
      

  6.   

    我没有发布到Azure..就是选的文件夹,麻烦各位看清楚啊
      

  7.   

    目标机器的环境与你本地一样么?比如framework版本
      

  8.   

    发布本地,再copy目的电脑试试
      

  9.   

    NuGet 更新一下你引用的dll