Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

the xml file in library project isn't exported when I publish my asp.net mvc project to filesystem.

$
0
0

Here is my solution structure.

   ResourcesLibary

        a.xml

   MvcProject

       .......

I've already set the property  "build action" to "Content" and "Copy to Output Directory" to "Copy always.

If I build the solution,the xml file will be copied to bin directory of mvc project and the application can start up.

but every time I publish the project to filesystem, I need copy the xml file to bin directory by hand.  

   


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>