Open HakanL opened 1 year ago
@HakanL, though this is more suited for the Discussions section of this repo, this is an interesting enhancement request.
Initially, I was skeptical about this feature early on considering the following thought process, "_if the build system places a file in the output folder then it should be uploaded to ensure integrity." However, this is not always true as you pointed out, and as a personal example building with CodeAnalysis leads to an unnecessary 13 language folders coming along for the ride.
Though there are many ways this can be achieved, what are your thoughts on the following?
.linuxdbg
file which uses a syntax approach similar to a primal .gitignore
and is placed in the same folder as the .sln
or .csproj
file?
.config
file. What if more than one file is found, who-overrides-who?Frankly, I'm leaning towards 1.
Yeah maybe it should've been a discussion first. I don't like proposal 2, but what about adding a property to the csproj file that uses the .gitignore syntax? I realize we're not trying to replace the publish
process, but we want the deployment to a Linux host to be as quick and seamless as possible, as you'll push the project over to the host many times during development. Anything that can streamline that process is welcome IMHO.
I noticed I have a runtimes folder on my Linux host (the files that are deployed with this extension) that includes binaries for 12 platforms including Windows and OSX. It would speed up deployment if I could exclude these from the deployment. Also I have a folder for client-side web files (Spa) that sits in a shared project, I'd like these to be included (they aren't by default).