.csproj multiple hint paths for an assembly

后端 未结 6 1210
天涯浪人
天涯浪人 2020-12-04 12:42

I\'m packaging example code for an SDK distribution. In the distribution, the relative path from code to the SDK assemblies is different from the build machine. For exampl

6条回答
  •  广开言路
    2020-12-04 13:28

    I found a hacky solution that works for my case, where the parent directory is guaranteed to be different somewhere up the tree:

    
      
        
          
            ..\..\csharp\bin\assembly.dll
          
        
      
      
        
          
             ..\..\..\..\..\foo\sdk\csharp\bin\assembly.dll
          
        
      
    
    

提交回复
热议问题