The component does not have a resource identified by the uri

后端 未结 20 977
悲哀的现实
悲哀的现实 2020-12-01 07:33

I want to create a Generic DataGrid to use on all my Views/UserControls.

This is my structure:

Class Library called \"Core\":

20条回答
  •  独厮守ぢ
    2020-12-01 08:09

    I received the same error when using Visual Studio 2013.

    The component does not have a resource identified by the uri

    Tried:
    Cleaning and rebuilding the solution - did not work.
    Closing and opening Visual Studio - did not work.

    Solution:
    Went into the projects bin directory and cleared out all files.
    Ran the project again and worked fine.

    Open the Package Manager Console which will open in the root directory of your Solution and run the following powershell command:

    Get-ChildItem -inc bin,obj -recurse | Remove-Item -recurse -force -EA SilentlyContinue
    

提交回复
热议问题