Can I specify the output path for the MSBuild tag?

后端 未结 4 2012
猫巷女王i
猫巷女王i 2021-02-07 08:29

Is it possible to specify a different folder for the output of the following file?


  PreserveNe         


        
4条回答
  •  甜味超标
    2021-02-07 09:07

    This functionality isn't built into the Content item. But you can tack it on by adding a target to your project file.

    In your project you currently have this:

    
      
        PreserveNewest
      
    
    

    Assuming you want that one specific file copied to a different location, add this to the end (before the closing "Project" tag):

    
       
      
      
    
    

    If you want to add a few more files to copy to the same folder, try this instead:

    
       
      
      
    

提交回复
热议问题