Datei: nuget/NDO.Build.targets
Last Commit (3c5cca3)
| 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | ··<PropertyGroup> |
| 4 | <NdoProjFullPath>$( MSBuildProjectDirectory) \$( ProjectName) . ndoproj</NdoProjFullPath> |
| 5 | ··</PropertyGroup> |
| 6 | ·· |
| 7 | <Target Name="NDOEnhancer" AfterTargets="Build"> |
| 8 | <NDOEnhancer NdoProjectFile="$( NdoProjFullPath) " NdoPlatformTarget="$( Platform) " TargetFramework="$( TargetFramework) " /> |
| 9 | ··</Target> |
| 10 | ·· |
| 11 | ··<UsingTask AssemblyFile="NDOEnhancer.BuildTask.dll" TaskName="NDO.BuildTask.NDOEnhancer" /> |
| 12 | |
| 13 | </Project> |
| 14 |
New Commit (dbc6a64)
| 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | ··<PropertyGroup> |
| 4 | <NdoProjFullPath Condition="'$( NdoProjFullPath) ' == ''">$( MSBuildProjectDirectory) /$( MSBuildProjectName) . ndoproj</NdoProjFullPath> |
| 5 | ····<NdoEnhancerPath>$(MSBuildThisFileDirectory)NDOEnhancer.dll</NdoEnhancerPath> |
| 6 | ··</PropertyGroup> |
| 7 | |
| 8 | <!-- The outer build of multi-targeting projects has no TargetFramework; the enhancer runs in the inner builds. --> |
| 9 | <Target Name="NDOEnhancer" AfterTargets="Build" Condition="'$( TargetFramework) ' != ''"> |
| 10 | ····<Error Condition="'$(Platform)' == 'x86'" Text="Platform x86 is not supported. Use NDO <= 4." /> |
| 11 | ····<Exec Command="dotnet "$(NdoEnhancerPath)" "$(NdoProjFullPath)" $(TargetFramework)" |
| 12 | ··········WorkingDirectory="$(MSBuildProjectDirectory)" |
| 13 | ··········CustomErrorRegularExpression="^Error:" /> |
| 14 | ··</Target> |
| 15 | |
| 16 | </Project> |
| 17 |