Xamarin.Insights.targets 723 B

1234567891011121314151617
  1. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  2. <UsingTask TaskName="Xamarin.Insights.Build.Task.InsightsLicenceCodeGen" AssemblyFile="Xamarin.Insights.Build.Task.dll" />
  3. <Target Name="XamarinInsightsLicenceBuilder"
  4. Outputs="InsightsGeneratedLicenceFile.cs"
  5. Condition="'$(XamarinInsightsApiKey)' != '' And '$(RootNamespace)' != ''"
  6. BeforeTargets="CoreCompile">
  7. <InsightsLicenceCodeGen
  8. XamarinInsightsApiKey="$(XamarinInsightsApiKey)"
  9. RootNamespace="$(RootNamespace)"
  10. OutputFilePath="$(IntermediateOutputPath)/InsightsGeneratedLicenceFile.cs" />
  11. <ItemGroup>
  12. <Compile Include="$(IntermediateOutputPath)/InsightsGeneratedLicenceFile.cs" />
  13. </ItemGroup>
  14. </Target>
  15. </Project>