msbuild SLN and still get separate project outputs?

前端 未结 2 934
借酒劲吻你
借酒劲吻你 2021-02-05 21:41

I have a normal SLN file, and I\'m compiling it fine with msbuild from the command line. I do this:

C:\\slndir> msbuild /p:OutDir=C:\\slnbin\\

And it dumps every

2条回答
  •  一个人的身影
    2021-02-05 22:13

    Like John Saunders said, you need to have a master MSBuild file that handles the process.

    Here is a sample using MSBuild Community Tasks : GetSolutionProjects that gets the projects for a given solution

    
    
    
      
    
      
      
        
      
    
      
        AnyCPU
        Debug
    
        
        C:\slbin\Deploy
      
    
      
      
        
          
        
      
    
      
        
        
        
      
    
    

提交回复
热议问题