How do I import the msbuildcommunitytasks project from another msbuild project with a relative file path?

后端 未结 6 2210
再見小時候
再見小時候 2020-12-16 02:46

Please go easy I am new to msbuild and msbuildtasks!

How can I set a property which represents a relative file path to a targets file which I want to import? I need

6条回答
  •  一个人的身影
    2020-12-16 03:08

    I'm a noob at msbuild if I'm quite honest however I've just solved my own problem I had with this. I was turning one of the targets into its own project and it wasn't finding the paths for the msbuild community paths. If you look at your original project you may find something like this

    
        ./
        ./
    
    
    
    
    

    Copy this code into your new project and it should work.

提交回复
热议问题