4 ms·
>Because of the implicit project file, other files in the target directory or its subdirectories are included in the compilation. Errm, so how is this differen
by GoblinSlayer 1y ago
>Because of the implicit project file, other files in the target directory or its subdirectories are included in the compilation.
Errm, so how is this different from a folder with a project file?
- zigzag312 1y agoProbably, you can have multiple scripts in one folder. Eg script1.cs, script2.cs...
- GoblinSlayer 1y agoThat's it, and they are all compiled into one executable as implicit items, and everything in subfolders.
- motorest 1y ago> Errm, so how is this different from a folder with a project file? It requires neither a folder nor a project file. Just pass the source file as the argument and you have everything up and running.
- GoblinSlayer 1y agoIf you don't put it in a folder, then entire folder tree is compiled into your script.
- recursive 1y agoThat doesn't seem true based on the introduction. Where are you seeing that info?
- GoblinSlayer 1y agoIn the end the post links to spec. >By default, file-based apps use the Microsoft.NET.Sdk SDK. This behavior is default provided by sdk to keep project files small.