1
- <?xml version =" 1.0" encoding =" utf-8" ?>
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+
2
3
<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Target Name =" KYGeneratorCLICoreBeforeTarget" BeforeTargets =" BeforeBuild" >
4
- <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.0.0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 msbuild beforeBuild"
4
+ <Target Name =" KYGeneratorBeforeTarget" BeforeTargets =" BeforeBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'" >
5
+ <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.1.0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 -plattform=%22windows%22 msbuild beforeBuild"
6
+ CustomErrorRegularExpression =" ^Error:"
7
+ CustomWarningRegularExpression =" ^Warning:" >
8
+ </Exec >
9
+ </Target >
10
+ <Target Name =" KYGeneratorAfterTarget" AfterTargets =" AfterBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'" >
11
+ <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.1.0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 -plattform=%22windows%22 msbuild"
12
+ CustomErrorRegularExpression =" ^Error:"
13
+ CustomWarningRegularExpression =" ^Warning:" >
14
+ </Exec >
15
+ </Target >
16
+ <Target Name =" KYGeneratorBeforeTarget" BeforeTargets =" BeforeBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'" >
17
+ <Exec Command =" dotnet %22~/.nuget/packages/ky.generator/4.1.0/tools/KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)%22 -assembly=%22$(TargetPath)%22 -plattform=%22osx%22 msbuild beforeBuild"
18
+ CustomErrorRegularExpression =" ^Error:"
19
+ CustomWarningRegularExpression =" ^Warning:" >
20
+ </Exec >
21
+ </Target >
22
+ <Target Name =" KYGeneratorAfterTarget" AfterTargets =" AfterBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'" >
23
+ <Exec Command =" dotnet %22~/.nuget/packages/ky.generator/4.1.0/tools/KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)%22 -assembly=%22$(TargetPath)%22 -plattform=%22osx%22 msbuild"
24
+ CustomErrorRegularExpression =" ^Error:"
25
+ CustomWarningRegularExpression =" ^Warning:" >
26
+ </Exec >
27
+ </Target >
28
+ <Target Name =" KYGeneratorBeforeTarget" BeforeTargets =" BeforeBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'" >
29
+ <Exec Command =" dotnet %22~/.nuget/packages/ky.generator/4.1.0/tools/KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)%22 -assembly=%22$(TargetPath)%22 -plattform=%22linux%22 msbuild beforeBuild"
30
+ CustomErrorRegularExpression =" ^Error:"
31
+ CustomWarningRegularExpression =" ^Warning:" >
32
+ </Exec >
33
+ </Target >
34
+ <Target Name =" KYGeneratorAfterTarget" AfterTargets =" AfterBuild" Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'" >
35
+ <Exec Command =" dotnet %22~/.nuget/packages/ky.generator/4.1.0/tools/KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir\%22 -assembly=%22$(TargetPath)%22 -plattform=%22linux%22 msbuild"
36
+ CustomErrorRegularExpression =" ^Error:"
37
+ CustomWarningRegularExpression =" ^Warning:" >
38
+ </Exec >
39
+ </Target >
40
+ <Target Name =" KYGeneratorBeforeTarget" BeforeTargets =" BeforeBuild" >
41
+ <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.1.0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 -plattform=%22windows2%22 msbuild beforeBuild"
5
42
CustomErrorRegularExpression =" ^Error:"
6
- CustomWarningRegularExpression =" ^Warning:" ></Exec >
43
+ CustomWarningRegularExpression =" ^Warning:" >
44
+ </Exec >
7
45
</Target >
8
- <Target Name =" KYGeneratorCLICoreAfterTarget " AfterTargets =" AfterBuild" >
9
- <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.0 .0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 msbuild"
46
+ <Target Name =" KYGeneratorAfterTarget " AfterTargets =" AfterBuild" >
47
+ <Exec Command =" dotnet %22%25USERPROFILE%25\.nuget\packages\ky.generator\4.1 .0\tools\KY.Generator.dll%22 %22$(ProjectDir)generator.json%22 -output=%22$(ProjectDir)\%22 -assembly=%22$(TargetPath)%22 -plattform=%22windows2 %22 msbuild"
10
48
CustomErrorRegularExpression =" ^Error:"
11
- CustomWarningRegularExpression =" ^Warning:" ></Exec >
49
+ CustomWarningRegularExpression =" ^Warning:" >
50
+ </Exec >
12
51
</Target >
13
52
</Project >
0 commit comments