The call is ambiguous between the following methods or properties (bug??)

前端 未结 4 650
Happy的楠姐
Happy的楠姐 2020-12-08 19:32
  1. Create a new ASP.NET MVC Web Application
  2. Create an ASP.NET App_Code Folder
  3. Inside the new folder, create a class with an Extension Method. For e

4条回答
  •  情歌与酒
    2020-12-08 19:58

    Do not use the app_code folder.

    Use any other folder name. IE. appCode or ApplicationsCode.

    The name in the folder implies some compilation at runtime that leads to have duplicated code.

提交回复
热议问题