When I use the option Publish...
selecting as target the file system in Visual Studio 2015 it compiles the code, do the XML transformation in the Web.config files and copy the files to the folder I specified.
It does not copy any *.cs
file as expected since it is compiled.
Something that I don't understand is why it publishes the Nuget Config file (packages.config
), after all, the files needed are already in the bin
folder.
I found this question that says how to avoid but not the reason they decided this file would be usable on the server.
Can I stop VS from publishing packages.config?
Anyone know why packages.config
end up in the publish folder?