Remove GitInfo on build (#122)
author윤정현/Common Platform Lab(SR)/Staff Engineer/삼성전자 <jh0506.yun@samsung.com>
Tue, 7 Jan 2020 05:13:51 +0000 (14:13 +0900)
committer부정균/Common Platform Lab(SR)/Staff Engineer/삼성전자 <jk.pu@samsung.com>
Tue, 7 Jan 2020 05:13:51 +0000 (14:13 +0900)
Directory.Build.props
Directory.Build.targets
Xamarin.Forms.Core/Xamarin.Forms.Core.csproj

index e5996ab..98270b5 100644 (file)
     <LangVersion>7.3</LangVersion>
     <ProduceReferenceAssembly Condition="'$(UsingMicrosoftNETSdk)' == 'True' AND '$(Configuration)' == 'Debug'">True</ProduceReferenceAssembly>
   </PropertyGroup>
-  <ItemGroup>
-    <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All"/>
-  </ItemGroup>
   <!-- This target is replaced by GitInfo when restored. Allows Version.targets to rely on it before restore. -->
-  <Target Name="GitVersion" />
   <PropertyGroup Condition="'$(CI)' == ''">
     <CI>false</CI>
     <CI Condition="'$(TF_BUILD)' == 'true'">true</CI>
   </PropertyGroup>
- </Project>
\ No newline at end of file
+ </Project>
index 85f1a8f..31cf677 100644 (file)
@@ -1,8 +1,6 @@
 <Project>
   <ItemGroup>
-    <PackageReference Include="GitInfo" Version="2.0.20" PrivateAssets="All" />
     <PackageReference Include="MSBuilder.GenerateAssemblyInfo" Version="0.2.1" PrivateAssets="All" />
        </ItemGroup>
 
-  <Import Project="Version.targets" />
  </Project>
index 4be554b..2751536 100644 (file)
@@ -23,9 +23,6 @@
        <ItemGroup>
          <Folder Include="Xaml\Diagnostics\" />
        </ItemGroup>
-       <PropertyGroup>
-    <GitInfoReportImportance>high</GitInfoReportImportance>
-  </PropertyGroup>
        <Import Project="..\Xamarin.Flex\Xamarin.Flex.projitems" Label="Shared" Condition="Exists('..\Xamarin.Flex\Xamarin.Flex.projitems')" />
        <UsingTask TaskName="XFCorePostProcessor.Tasks.FixXFCoreAssembly" AssemblyFile="..\XFCorePostProcessor.Tasks\bin\Debug\net461\XFCorePostProcessor.Tasks.dll" />
        <Target Condition="$(DesignTimeBuild) != true AND $(BuildingProject) == true" AfterTargets="AfterCompile" Name="XFCorePostProcessor" Inputs="$(IntermediateOutputPath)$(TargetFileName)" Outputs="$(IntermediateOutputPath)XFCorePostProcessor.stamp">