c# - Bundle seems to happen after files are copied -


i trying deploy asp.net core web application.

at beginning of publish process, have 1 file under \wwwroot\css: main.css.

after publish process:

  • in \publish folder, there main.css
  • in \wwwroot\css folder, there main.css + main.min.css (thus minification works, command line message says*)

my .csproj seems correct:

<target name="prepublishscript" beforetargets="prepareforpublish">     <exec command="bower install --allow-root" />     <exec command="dotnet bundle" /> </target>  <itemgroup>       <none update="wwwroot\**\*">       <copytopublishdirectory>preservenewest</copytopublishdirectory>     </none> </itemgroup> 

so thing seems possible in scenario bundling happening after files copied.

(*) command line message:

processing wwwroot/css/site.min.css minified 


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -