Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

User control fake error with Dependency Injection in WebForms #13

@spottedmahn

Description

@spottedmahn

This sample code for using DI with User controls works at runtime but VS is reporting compile errors:

Severity Code Description Project File Line Suppression State
Error CS7036 There is no argument given that corresponds to the required formal parameter ‘dependency’ of ‘Index.Index(IDependency)’ 1_Index.aspx C:\Users\mdepouw\source\repos\GitHub\spottedmahn\WebFormsInjection-MsDi\sample\DI.WebForms.Sample\Index.aspx 10 Active


Reference: https://developercommunity.visualstudio.com/content/problem/668468/user-control-fake-error-with-dependency-injection.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions