AvaloniaApplication2.csproj.EntityFrameworkCore.targets 1.7 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Target Name="GetEFProjectMetadata">
  4. <MSBuild Condition=" '$(TargetFramework)' == '' "
  5. Projects="$(MSBuildProjectFile)"
  6. Targets="GetEFProjectMetadata"
  7. Properties="TargetFramework=$(TargetFrameworks.Split(';')[0]);EFProjectMetadataFile=$(EFProjectMetadataFile)" />
  8. <ItemGroup Condition=" '$(TargetFramework)' != '' ">
  9. <EFProjectMetadata Include="AssemblyName: $(AssemblyName)" />
  10. <EFProjectMetadata Include="Language: $(Language)" />
  11. <EFProjectMetadata Include="OutputPath: $(OutputPath)" />
  12. <EFProjectMetadata Include="Platform: $(Platform)" />
  13. <EFProjectMetadata Include="PlatformTarget: $(PlatformTarget)" />
  14. <EFProjectMetadata Include="ProjectAssetsFile: $(ProjectAssetsFile)" />
  15. <EFProjectMetadata Include="ProjectDir: $(ProjectDir)" />
  16. <EFProjectMetadata Include="RootNamespace: $(RootNamespace)" />
  17. <EFProjectMetadata Include="RuntimeFrameworkVersion: $(RuntimeFrameworkVersion)" />
  18. <EFProjectMetadata Include="TargetFileName: $(TargetFileName)" />
  19. <EFProjectMetadata Include="TargetFrameworkMoniker: $(TargetFrameworkMoniker)" />
  20. <EFProjectMetadata Include="Nullable: $(Nullable)" />
  21. <EFProjectMetadata Include="TargetFramework: $(TargetFramework)" />
  22. <EFProjectMetadata Include="TargetPlatformIdentifier: $(TargetPlatformIdentifier)" />
  23. </ItemGroup>
  24. <WriteLinesToFile Condition=" '$(TargetFramework)' != '' "
  25. File="$(EFProjectMetadataFile)"
  26. Lines="@(EFProjectMetadata)" />
  27. </Target>
  28. </Project>