当我想要将新项目部署到 Azure 时,我收到许多错误消息。
AssemblyInfo.cs:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Newfunctions")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Newfunctions")]
[assembly: System.Reflection.AssemblyTitleAttribute("Newfunctions")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.
Run Code Online (Sandbox Code Playgroud)
错误信息:
Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute [Newfunctions]
Duplicate 'System.Reflection.AssemblyConfigurationAttribute' attribute [Newfunctions]
Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute [Newfunctions]
Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute [Newfunctions] …Run Code Online (Sandbox Code Playgroud)