I have some standard files with sourcecode that exists in almost every project I create.
This overcomes the burden of retyping lots of code, improves coding efficiency and ensures always the last version is used when compiling.
In some development environments you could do something like:
<insert c:/users/c/myfile.cs>
And that file would be read and replace the insert tag at compilation/build.
Also property definitions, methods and so on would be available / referable in the main sourcecode as if it was typed in the main source itself.
I know I could make it a dll or a class but that’s not the way i’d like to solve this problem.
Does VS2022 have such functionality?