MSBuild OutputPath property and absolute paths

后端 未结 4 1108
囚心锁ツ
囚心锁ツ 2021-01-12 06:59

I\'m trying to set the OutputPath value to an absolute path:

c:\\Projects\\xxx\\Deployment

But I get t

4条回答
  •  花落未央
    2021-01-12 07:06

    1. Copy the .target and .dll files from the installer directory
    2. Modify the lines at the top that look like and c*opy those .target and .dll files to your vendors folder next to the copied Microsoft.WebDeployment.targets-file your are editing*. Set the attr, AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"
    3. Add the line True to the initial PropertyGroup.
    4. Set the OutputPath as you wish in the actual file/other tagets/other build-proj file.
    5. Edit line ~290 to $(OutputPath)

提交回复
热议问题