Skip to content

There are 'duplicate attribute' errors for .AssemblyInfo.cs file after deployment #1154

@v-ruizh

Description

@v-ruizh

OS: Windows
Node.js: V10.15.0
Build Version: 20190402.1
Azure Functions Core Tools: V2.4.498

Repro Steps:

  1. Create a C# project.
  2. Create a new function with 'HTTP trigger' template and 'Function' level.
  3. Deploy this C# project to Azure Function app.
  4. Wait for 1 minute and click 'PROBLEMS' panel to check the logs.

Expect:
There is no error in 'PROBLEMS' panel.

Actual:
There are 'duplicate attribute' errors for .AssemblyInfo.cs file.
image

More Info:

  1. This issue don't reproduce for JavaScript/TypeScript and Python project.
  2. This issue also reproduces on Azure Function extension previous release build 0.16.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions