c# - Access a Razor View from another project -
I have a MVC project that is using the razor scene for my website. One of my projects, when I call it, Project 1 is full and used.
I want to access a scene from Project 2 in Project 2 so that I do not have to keep both screens.
They are both in the same solution.
I can not change Project 1 because it is already in use by our customers, I saw the razor single file generator, but it is quite hard for 1 screen and I can not change Project 1 Which is already in use.
How do I reference the scene from Project 1 into my project 2?
Thank you!
You can insert your ideas from project 2 to DLL and reference DLL in project 1 Are there. .
Follow a compilation to be compiled in DLL.
Comments
Post a Comment