I have few solutions that using the same .cs file.
I'd like to reference the file(so, the code will only be once) and each time it change,
the solutions that using the file will be updated as well.
For ex:
I have solution A in location C:\a
and solution B in location C:\b
and file common.cs in location C:\common
A and B use common.cs
The file uses 3 party using statement, so it cant be added to a project and compiled.
I've tried by Add -> Exiting Item but it copies the file, not reference it, so changing the original file, the reference will not be updated.
I also try using shared project but it's per solution and I need it to be cross solutions.
Any idea?
EDIT
This question is not familiar to this because I cant create a project and compile it. The files are using external libraries and the class library will not be compiled.