C
C#2mo ago
Tobii

✅ Local csproj

I am currently working on a project which is used as a library. My problem is that if I locally develop the project it is a standalone project and should be run as WinExe. When I use the project as Library in another project the .csproj needs to be changed. Is there an easy way to have a "local" .csproj and a "github" .csproj. If I am on the wrong track, please let me know.
6 Replies
Sehra
Sehra2mo ago
use a second console project to run, or a test project
Tobii
TobiiOP2mo ago
what exactly do you mean by that?
canton7
canton72mo ago
Have your main project as a library. You can then have a second exe project for local testing which references the library project
Tobii
TobiiOP2mo ago
ah okay i understand thank you for your help
canton7
canton72mo ago
No worries! $close
MODiX
MODiX2mo ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?