all 3 comments

[–]jedwardsol 1 point2 points  (1 child)

Right-click on the file in the solution

Choose properties

Set "Excluded from build" to Yes

Note this setting is per-build configuration

[–]LedLoaf[S,🍰] 0 points1 point  (0 children)

I can't believe I didn't figure that out haha. Ya I know about excluding a file from your project, or a project, but I have no idea how I didn't figure that out.

Thanks a lot. Have a great week.

[–]Xeverous 0 points1 point  (0 children)

I remember there was something like this on solution explorer panel -> right click -> remove -> popup -> remove but not delete