C
C#2w 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
Sehra2w ago
use a second console project to run, or a test project
Tobii
TobiiOP2w ago
what exactly do you mean by that?
canton7
canton72w 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
TobiiOP2w ago
ah okay i understand thank you for your help
canton7
canton72w ago
No worries! $close
MODiX
MODiX2w ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?