Is there a difference between dll in bin compared to published dll in vs2012

If I clean my project under release. And then I create a project under release. And then I take that .dllout binis that the file will differ from .dllgenerated using the function Publish to "Release" selected?

+4
source share
2 answers

I'm not an expert reading MSBuild files, but there seems to be no difference, because it looks like what exactly MSBuild ..

You can pull out "% windir% \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Microsoft.Common.targets", find the publishing target and track the dependencies, so that you can ultimately find the _CopyFilesToPublishFolder target that does exactly what it says: copy everything covered by the OutputFiles property (among many other files) to the publication directory.

+1
source

Well, if nothing changes the source code, then yes, it should be the same. If something in the source (or dependency) changes, then VS is likely to rebuild the project before publishing.

+1
source

All Articles