[Build] Update builds, remove submodule, update AssemblyInfo with GitInfo (#6068)
authorRui Marinho <me@ruimarinho.net>
Wed, 22 May 2019 00:06:59 +0000 (01:06 +0100)
committerGitHub <noreply@github.com>
Wed, 22 May 2019 00:06:59 +0000 (01:06 +0100)
* [Build] Remove submodule

* [Build] Use GitInfo to set Assembly metadata

* [Build] Remove extra prop

* [Build] Update version

* [Build] Update versions to be consistent with existing Build.Tasks

* [Build] Update build number

* [Build] make sure build tasks gets info

* [Build] Add assembly info unit test

* [Test] Refactor test for gitinfo on vsts

89 files changed:
.gitignore
.gitmodules [deleted file]
Directory.Build.props
Directory.Build.targets [new file with mode: 0644]
EmbeddingTestBeds/Embedding.Droid/Embedding.Droid.csproj
EmbeddingTestBeds/Embedding.Droid/Properties/AssemblyInfo.cs [deleted file]
EmbeddingTestBeds/Embedding.UWP/Embedding.UWP.csproj
EmbeddingTestBeds/Embedding.UWP/Properties/AssemblyInfo.cs [deleted file]
EmbeddingTestBeds/Embedding.iOS/Embedding.iOS.csproj
EmbeddingTestBeds/Embedding.iOS/Properties/AssemblyInfo.cs [deleted file]
PagesGallery/PagesGallery.Droid/Properties/AssemblyInfo.cs
PagesGallery/PagesGallery.UWP/PagesGallery.UWP.csproj
PagesGallery/PagesGallery.UWP/Properties/AssemblyInfo.cs [deleted file]
PagesGallery/PagesGallery.iOS/PagesGallery.iOS.csproj
PagesGallery/PagesGallery.iOS/Properties/AssemblyInfo.cs [deleted file]
Stubs/Xamarin.Forms.Platform.Android/Properties/AssemblyInfo.cs
Stubs/Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs
Stubs/Xamarin.Forms.Platform.iOS/Properties/AssemblyInfo.cs
Version.targets [new file with mode: 0644]
Xamarin.Forms.Build [deleted submodule]
Xamarin.Forms.Build.Tasks/Properties/AssemblyInfo.cs
Xamarin.Forms.Build.Tasks/Xamarin.Forms.Build.Tasks.csproj
Xamarin.Forms.ControlGallery.Android/Properties/AssemblyInfo.cs
Xamarin.Forms.ControlGallery.GTK/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.ControlGallery.GTK/Xamarin.Forms.ControlGallery.GTK.csproj
Xamarin.Forms.ControlGallery.WPF/Properties/AssemblyInfo.cs
Xamarin.Forms.ControlGallery.WindowsUniversal/Properties/AssemblyInfo.cs
Xamarin.Forms.ControlGallery.iOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj
Xamarin.Forms.Core.Design/Properties/AssemblyInfo.cs
Xamarin.Forms.Core.Design/Xamarin.Forms.Core.Design.csproj
Xamarin.Forms.Core.UnitTests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Core.UnitTests/Xamarin.Forms.Core.UnitTests.csproj
Xamarin.Forms.Core.Windows.UITests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj
Xamarin.Forms.Core.iOS.UITests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj
Xamarin.Forms.Core.macOS.UITests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Core.macOS.UITests/Xamarin.Forms.Core.macOS.UITests.csproj
Xamarin.Forms.Core/Properties/AssemblyInfo.cs
Xamarin.Forms.Core/Properties/GlobalAssemblyInfo.cs [deleted file]
Xamarin.Forms.Core/Xamarin.Forms.Core.csproj
Xamarin.Forms.Maps.Android/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.Android/Xamarin.Forms.Maps.Android.csproj
Xamarin.Forms.Maps.GTK/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.MacOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.MacOS/Xamarin.Forms.Maps.macOS.csproj
Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj
Xamarin.Forms.Maps.UWP/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.UWP/Xamarin.Forms.Maps.UWP.csproj
Xamarin.Forms.Maps.WPF/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.iOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps.iOS/Xamarin.Forms.Maps.iOS.csproj
Xamarin.Forms.Maps/Properties/AssemblyInfo.cs
Xamarin.Forms.Maps/Xamarin.Forms.Maps.csproj
Xamarin.Forms.Material.Android/Properties/AssemblyInfo.cs
Xamarin.Forms.Material.Android/Xamarin.Forms.Material.Android.csproj
Xamarin.Forms.Material.iOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Pages.UnitTests/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Pages.UnitTests/Xamarin.Forms.Pages.UnitTests.csproj
Xamarin.Forms.Platform.Android.AppLinks/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Platform.Android.AppLinks/Xamarin.Forms.Platform.Android.AppLinks.csproj
Xamarin.Forms.Platform.Android.FormsViewGroup/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.Android.FormsViewGroup/Xamarin.Forms.Platform.Android.FormsViewGroup.csproj
Xamarin.Forms.Platform.Android/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.Android/Xamarin.Forms.Platform.Android.csproj
Xamarin.Forms.Platform.GTK/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.GTK/Xamarin.Forms.Platform.GTK.csproj
Xamarin.Forms.Platform.MacOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.MacOS/Xamarin.Forms.Platform.macOS.csproj
Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj
Xamarin.Forms.Platform.UAP/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.UAP/Xamarin.Forms.Platform.UAP.csproj
Xamarin.Forms.Platform.WPF/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.iOS/Properties/AssemblyInfo.cs
Xamarin.Forms.Platform.iOS/Xamarin.Forms.Platform.iOS.csproj
Xamarin.Forms.Sandbox.Android/Properties/AssemblyInfo.cs
Xamarin.Forms.Sandbox.UWP/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Sandbox.UWP/Xamarin.Forms.Sandbox.UWP.csproj
Xamarin.Forms.Sandbox.iOS/Properties/AssemblyInfo.cs [deleted file]
Xamarin.Forms.Sandbox.iOS/Xamarin.Forms.Sandbox.iOS.csproj
Xamarin.Forms.Xaml.Design/Properties/AssemblyInfo.cs
Xamarin.Forms.Xaml.Design/Xamarin.Forms.Xaml.Design.csproj
Xamarin.Forms.Xaml.UnitTests/AssemblyInfoTests.cs [new file with mode: 0644]
Xamarin.Forms.Xaml/Properties/AssemblyInfo.cs
Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.csproj

index c4e3802..29c6ff8 100644 (file)
@@ -65,4 +65,5 @@ AndroidNative/gradlew.bat
 *.swp
 tools/
 !tools/mdoc/**/*
-caketools/
\ No newline at end of file
+caketools/
+*.binlog
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644 (file)
index 872e8c4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "Xamarin.Forms.Build"]
-       path = Xamarin.Forms.Build
-       url = ../../xamarin/Xamarin.Forms.Build
index f180b8f..c8c51ae 100644 (file)
@@ -4,4 +4,15 @@
     <__XFBuildTasksLocation Condition="'$(__XFBuildTasksLocation)' == '' AND '$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory).nuspec\netstandard2.0\</__XFBuildTasksLocation>
     <__XFBuildTasksLocation Condition="'$(__XFBuildTasksLocation)' == ''">$(MSBuildThisFileDirectory).nuspec\net46\</__XFBuildTasksLocation>
   </PropertyGroup>
- </Project> 
+  <PropertyGroup>
+    <Company>Microsoft</Company>
+    <Product>Xamarin.Forms</Product>
+  </PropertyGroup>
+  <!-- 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>
diff --git a/Directory.Build.targets b/Directory.Build.targets
new file mode 100644 (file)
index 0000000..85f1a8f
--- /dev/null
@@ -0,0 +1,8 @@
+<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 3229180..6788cc6 100644 (file)
@@ -57,7 +57,6 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="MainActivity.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="Resources\Resource.Designer.cs" />
     <Compile Include="SecondActivity.cs" />
   </ItemGroup>
diff --git a/EmbeddingTestBeds/Embedding.Droid/Properties/AssemblyInfo.cs b/EmbeddingTestBeds/Embedding.Droid/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 41522d1..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Embedding.Droid")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Embedding.Droid")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index ba2f897..8b07366 100644 (file)
     <Compile Include="Page2.xaml.cs">
       <DependentUpon>Page2.xaml</DependentUpon>
     </Compile>
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <AppxManifest Include="Package.appxmanifest">
diff --git a/EmbeddingTestBeds/Embedding.UWP/Properties/AssemblyInfo.cs b/EmbeddingTestBeds/Embedding.UWP/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index d7b4e09..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Embedding.UWP")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Embedding.UWP")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: ComVisible(false)]
\ No newline at end of file
index 9f19da7..38447f2 100644 (file)
@@ -64,7 +64,6 @@
     <Compile Include="AppDelegate.cs" />
     <None Include="GettingStarted.Xamarin" />
     <None Include="Info.plist" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="ViewController.cs" />
     <Compile Include="ViewController.designer.cs">
       <DependentUpon>ViewController.cs</DependentUpon>
       <IsAppExtension>false</IsAppExtension>
       <IsWatchApp>false</IsWatchApp>
     </ProjectReference>
-    <ProjectReference Include="..\..\Xamarin.Forms.Platform\Xamarin.Forms.Platform.csproj">
-      <Project>{67f9d3a8-f71e-4428-913f-c37ae82cdb24}</Project>
-      <Name>Xamarin.Forms.Platform</Name>
-    </ProjectReference>
     <ProjectReference Include="..\Embedding.XF\Embedding.XF.csproj">
       <Project>{02eac00f-0425-4959-ac64-e921627265ca}</Project>
       <Name>Embedding.XF</Name>
diff --git a/EmbeddingTestBeds/Embedding.iOS/Properties/AssemblyInfo.cs b/EmbeddingTestBeds/Embedding.iOS/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 1215de0..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Embedding.iOS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Embedding.iOS")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("29dde791-5608-4072-8e1c-d37d72992a83")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 9562722..8cf4d8d 100644 (file)
@@ -1,34 +1,4 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
+using Android.App;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle ("PagesGallery.Droid")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("PagesGallery.Droid")]
-[assembly: AssemblyCopyright ("Copyright ©  2014")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-[assembly: ComVisible (false)]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
-
-// Add some common permissions, these can be removed if not needed
 [assembly: UsesPermission (Android.Manifest.Permission.Internet)]
 [assembly: UsesPermission (Android.Manifest.Permission.WriteExternalStorage)]
index 5d7a3ab..13957f2 100644 (file)
     <Compile Include="MainPage.xaml.cs">
       <DependentUpon>MainPage.xaml</DependentUpon>
     </Compile>
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <AppxManifest Include="Package.appxmanifest">
diff --git a/PagesGallery/PagesGallery.UWP/Properties/AssemblyInfo.cs b/PagesGallery/PagesGallery.UWP/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index a061177..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle ("PagesGallery.UWP")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("PagesGallery.UWP")]
-[assembly: AssemblyCopyright ("Copyright ©  2015")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
-[assembly: ComVisible (false)]
\ No newline at end of file
index 4cb5e5e..3249b59 100644 (file)
@@ -69,7 +69,6 @@
     <None Include="app.config" />
     <None Include="Entitlements.plist" />
     <None Include="Info.plist" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <ITunesArtwork Include="iTunesArtwork" />
     <ITunesArtwork Include="iTunesArtwork@2x" />
   </ItemGroup>
diff --git a/PagesGallery/PagesGallery.iOS/Properties/AssemblyInfo.cs b/PagesGallery/PagesGallery.iOS/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index c91e386..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle ("PagesGallery.iOS")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("PagesGallery.iOS")]
-[assembly: AssemblyCopyright ("Copyright ©  2014")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible (false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid ("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
index e30743a..7655553 100644 (file)
@@ -1,31 +1,7 @@
 using System.Reflection;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using Android.App;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 [assembly: AssemblyTitle ("Xamarin.Forms.Platform.Android")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("Xamarin.Forms.Platform.Android")]
-[assembly: AssemblyCopyright ("Copyright ©  2015")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
 [assembly: InternalsVisibleTo ("Xamarin.Forms.Core")]
 [assembly: ComVisible (false)]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
index 0c1defe..140a616 100644 (file)
@@ -1,31 +1,7 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyCopyright ("Copyright ©  2018")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
 [assembly: InternalsVisibleTo ("Xamarin.Forms.Core")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
 [assembly: ComVisible (false)]
-
 // The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid ("d3f9fea6-cce8-4c30-b0d2-197b40c50757")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
+[assembly: Guid ("d3f9fea6-cce8-4c30-b0d2-197b40c50757")]
\ No newline at end of file
index 047b72b..9053c8a 100644 (file)
@@ -2,36 +2,5 @@
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 [assembly: AssemblyTitle ("Xamarin.Forms.Platform.iOS")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("Xamarin.Forms.Platform.iOS")]
-[assembly: AssemblyCopyright ("Copyright ©  2015")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-[assembly: InternalsVisibleTo ("Xamarin.Forms.Core")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible (false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid ("d3f9fea6-cce8-4c30-b0d2-197b40c50756")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
+[assembly: InternalsVisibleTo ("Xamarin.Forms.Core")]
\ No newline at end of file
diff --git a/Version.targets b/Version.targets
new file mode 100644 (file)
index 0000000..bc1efb8
--- /dev/null
@@ -0,0 +1,68 @@
+<Project>
+ <PropertyGroup>
+    <GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' != ''">$(SYSTEM_PULLREQUEST_TARGETBRANCH)</GitBranch>
+    <GitBranch Condition="'$(SYSTEM_PULLREQUEST_TARGETBRANCH)' == '' and '$(BUILD_SOURCEBRANCHNAME)' != ''">$(BUILD_SOURCEBRANCHNAME)</GitBranch>
+  </PropertyGroup>
+
+  <Target Name="SetVersions"
+          BeforeTargets="PrepareForBuild;GetAssemblyVersion;GetPackageVersion;Pack"
+          DependsOnTargets="GitVersion"
+          Returns="$(Version)"
+         >
+
+    <ItemGroup>
+      <VersionMetadata Include="$(GitCommits)" Condition="'$(GitSemVerDashLabel)' == ''" />
+
+      <VersionMetadata Condition="$(CI) and '$(BUILD_REASON)' == 'PullRequest'"
+                       Include="pr.$(SYSTEM_PULLREQUEST_PULLREQUESTNUMBER)"/>
+
+      <VersionMetadata Include="sha.$(GitCommit)"/>
+
+      <VersionMetadata Condition="$(CI)"
+                       Include="azdo.$(BUILD_BUILDID)"/>
+    </ItemGroup>
+
+    <PropertyGroup>
+      <VersionMetadataLabel>@(VersionMetadata -> '%(Identity)', '-')</VersionMetadataLabel>
+      <VersionMetadataPlusLabel Condition="'$(VersionMetadataLabel)' != ''">+$(VersionMetadataLabel)</VersionMetadataPlusLabel>
+
+      <GitSemVerDashLabel Condition="'$(GitSemVerDashLabel)' != '' and '$(GitCommits)' != '0'">$(GitSemVerDashLabel).$(GitCommits)</GitSemVerDashLabel>
+      <PackageVersion>$(GitBaseVersion)$(GitSemVerDashLabel)$(VersionMetadataPlusLabel)</PackageVersion>
+      <Version>$(GitBaseVersion)</Version>
+    </PropertyGroup>
+
+    <PropertyGroup>
+      <InformationalVersion>$(PackageVersion)</InformationalVersion>
+      <FileVersion>$(Version).$(GitCommits)</FileVersion>
+      <AssemblyVersion>$(Version).0</AssemblyVersion>
+    </PropertyGroup>
+
+    <ItemGroup>
+      <AssemblyAttribute Include="System.Reflection.AssemblyMetadata">
+        <_Parameter1>Version</_Parameter1>
+        <_Parameter2>$(Version)</_Parameter2>
+      </AssemblyAttribute>
+      <AssemblyAttribute Include="System.Reflection.AssemblyMetadata">
+        <_Parameter1>PackageVersion</_Parameter1>
+        <_Parameter2>$(PackageVersion)</_Parameter2>
+      </AssemblyAttribute>
+    </ItemGroup>
+
+    <Message Condition="$(CI)" Importance="high" Text="##vso[build.updatebuildnumber]$(PackageVersion)"/>
+  </Target>
+
+  <Target Name="VersionInfoReport" DependsOnTargets="SetVersions" AfterTargets="GitInfoReport">
+   <ItemGroup>
+               <Message Importance="$(GitInfoReportImportance)" Text="Version Info:
+  AssemblyVersion:        $(AssemblyVersion)
+  FileVersion:            $(FileVersion)
+  InformationalVersion:   $(InformationalVersion)
+  PackageVersion:         $(PackageVersion)
+  Version:        $(Version)
+  VersionPrefix:  $(VersionPrefix)
+  VersionSuffix:  $(VersionSuffix)
+"/>
+   </ItemGroup>
+       </Target>
+
+</Project>
\ No newline at end of file
diff --git a/Xamarin.Forms.Build b/Xamarin.Forms.Build
deleted file mode 160000 (submodule)
index bde6c61..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit bde6c61641ace9b90c39ffc12e97e9e590ce0f31
index 29baafd..988eeb0 100644 (file)
@@ -1,24 +1,6 @@
 using System.Reflection;
 using System.Runtime.CompilerServices;
 
-[assembly: AssemblyTitle("Xamarin.Forms.Build.Tasks")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-[assembly: AssemblyFileVersion(
-         ThisAssembly.Git.BaseVersion.Major + "."
-       + ThisAssembly.Git.BaseVersion.Minor + "."
-       + ThisAssembly.Git.BaseVersion.Patch + "."
-       + ThisAssembly.Git.Commits)]
-
-[assembly: AssemblyInformationalVersion(
-       ThisAssembly.Git.BaseVersion.Major + "."
-       + ThisAssembly.Git.BaseVersion.Minor + "."
-       + ThisAssembly.Git.BaseVersion.Patch + "."
-       + ThisAssembly.Git.Commits + "-"
-       + ThisAssembly.Git.Branch + "+"
-       + ThisAssembly.Git.Commit)]
-
 #if DEBUG
 [assembly:InternalsVisibleTo("Xamarin.Forms.Xaml.UnitTests")]
 #endif
\ No newline at end of file
index 051dfc9..bdbdfe9 100644 (file)
@@ -8,8 +8,8 @@
        <PropertyGroup>
            <_DisableStrongNamer Condition=" '$(_DisableStrongNamer)' != 'True' ">False</_DisableStrongNamer>
            <AssemblyName>Xamarin.Forms.Build.Tasks</AssemblyName>
+      <Description>Xamarin Forms Build Task</Description>
            <TargetFrameworks>net46;netstandard2.0</TargetFrameworks>
-           <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
            <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
            <SignAssembly Condition=" '$(_DisableStrongNamer)' != 'True' ">True</SignAssembly>
            <DisableStrongNamer Condition=" '$(_DisableStrongNamer)' == 'True' ">True</DisableStrongNamer>
@@ -27,7 +27,6 @@
     <PackageReference Include="Microsoft.Build.Tasks.Core" Version="15.8.166" />
     <PackageReference Include="StrongNamer" Version="0.0.8" />
     <PackageReference Include="System.ValueTuple" Version="4.5.0" />
-    <PackageReference Include="GitInfo" Version="2.0.20" />
   </ItemGroup>
 
   <ItemGroup>
     <ProjectReference Include="..\Xamarin.Forms.Xaml\Xamarin.Forms.Xaml.csproj" />
   </ItemGroup>
 
-  <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
-
        <PropertyGroup Condition="'$(SnExe)' == '' And '$(OS)' != 'Windows_NT'">
                <SnExe>sn</SnExe>
        </PropertyGroup>
index 84debc7..fd7e454 100644 (file)
@@ -1,47 +1,19 @@
 using System.Reflection;
-using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using Android.App;
-using Xamarin.Forms.Controls;
-using Xamarin.Forms.Platform.Android;
 using Xamarin.Forms;
 using Xamarin.Forms.ControlGallery.Android;
-using Xamarin.Forms.Controls.Issues;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle ("Xamarin.Forms.ControlGallery.Android")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("Xamarin.Forms.ControlGallery.Android")]
-[assembly: AssemblyCopyright ("Copyright ©  2013")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-[assembly: ComVisible (false)]
+using Xamarin.Forms.Controls;
 
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
+[assembly: AssemblyTitle("Xamarin.Forms.ControlGallery.Android")]
+[assembly: ComVisible(false)]
 
 // Add some common permissions, these can be removed if not needed
-[assembly: UsesPermission (Android.Manifest.Permission.Internet)]
-[assembly: UsesPermission (Android.Manifest.Permission.WriteExternalStorage)]
-
-
+[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
+[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
 
 [assembly: Android.App.MetaData("com.google.android.maps.v2.API_KEY", Value = "AIzaSyAdstcJQswxEjzX5YjLaMcu2aRVEBJw39Y")]
-[assembly: Xamarin.Forms.ResolutionGroupName (Xamarin.Forms.Controls.Issues.Effects.ResolutionGroupName)]
+[assembly: Xamarin.Forms.ResolutionGroupName(Xamarin.Forms.Controls.Issues.Effects.ResolutionGroupName)]
 
 // Deliberately broken image source and handler so we can test handling of image loading errors
 [assembly: ExportImageSourceHandler(typeof(FailImageSource), typeof(BrokenImageSourceHandler))]
\ No newline at end of file
diff --git a/Xamarin.Forms.ControlGallery.GTK/Properties/AssemblyInfo.cs b/Xamarin.Forms.ControlGallery.GTK/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index bc48a9b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// La información general de un ensamblado se controla mediante el siguiente 
-// conjunto de atributos. Cambie estos valores de atributo para modificar la información
-// asociada con un ensamblado.
-[assembly: AssemblyTitle("Xamarin.Forms.ControlGallery.GTK")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.ControlGallery.GTK")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Si establece ComVisible en false, los tipos de este ensamblado no estarán visibles 
-// para los componentes COM.  Si necesita obtener acceso a un tipo de este ensamblado desde 
-// COM, establezca el atributo ComVisible en true en este tipo.
-[assembly: ComVisible(false)]
-
-// El siguiente GUID sirve como id. de typelib si este proyecto se expone a COM.
-[assembly: Guid("03a51e5b-0a1e-41f0-aae3-4b19406f7340")]
-
-// La información de versión de un ensamblado consta de los cuatro valores siguientes:
-//
-//      Versión principal
-//      Versión secundaria 
-//      Número de compilación
-//      Revisión
-//
-// Puede especificar todos los valores o usar los valores predeterminados de número de compilación y de revisión 
-// mediante el carácter '*', como se muestra a continuación:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 76a1afd..64b4307 100644 (file)
@@ -93,7 +93,6 @@
     <Compile Include="AdvancedOpenGLView.cs" />
     <Compile Include="BasicOpenGLView.cs" />
     <Compile Include="Program.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="RegistrarValidationService.cs" />
     <Compile Include="SampleNativeControl.cs" />
     <Compile Include="StringProvider.cs" />
     </Content>
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
        Other similar extension points exist, see Microsoft.Common.targets.
   <Target Name="BeforeBuild">
   </Target>
index 5aabe3a..96148f1 100644 (file)
@@ -4,52 +4,7 @@ using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using System.Windows;
 
-// Les informations générales relatives à un assembly dépendent de
-// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
-// associées à un assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.ControlGallery.WPF")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.ControlGallery.WPF")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
-// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
-// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
-[assembly: ComVisible(false)]
-
-//Pour commencer à générer des applications localisables, définissez
-//<UICulture>CultureUtiliséePourCoder</UICulture> dans votre fichier .csproj
-//dans <PropertyGroup>.  Par exemple, si vous utilisez le français
-//dans vos fichiers sources, définissez <UICulture> à fr-FR. Puis, supprimez les marques de commentaire de
-//l'attribut NeutralResourceLanguage ci-dessous. Mettez à jour "fr-FR" dans
-//la ligne ci-après pour qu'elle corresponde au paramètre UICulture du fichier projet.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
 [assembly: ThemeInfo(
-       ResourceDictionaryLocation.None, //où se trouvent les dictionnaires de ressources spécifiques à un thème
-                                                                        //(utilisé si une ressource est introuvable dans la page,
-                                                                        // ou dictionnaires de ressources de l'application)
-       ResourceDictionaryLocation.SourceAssembly //où se trouve le dictionnaire de ressources générique
-                                                                                         //(utilisé si une ressource est introuvable dans la page,
-                                                                                         // dans l'application ou dans l'un des dictionnaires de ressources spécifiques à un thème)
+       ResourceDictionaryLocation.None,
+       ResourceDictionaryLocation.SourceAssembly
 )]
-
-
-// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
-//
-//      Version principale
-//      Version secondaire
-//      Numéro de build
-//      Révision
-//
-// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
-// en utilisant '*', comme indiqué ci-dessous :
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index b29a1c4..e871e81 100644 (file)
@@ -6,32 +6,6 @@ using Xamarin.Forms.ControlGallery.WindowsUniversal;
 using Xamarin.Forms.Controls;
 using Xamarin.Forms.Platform.UWP;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.ControlGallery.WindowsUniversal")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.ControlGallery.WindowsUniversal")]
-[assembly: AssemblyCopyright("Copyright ©  2015")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: ComVisible(false)]
-
 // Deliberately broken image source and handler so we can test handling of image loading errors
 [assembly: ExportImageSourceHandler(typeof(FailImageSource), typeof(BrokenImageSourceHandler))]
 [assembly: Xamarin.Forms.ResolutionGroupName (Xamarin.Forms.Controls.Issues.Effects.ResolutionGroupName)]
\ No newline at end of file
index 51f7846..c086656 100644 (file)
@@ -1,42 +1,12 @@
 using System.Reflection;
-using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using Xamarin.Forms;
 using Xamarin.Forms.ControlGallery.iOS;
 using Xamarin.Forms.Controls;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 [assembly: AssemblyTitle ("Xamarin.Forms.ControlGallery.iOS")]
-[assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCompany ("")]
-[assembly: AssemblyProduct ("Xamarin.Forms.ControlGallery.iOS")]
-[assembly: AssemblyCopyright ("Copyright ©  2013")]
-[assembly: AssemblyTrademark ("")]
-[assembly: AssemblyCulture ("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
 [assembly: ComVisible (false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
 [assembly: Guid ("5098d081-687d-442c-9f92-77fa599779f9")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion ("1.0.0.0")]
-[assembly: AssemblyFileVersion ("1.0.0.0")]
 [assembly: Xamarin.Forms.ResolutionGroupName (Xamarin.Forms.Controls.Issues.Effects.ResolutionGroupName)]
 
 // Deliberately broken image source and handler so we can test handling of image loading errors
diff --git a/Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 8b4da04..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Core.Android.UITests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Core.Android.UITests")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("8668ccc3-4b09-4cb5-8f2d-61e2f820c887")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-[assembly: InternalsVisibleTo ("Xamarin.Forms.Loader")]
-[assembly: InternalsVisibleTo ("Xamarin.Forms.UITest.Validator")]
-
index 138f241..8277534 100644 (file)
@@ -57,7 +57,6 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="BaseViewContainerRemoteAndroid.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="PlatformTests\DisplayAlertUITestsAndroid.cs" />
   </ItemGroup>
   <ItemGroup>
index 7c0e4ba..c0c1c0c 100644 (file)
@@ -1,10 +1,4 @@
 using System.Reflection;
 using Microsoft.Windows.Design.Metadata;
 
-[assembly: AssemblyTitle ("Xamarin.Forms.Core.Design")]
-[assembly: AssemblyDescription ("Provides the design-time metadata for the XAML language service.")]
-
-[assembly: ProvideMetadata (typeof (Xamarin.Forms.Core.Design.RegisterMetadata))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ProvideMetadata (typeof (Xamarin.Forms.Core.Design.RegisterMetadata))]
\ No newline at end of file
index 48d43d5..4f85a17 100644 (file)
@@ -2,14 +2,17 @@
 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
   <PropertyGroup>
+    <Description>Provides the design-time metadata for the XAML language service.</Description>
+    <AssemblyName>Xamarin.Forms.Core.Design</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProjectGuid>{98637471-8E5C-4DDE-89CA-2EAA664FB0EF}</ProjectGuid>
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Xamarin.Forms.Core.Design</RootNamespace>
-    <AssemblyName>Xamarin.Forms.Core.Design</AssemblyName>
-    <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
+    <RootNamespace></RootNamespace>
+     <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <NuGetPackageImportStamp>
     </NuGetPackageImportStamp>
   <ItemGroup>
     <PackageReference Include="Xamarin.Forms.Design" Version="1.0.26-pre" Condition=" '$(OS)' != 'Unix' " />
   </ItemGroup>
-  <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
   <ItemGroup Condition=" '$(OS)' != 'Unix' ">
     <Compile Include="AttributeTableBuilder.cs" />
     <Compile Include="EnumConverter.cs" />
diff --git a/Xamarin.Forms.Core.UnitTests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.UnitTests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 51c143e..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("Xamarin.Forms.Core.UnitTests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Xamarin Inc.")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Xamarin Inc.")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion("1.0.*")]
-
-// The following attributes are used to specify the signing key for the assembly, 
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
index 33158f1..1dad4e3 100644 (file)
     <Compile Include="PointTests.cs" />
     <Compile Include="PositionTests.cs" />
     <Compile Include="ProgressBarTests.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="RectangleUnitTests.cs" />
     <Compile Include="RegistrarUnitTests.cs" />
     <Compile Include="RelativeLayoutTests.cs" />
diff --git a/Xamarin.Forms.Core.Windows.UITests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.Windows.UITests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index f26f6e8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Core.Windows.UITests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Core.Windows.UITests")]
-[assembly: AssemblyCopyright("Copyright ©  2016")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("0a39a74b-6f7a-4d41-84f2-b0ccdce899df")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 4ba06fd..011c201 100644 (file)
@@ -61,7 +61,6 @@
     <PackageReference Include="Xamarin.UITest" Version="2.2.7" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="WindowsTestBase.cs" />
     <Compile Include="WindowsTestServer.cs" />
     <Compile Include="WinDriverApp.cs" />
diff --git a/Xamarin.Forms.Core.iOS.UITests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.iOS.UITests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 1246e89..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Core.iOS.UITests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Core.iOS.UITests")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("e3f6d744-9587-4d06-b7eb-5560d847c107")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-[assembly: InternalsVisibleTo("Xamarin.Forms.Loader")]
-[assembly: InternalsVisibleTo("Xamarin.Forms.UITest.Validator")]
-[assembly: InternalsVisibleTo("Xamarin.Forms.UITest.TestCloud")]
index ebba03b..ef38c73 100644 (file)
@@ -54,7 +54,6 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="BaseViewContainerRemoteiOS.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj">
diff --git a/Xamarin.Forms.Core.macOS.UITests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.macOS.UITests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index ae37f17..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("Xamarin.Forms.Core.macOS.UITests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion("1.0.*")]
-
-// The following attributes are used to specify the signing key for the assembly, 
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
index 6df9e13..a7afdf5 100644 (file)
@@ -58,7 +58,6 @@
   </ItemGroup>
   <ItemGroup>
     <Compile Include="BaseViewContainerRemoteMac.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="MacOSApp.cs" />
   </ItemGroup>
   <ItemGroup>
index 4ce77aa..923313d 100644 (file)
@@ -1,12 +1,8 @@
-using System.Reflection;
 using System.Runtime.CompilerServices;
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.StyleSheets;
 
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
-
 [assembly: InternalsVisibleTo("iOSUnitTests")]
 [assembly: InternalsVisibleTo("Xamarin.Forms.Controls")]
 [assembly: InternalsVisibleTo("Xamarin.Forms.Core.Design")]
@@ -69,7 +65,7 @@ using Xamarin.Forms.StyleSheets;
 [assembly: StyleProperty("min-width", typeof(VisualElement), nameof(VisualElement.MinimumWidthRequestProperty))]
 [assembly: StyleProperty("opacity", typeof(VisualElement), nameof(VisualElement.OpacityProperty))]
 [assembly: StyleProperty("padding", typeof(IPaddingElement), nameof(PaddingElement.PaddingProperty))]
-[assembly: StyleProperty("padding-left", typeof(IPaddingElement), nameof(PaddingElement.PaddingLeftProperty), PropertyOwnerType=typeof(PaddingElement))]
+[assembly: StyleProperty("padding-left", typeof(IPaddingElement), nameof(PaddingElement.PaddingLeftProperty), PropertyOwnerType = typeof(PaddingElement))]
 [assembly: StyleProperty("padding-top", typeof(IPaddingElement), nameof(PaddingElement.PaddingTopProperty), PropertyOwnerType = typeof(PaddingElement))]
 [assembly: StyleProperty("padding-right", typeof(IPaddingElement), nameof(PaddingElement.PaddingRightProperty), PropertyOwnerType = typeof(PaddingElement))]
 [assembly: StyleProperty("padding-bottom", typeof(IPaddingElement), nameof(PaddingElement.PaddingBottomProperty), PropertyOwnerType = typeof(PaddingElement))]
diff --git a/Xamarin.Forms.Core/Properties/GlobalAssemblyInfo.cs b/Xamarin.Forms.Core/Properties/GlobalAssemblyInfo.cs
deleted file mode 100644 (file)
index 428dc25..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-using System.Reflection;
-
-[assembly: AssemblyCompany("Xamarin Inc.")]
-[assembly: AssemblyProduct("Xamarin.Forms")]
-[assembly: AssemblyCopyright("Copyright © Xamarin Inc. 2013-2017")]
-[assembly: AssemblyTrademark("")]
index 9b817ce..a3e8c35 100644 (file)
@@ -1,7 +1,6 @@
 <Project Sdk="Microsoft.NET.Sdk">
        <PropertyGroup>
                <TargetFrameworks>netstandard2.0;netstandard1.0</TargetFrameworks>
-               <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
        </PropertyGroup>
        <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
                <DebugType>full</DebugType>
                <PackageReference Include="System.ComponentModel" Version="4.3.0" />
                <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
                <PackageReference Include="System.ValueTuple" Version="4.5.0" />
-       </ItemGroup>
+       </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">
index 4520447..f43c0fd 100644 (file)
@@ -6,21 +6,11 @@ using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.Android;
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 
 [assembly: AssemblyTitle("Xamarin.Forms.Maps.Android")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
 [assembly: ComVisible(false)]
 
-// Add some common permissions, these can be removed if not needed
-
 [assembly: UsesPermission(Manifest.Permission.Internet)]
 [assembly: UsesPermission(Manifest.Permission.WriteExternalStorage)]
 [assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))]
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: Preserve]
\ No newline at end of file
index 449b9a7..038a426 100644 (file)
@@ -55,9 +55,6 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="MapRenderer.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="FormsMaps.cs" />
index 4d98393..eb1ff48 100644 (file)
@@ -5,15 +5,7 @@ using Xamarin.Forms.Maps.GTK;
 
 [assembly: AssemblyTitle("Xamarin.Forms.Maps.GTK")]
 [assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Xamarin Inc.")]
-[assembly: AssemblyProduct("Xamarin.Forms.Maps.GTK")]
-[assembly: AssemblyCopyright("Copyright © Xamarin Inc. 2017")]
-[assembly: AssemblyTrademark("Xamarin Inc.")]
-[assembly: AssemblyCulture("")]
 [assembly: ComVisible(false)]
 [assembly: Guid("a9772bb1-0e17-42f5-a6db-60bfccbfdb9d")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
 
 [assembly: ExportRenderer(typeof(Xamarin.Forms.Maps.Map), typeof(MapRenderer))]
\ No newline at end of file
index e5e6417..8cde2bf 100644 (file)
@@ -1,18 +1,10 @@
 using System.Reflection;
-using System.Runtime.CompilerServices;
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.MacOS;
 
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
-
 [assembly: AssemblyTitle("Xamarin.Forms.Maps.macOS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
 
 [assembly: ExportRenderer(typeof(Map), typeof(MapRenderer))]
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: Preserve]
\ No newline at end of file
index ae070b1..bae1709 100644 (file)
@@ -72,9 +72,6 @@
     <Compile Include="..\Xamarin.Forms.Maps.iOS\MapRenderer.cs">
       <Link>MapRenderer.cs</Link>
     </Compile>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="..\Xamarin.Forms.Maps.iOS\MapPool.cs">
       <Link>MapPool.cs</Link>
     </Compile>
index af2356d..c347739 100644 (file)
@@ -3,6 +3,4 @@ using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.Tizen;
 using Xamarin.Forms.Platform.Tizen;
 
-[assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))]
\ No newline at end of file
index 714db24..fb20f50 100644 (file)
@@ -2,16 +2,9 @@
 
   <PropertyGroup>
     <TargetFramework>tizen40</TargetFramework>
-    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
   </PropertyGroup>
 
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
-
-  <ItemGroup>
     <PackageReference Include="Tizen.NET" Version="4.0.0" />
   </ItemGroup>
 
index 237f250..5818163 100644 (file)
@@ -1,8 +1,5 @@
-using System.Reflection;
-using Xamarin.Forms.Maps;
+using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.UWP;
 using Xamarin.Forms.Platform.UWP;
 
-[assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))]
\ No newline at end of file
index 5712f9d..1660f92 100644 (file)
@@ -47,9 +47,6 @@
     <RestoreProjectStyle>PackageReference</RestoreProjectStyle>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="FormsMaps.cs" />
     <Compile Include="GeocoderBackend.cs" />
     <Compile Include="MapRenderer.cs" />
index c10e6ac..fda0db0 100644 (file)
@@ -1,5 +1,4 @@
-using System.Reflection;
-using System.Resources;
+using System.Resources;
 using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 using System.Windows;
@@ -7,19 +6,5 @@ using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.WPF;
 using Xamarin.Forms.Platform.WPF;
 
-[assembly: AssemblyTitle("Xamarin.Forms.Maps.WPF")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Maps.WPF")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
 
 [assembly: ExportRenderer(typeof(Map), typeof(MapRenderer))]
-
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 61ec805..922e8e9 100644 (file)
@@ -1,28 +1,7 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-using Xamarin.Forms;
+using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.Maps;
 using Xamarin.Forms.Maps.iOS;
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 
-[assembly: AssemblyTitle("Xamarin.Forms.Maps.iOS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-
-[assembly: Guid("4a5d02cd-7350-46b6-bbd5-204b727c67c9")]
 [assembly: ExportRenderer(typeof(Map), typeof(MapRenderer))]
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: Preserve]
\ No newline at end of file
index ba53bc5..38b0301 100644 (file)
@@ -40,9 +40,6 @@
     </NoWarn>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="MapPool.cs" />
     <Compile Include="MapRenderer.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
index 2cec987..c84e6c4 100644 (file)
@@ -1,6 +1,3 @@
 using Xamarin.Forms.Internals;
-using System.Reflection;
 
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: Preserve]
\ No newline at end of file
index ad87413..2a79359 100644 (file)
@@ -1,15 +1,14 @@
 <Project Sdk="Microsoft.NET.Sdk">
        <PropertyGroup>
                <TargetFrameworks>netstandard2.0;netstandard1.0</TargetFrameworks>
-               <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
        </PropertyGroup>
+  <PropertyGroup>
+    <Description>Provides Maps support for Xamarin.Forms</Description>
+  </PropertyGroup>
        <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
                <DebugType>full</DebugType>
        </PropertyGroup>
        <ItemGroup>
-               <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs" />
-       </ItemGroup>
-       <ItemGroup>
                <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj" />
        </ItemGroup>
 </Project>
index e3cd4b6..733f724 100644 (file)
@@ -2,17 +2,7 @@
 using System.Runtime.InteropServices;
 using Xamarin.Forms.Internals;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 [assembly: AssemblyTitle("Xamarin.Forms.Material")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
 [assembly: ComVisible(false)]
-
-
 // Add some common permissions, these can be removed if not needed
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
+[assembly: Preserve]
\ No newline at end of file
index a788eeb..0bf34d6 100644 (file)
@@ -15,7 +15,6 @@
     <FileAlignment>512</FileAlignment>
     <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
     <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
-    <AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
     <TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
     <PackageId>Xamarin.Forms.Material.Android</PackageId>
   </PropertyGroup>
index 0e36a7a..eda76dc 100644 (file)
@@ -4,17 +4,7 @@ using System.Runtime.InteropServices;
 using Xamarin.Forms;
 
 [assembly: AssemblyTitle("Xamarin.Forms.Material")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-
-[assembly: ComVisible(false)]
-
-[assembly: Guid("7cdc1f47-073c-45ee-aee0-540abfb11baa")]
 [assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
-
 [assembly: ExportRenderer(typeof(Xamarin.Forms.ActivityIndicator), typeof(Xamarin.Forms.Material.iOS.MaterialActivityIndicatorRenderer), new[] { typeof(VisualMarker.MaterialVisual) })]
 [assembly: ExportRenderer(typeof(Xamarin.Forms.Button), typeof(Xamarin.Forms.Material.iOS.MaterialButtonRenderer), new[] { typeof(VisualMarker.MaterialVisual) })]
 [assembly: ExportRenderer(typeof(Xamarin.Forms.Entry), typeof(Xamarin.Forms.Material.iOS.MaterialEntryRenderer), new[] { typeof(VisualMarker.MaterialVisual) })]
diff --git a/Xamarin.Forms.Pages.UnitTests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Pages.UnitTests/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 3f2de23..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Pages.UnitTests")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Pages.UnitTests")]
-[assembly: AssemblyCopyright("Copyright ©  2016")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("447dc60e-c485-4427-8cf7-50074c6b61de")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index f8c4403..4db3aaa 100644 (file)
@@ -52,7 +52,6 @@
     <Compile Include="DataPageTests.cs" />
     <Compile Include="DataSourceListTests.cs" />
     <Compile Include="IntegrationTests.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj">
diff --git a/Xamarin.Forms.Platform.Android.AppLinks/Properties/AssemblyInfo.cs b/Xamarin.Forms.Platform.Android.AppLinks/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 330d609..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following attributes.
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.Android.AppLinks")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("Xamarin")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion("1.0.0")]
-
-// The following attributes are used to specify the signing key for the assembly,
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
index 6f59170..0885b9b 100644 (file)
@@ -1,5 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+   <PropertyGroup>
+    <Description>Android AppLinks support for Xamarin.Forms</Description>
+    <AssemblyName>Xamarin.Forms.Platform.Android.AppLinks</AssemblyName>
+  </PropertyGroup>
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -11,7 +15,6 @@
     <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
     <AndroidResgenClass>Resource</AndroidResgenClass>
     <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
-    <AssemblyName>Xamarin.Forms.Platform.Android.AppLinks</AssemblyName>
     <AndroidTargetFrameworkVersion Condition="$(AndroidTargetFrameworkVersion) == ''">v9.0</AndroidTargetFrameworkVersion>
     <TargetFrameworkVersion>$(AndroidTargetFrameworkVersion)</TargetFrameworkVersion>
     <NuGetPackageImportStamp>
@@ -48,7 +51,6 @@
   <ItemGroup>
     <Compile Include="ContextExtensions.cs" />
     <Compile Include="Resources\Resource.designer.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="AndroidAppLinks.cs" />
   </ItemGroup>
   <ItemGroup>
index 24d3b86..4d23c36 100644 (file)
@@ -1,15 +1,6 @@
 using System.Reflection;
-using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
-using Android.App;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
 [assembly: AssemblyTitle ("FormsViewGroup")]
 [assembly: AssemblyDescription ("")]
-[assembly: AssemblyConfiguration ("")]
-[assembly: AssemblyCulture ("")]
-[assembly: ComVisible (false)]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ComVisible (false)]
\ No newline at end of file
index 28c358b..c9e3387 100644 (file)
@@ -45,9 +45,6 @@
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
index 5ae70cd..4902dcb 100644 (file)
@@ -1,26 +1,8 @@
-using System.Reflection;
 using System.Runtime.CompilerServices;
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.Platform.Android;
 
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.Android")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-[assembly: InternalsVisibleTo("Xamarin.Forms.Platform")]
-[assembly: InternalsVisibleTo("Xamarin.Forms.Material")]
-
-// The following attributes are used to specify the signing key for the assembly, 
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
-
 // These renderers are now registered via the RenderWithAttribute in the Android Forwarders project.
 // Note that AppCompat and FastRenderers are also registered conditionally in FormsAppCompatActivity.LoadApplication
 #if ROOT_RENDERERS
@@ -72,5 +54,5 @@ using Xamarin.Forms.Platform.Android;
 [assembly: Xamarin.Forms.Dependency(typeof(Deserializer))]
 [assembly: Xamarin.Forms.Dependency(typeof(ResourcesProvider))]
 [assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: InternalsVisibleTo("Xamarin.Forms.Platform")]
+[assembly: InternalsVisibleTo("Xamarin.Forms.Material")]
\ No newline at end of file
index a74c9e3..66fc735 100644 (file)
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
+    <Description>Android Backend for Xamarin.Forms</Description>
+    <AssemblyName>Xamarin.Forms.Platform.Android</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProductVersion>8.0.30703</ProductVersion>
@@ -10,7 +14,6 @@
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>Xamarin.Forms.Platform.Android</RootNamespace>
-    <AssemblyName>Xamarin.Forms.Platform.Android</AssemblyName>
     <FileAlignment>512</FileAlignment>
     <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
     <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
@@ -57,9 +60,6 @@
     <Reference Include="System.Net.Http" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="ActivityResultCallbackRegistry.cs" />
     <Compile Include="AndroidApplicationLifecycleState.cs" />
     <Compile Include="AndroidTitleBarVisibility.cs" />
index 4ca6405..e0e20f1 100644 (file)
@@ -1,17 +1,8 @@
-using System.Reflection;
-using Xamarin.Forms;
+using Xamarin.Forms;
 using Xamarin.Forms.Platform.GTK;
 using Xamarin.Forms.Platform.GTK.Cells;
 using Xamarin.Forms.Platform.GTK.Renderers;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.GTK")]
-[assembly: AssemblyDescription("GTK# Backend for Xamarin.Forms")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-
 [assembly: ExportImageSourceHandler(typeof(FileImageSource), typeof(FileImageSourceHandler))]
 [assembly: ExportImageSourceHandler(typeof(StreamImageSource), typeof(StreamImagesourceHandler))]
 [assembly: ExportImageSourceHandler(typeof(UriImageSource), typeof(UriImageSourceHandler))]
@@ -53,6 +44,3 @@ using Xamarin.Forms.Platform.GTK.Renderers;
 [assembly: ExportCell(typeof(Xamarin.Forms.ImageCell), typeof(ImageCellRenderer))]
 [assembly: ExportCell(typeof(Xamarin.Forms.SwitchCell), typeof(SwitchCellRenderer))]
 [assembly: ExportCell(typeof(Xamarin.Forms.ViewCell), typeof(ViewCellRenderer))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
index 7da144d..ba6a055 100644 (file)
@@ -1,5 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+   <PropertyGroup>
+    <Description>GTK# Backend for Xamarin.Forms</Description>
+    <AssemblyName>Xamarin.Forms.Platform.GTK</AssemblyName>
+  </PropertyGroup>
   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -8,7 +12,6 @@
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>Xamarin.Forms.Platform.GTK</RootNamespace>
-    <AssemblyName>Xamarin.Forms.Platform.GTK</AssemblyName>
     <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <TargetFrameworkProfile />
@@ -93,9 +96,6 @@
     </Reference>
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="Animations\BaseAnimation.cs" />
     <Compile Include="Animations\FloatAnimation.cs" />
     <Compile Include="Cells\CellBase.cs" />
index e802ad8..2ef30a5 100644 (file)
@@ -1,19 +1,8 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
+using Xamarin.Forms;
 using Xamarin.Forms.Platform.MacOS;
-using Xamarin.Forms;
-using Xamarin.Forms.Internals;
 
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.macOS")]
-[assembly: AssemblyDescription("macOS Backend for Xamarin.Forms")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
-[assembly: Xamarin.Forms.Dependency(typeof(Deserializer))]
-[assembly: Xamarin.Forms.Dependency(typeof(ResourcesProvider))]
+[assembly: Dependency(typeof(Deserializer))]
+[assembly: Dependency(typeof(ResourcesProvider))]
 [assembly: ExportImageSourceHandler(typeof(FileImageSource), typeof(FileImageSourceHandler))]
 [assembly: ExportImageSourceHandler(typeof(StreamImageSource), typeof(StreamImagesourceHandler))]
 [assembly: ExportImageSourceHandler(typeof(UriImageSource), typeof(ImageLoaderSourceHandler))]
@@ -50,7 +39,4 @@ using Xamarin.Forms.Internals;
 [assembly: ExportCell(typeof(ImageCell), typeof(ImageCellRenderer))]
 [assembly: ExportCell(typeof(EntryCell), typeof(EntryCellRenderer))]
 [assembly: ExportCell(typeof(ViewCell), typeof(ViewCellRenderer))]
-[assembly: ExportCell(typeof(SwitchCell), typeof(SwitchCellRenderer))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ExportCell(typeof(SwitchCell), typeof(SwitchCellRenderer))]
\ No newline at end of file
index da2a7ae..a0fdbb7 100644 (file)
@@ -1,5 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+   <PropertyGroup>
+    <Description>macOS Backend for Xamarin.Forms</Description>
+    <AssemblyName>Xamarin.Forms.Platform.macOS</AssemblyName>
+  </PropertyGroup>
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <Compile Include="..\Xamarin.Forms.Platform.iOS\NativeViewPropertyListener.cs">
       <Link>NativeViewPropertyListener.cs</Link>
     </Compile>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="Renderers\LayoutRenderer.cs" />
     <Compile Include="Extensions\NSImageExtensions.cs" />
     <Compile Include="Renderers\NSPageContainer.cs" />
index 9f5d235..2625adc 100644 (file)
@@ -1,6 +1,5 @@
 using Xamarin.Forms;
 using Xamarin.Forms.Platform.Tizen;
-using System.Reflection;
 
 [assembly: Dependency(typeof(ResourcesProvider))]
 [assembly: Dependency(typeof(Deserializer))]
@@ -49,7 +48,4 @@ using System.Reflection;
 
 [assembly: ExportHandler(typeof(TapGestureRecognizer), typeof(TapGestureHandler))]
 [assembly: ExportHandler(typeof(PinchGestureRecognizer), typeof(PinchGestureHandler))]
-[assembly: ExportHandler(typeof(PanGestureRecognizer), typeof(PanGestureHandler))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ExportHandler(typeof(PanGestureRecognizer), typeof(PanGestureHandler))]
\ No newline at end of file
index 6737c73..c6de1ab 100644 (file)
@@ -1,17 +1,12 @@
 <Project Sdk="Microsoft.NET.Sdk">
-
+ <PropertyGroup>
+    <Description>Tizen Backend for Xamarin.Forms</Description>
+  </PropertyGroup>
   <PropertyGroup>
     <TargetFramework>tizen40</TargetFramework>
-    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
   </PropertyGroup>
 
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
-
-  <ItemGroup>
     <PackageReference Include="Tizen.NET" Version="4.0.0" />
   </ItemGroup>
 
index 93f5288..50cee4e 100644 (file)
@@ -1,8 +1,6 @@
-using System.Reflection;
-using Xamarin.Forms;
+using Xamarin.Forms;
 using Xamarin.Forms.Platform.UWP;
 
-
 [assembly: Dependency(typeof(WindowsSerializer))]
 
 // Views
@@ -55,6 +53,3 @@ using Xamarin.Forms.Platform.UWP;
 [assembly: Dependency(typeof(WindowsResourcesProvider))]
 [assembly: ExportRenderer(typeof(SearchBar), typeof(SearchBarRenderer))]
 [assembly: ExportRenderer(typeof(TabbedPage), typeof(TabbedPageRenderer))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
index df57fcc..5263789 100644 (file)
     <Compile Include="TabbedPageRenderer.cs" />
     <Compile Include="ToolbarPlacementHelper.cs" />
     <EmbeddedResource Include="Properties\Xamarin.Forms.Platform.UAP.rd.xml" />
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
     <Compile Include="Forms.cs" />
     <Compile Include="WindowsPage.cs" />
     <Compile Include="WindowsPlatform.cs" />
index c56340a..c86f2af 100644 (file)
@@ -4,57 +4,6 @@ using System.Windows;
 using Xamarin.Forms;
 using Xamarin.Forms.Platform.WPF;
 
-// Les informations générales relatives à un assembly dépendent de
-// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
-// associées à un assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.WPF")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Platform.WPF")]
-[assembly: AssemblyCopyright("Copyright ©  2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
-// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
-// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
-[assembly: ComVisible(false)]
-
-//Pour commencer à générer des applications localisables, définissez
-//<UICulture>CultureUtiliséePourCoder</UICulture> dans votre fichier .csproj
-//dans <PropertyGroup>.  Par exemple, si vous utilisez le français
-//dans vos fichiers sources, définissez <UICulture> à fr-FR. Puis, supprimez les marques de commentaire de
-//l'attribut NeutralResourceLanguage ci-dessous. Mettez à jour "fr-FR" dans
-//la ligne ci-après pour qu'elle corresponde au paramètre UICulture du fichier projet.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
-[assembly: ThemeInfo(
-    ResourceDictionaryLocation.None, //où se trouvent les dictionnaires de ressources spécifiques à un thème
-                                     //(utilisé si une ressource est introuvable dans la page,
-                                     // ou dictionnaires de ressources de l'application)
-    ResourceDictionaryLocation.SourceAssembly //où se trouve le dictionnaire de ressources générique
-                                              //(utilisé si une ressource est introuvable dans la page,
-                                              // dans l'application ou dans l'un des dictionnaires de ressources spécifiques à un thème)
-)]
-
-
-// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
-//
-//      Version principale
-//      Version secondaire
-//      Numéro de build
-//      Révision
-//
-// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
-// en utilisant '*', comme indiqué ci-dessous :
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-
 [assembly: ExportRenderer(typeof(Layout), typeof(LayoutRenderer))]
 [assembly: ExportRenderer(typeof(Label), typeof(LabelRenderer))]
 [assembly: ExportRenderer(typeof(Button), typeof(ButtonRenderer))]
@@ -81,7 +30,7 @@ using Xamarin.Forms.Platform.WPF;
 [assembly: ExportRenderer(typeof(ListView), typeof(ListViewRenderer))]
 [assembly: ExportRenderer(typeof(OpenGLView), typeof(OpenGLViewRenderer))]
 
-// Control don't exist natively in WPF Platform
+// Control doesn't exist natively in WPF Platform
 [assembly: ExportRenderer(typeof(TableView), typeof(TableViewRenderer))]
 [assembly: ExportRenderer(typeof(TimePicker), typeof(TimePickerRenderer))]
 //**[assembly: ExportRenderer(typeof(NativeViewWrapper), typeof(NativeViewWrapperRenderer))]
index 65be710..a1b2f49 100644 (file)
@@ -1,23 +1,9 @@
-using System.Reflection;
 using System.Runtime.CompilerServices;
-// Information about this assembly is defined by the following attributes. 
-// Change them to the values specific to your project.
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
 using Xamarin.Forms.Platform.iOS;
 using UIKit;
 
-[assembly: AssemblyTitle("Xamarin.Forms.Platform.iOS")]
-[assembly: AssemblyDescription("iOS Backend for Xamarin.Forms")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCulture("")]
-
-// The following attributes are used to specify the signing key for the assembly, 
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
 // These renderers are now registered via the RenderWithAttribute in the iOS Forwarders project.
 #if ROOT_RENDERERS
 [assembly: ExportRenderer(typeof(BoxView), typeof(BoxRenderer))]
@@ -69,6 +55,4 @@ using UIKit;
 [assembly: Xamarin.Forms.Dependency(typeof(Deserializer))]
 [assembly: Xamarin.Forms.Dependency(typeof(ResourcesProvider))]
 [assembly: ResolutionGroupName("Xamarin")]
-[assembly: Preserve]
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: Preserve]
\ No newline at end of file
index 00468e1..7d6eb1d 100644 (file)
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup>
+    <Description>iOS Backend for Xamarin.Forms</Description>
+  </PropertyGroup>
+  <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
-  <ItemGroup>
     <BundleResource Include="Resources\3bar.png" />
   </ItemGroup>
   <ItemGroup />
index 721c4c0..66d7d8f 100644 (file)
@@ -1,34 +1,4 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Android.App;
+using Android.App;
 
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Sandbox.Android")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Sandbox.Android")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-[assembly: ComVisible(false)]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-
-// Add some common permissions, these can be removed if not needed
 [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
 [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
diff --git a/Xamarin.Forms.Sandbox.UWP/Properties/AssemblyInfo.cs b/Xamarin.Forms.Sandbox.UWP/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 25d2f7a..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Sandbox.UWP")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Sandbox.UWP")]
-[assembly: AssemblyCopyright("Copyright ©  2015")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: ComVisible(false)]
\ No newline at end of file
index 34583c0..89a073e 100644 (file)
@@ -95,7 +95,6 @@
     <Compile Include="MainPage.xaml.cs">
       <DependentUpon>MainPage.xaml</DependentUpon>
     </Compile>
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <AppxManifest Include="Package.appxmanifest">
diff --git a/Xamarin.Forms.Sandbox.iOS/Properties/AssemblyInfo.cs b/Xamarin.Forms.Sandbox.iOS/Properties/AssemblyInfo.cs
deleted file mode 100644 (file)
index 38f6602..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Xamarin.Forms.Sandbox.iOS")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Xamarin.Forms.Sandbox.iOS")]
-[assembly: AssemblyCopyright("Copyright ©  2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers 
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
index 3d4d6fb..2915f6b 100644 (file)
@@ -94,7 +94,6 @@
     <Compile Include="AppDelegate.cs" />
     <None Include="Entitlements.plist" />
     <None Include="Info.plist" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
   </ItemGroup>
   <ItemGroup>
     <InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
index 368b407..259293f 100644 (file)
@@ -2,9 +2,4 @@
 using Microsoft.Windows.Design.Metadata;
 using Xamarin.Forms.Xaml.Design;
 
-[assembly: AssemblyTitle("Xamarin.Forms.Xaml.Design")]
-[assembly: AssemblyDescription("Provides the design-time metadata for the XAML language service.")]
-[assembly: ProvideMetadata(typeof (RegisterMetadata))]
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
\ No newline at end of file
+[assembly: ProvideMetadata(typeof (RegisterMetadata))]
\ No newline at end of file
index ae70915..d9a75ea 100644 (file)
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+   <PropertyGroup>
+    <Description>Provides the design-time metadata for the XAML language service.</Description>
+    <AssemblyName>Xamarin.Forms.Xaml.Design</AssemblyName>
+  </PropertyGroup>
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -8,7 +12,6 @@
     <OutputType>Library</OutputType>
     <AppDesignerFolder>Properties</AppDesignerFolder>
     <RootNamespace>Xamarin.Forms.Xaml.Design</RootNamespace>
-    <AssemblyName>Xamarin.Forms.Xaml.Design</AssemblyName>
     <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
     <FileAlignment>512</FileAlignment>
     <NuGetPackageImportStamp>
   <ItemGroup>
     <PackageReference Include="Xamarin.Forms.Design" Version="1.0.26-pre" Condition=" '$(OS)' != 'Unix' " />
   </ItemGroup>
-  <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs">
-      <Link>Properties\GlobalAssemblyInfo.cs</Link>
-    </Compile>
-  </ItemGroup>
   <ItemGroup Condition=" '$(OS)' != 'Unix' ">
     <Compile Include="AttributeTableBuilder.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
diff --git a/Xamarin.Forms.Xaml.UnitTests/AssemblyInfoTests.cs b/Xamarin.Forms.Xaml.UnitTests/AssemblyInfoTests.cs
new file mode 100644 (file)
index 0000000..e2222c0
--- /dev/null
@@ -0,0 +1,94 @@
+using NUnit.Framework;
+using System.Collections.Generic;
+using System;
+using System.IO;
+using System.Reflection;
+using System.Diagnostics;
+
+namespace Xamarin.Forms.Xaml.UnitTests
+{
+       [TestFixture]
+       public class AssemblyInfoTests
+       {
+               static readonly string[] references = new[]
+               {
+                       "Xamarin.Forms.Core",
+                       "Xamarin.Forms.Maps",
+                       "Xamarin.Forms.Xaml",
+                       "Xamarin.Forms.Build.Tasks",
+                       "Xamarin.Forms.Platform",
+               };
+
+               const string s_productName = "Xamarin.Forms";
+
+               const string s_company = "Microsoft";
+
+               const string s_gitInfoFile = "GitInfo.txt";
+
+               [Test, TestCaseSource("references")]
+               public void AssemblyTitle(string assemblyName)
+               {
+                       Assembly testAssembly = System.Reflection.Assembly.Load(assemblyName);
+                       Assert.AreEqual(assemblyName, testAssembly.GetName().Name);
+               }
+
+               [Test, TestCaseSource("references")]
+               public void AssemblyVersion(string assemblyName)
+               {
+                       Assembly testAssembly = System.Reflection.Assembly.Load(assemblyName);                  
+                       Version version = testAssembly.GetName().Version;
+                       Version gitInfoVersion = Version.Parse(GetFileFromRoot(s_gitInfoFile));
+                       Assert.AreEqual(version.Major, gitInfoVersion.Major);
+                       Assert.AreEqual(version.Minor, gitInfoVersion.Minor);
+                       Assert.AreEqual(version.Build, gitInfoVersion.Build);
+               }
+
+               [Test, TestCaseSource("references")]
+               public void FileVersion(string assemblyName)
+               {
+                       Assembly testAssembly = System.Reflection.Assembly.Load(assemblyName);
+                       FileVersionInfo version = FileVersionInfo.GetVersionInfo(testAssembly.Location);
+                       Version gitInfoVersion = Version.Parse(GetFileFromRoot(s_gitInfoFile));
+                       Assert.AreEqual(version.FileMajorPart, gitInfoVersion.Major);
+                       Assert.AreEqual(version.FileMinorPart, gitInfoVersion.Minor);
+                       Assert.AreEqual(version.FileBuildPart, gitInfoVersion.Build);
+                       //We need to enable this
+               //      Assert.AreEqual(version.FilePrivatePart, ThisAssembly.Git.Commits);
+                       Assert.AreEqual(version.ProductName, s_productName);
+                       Assert.AreEqual(version.CompanyName, s_company);
+               }
+
+               [Test, TestCaseSource("references")]
+               public void ProductAndCompany(string assemblyName)
+               {
+                       Assembly testAssembly = System.Reflection.Assembly.Load(assemblyName);
+                       FileVersionInfo version = FileVersionInfo.GetVersionInfo(testAssembly.Location);
+                       Assert.AreEqual(version.ProductName, s_productName);
+                       Assert.AreEqual(version.CompanyName, s_company);
+               }
+
+               static string GetFileFromRoot(string file)
+               {
+                       var gitInfoFile = Path.Combine(TestContext.CurrentContext.TestDirectory, "..", "..", "..", "..", file);
+                       if (!File.Exists(gitInfoFile))
+                       {
+                               //NOTE: VSTS may be running tests in a staging directory, so we can use an environment variable to find the source
+                               //      https://docs.microsoft.com/en-us/vsts/build-release/concepts/definitions/build/variables?view=vsts&tabs=batch#buildsourcesdirectory
+                               var sourcesDirectory = Environment.GetEnvironmentVariable("BUILD_SOURCESDIRECTORY");
+                               if (!string.IsNullOrEmpty(sourcesDirectory))
+                               {
+                                       gitInfoFile = Path.Combine(sourcesDirectory, file);
+                                       if (!File.Exists(gitInfoFile))
+                                       {
+                                               Assert.Fail($"Unable to find {file} at path: {gitInfoFile}");
+                                       }
+                               }
+                               else
+                               {
+                                       Assert.Fail($"Unable to find {file} at path: {gitInfoFile}");
+                               }
+                       }
+                       return File.ReadAllText(gitInfoFile);
+               }
+       }
+}
index afaf357..fbb2ce7 100644 (file)
@@ -1,9 +1,7 @@
-using System.Reflection;
 using System.Runtime.CompilerServices;
 
 using Xamarin.Forms;
 using Xamarin.Forms.Internals;
-using Xamarin.Forms.Xaml;
 
 [assembly: InternalsVisibleTo("Xamarin.Forms.Xaml.UnitTests")]
 [assembly: InternalsVisibleTo("Xamarin.Forms.Build.Tasks")]
@@ -24,6 +22,3 @@ using Xamarin.Forms.Xaml;
 #pragma warning disable CS0612 // Type or member is obsolete
 [assembly: TypeForwardedTo(typeof(Xamarin.Forms.Xaml.Internals.INameScopeProvider))]
 #pragma warning restore CS0612 // Type or member is obsolete
-
-[assembly: AssemblyVersion("2.0.0.0")]
-[assembly: AssemblyFileVersion("2.0.0.0")]
index 911bd2d..dda00bf 100644 (file)
@@ -1,15 +1,9 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <TargetFrameworks>netstandard2.0;netstandard1.0</TargetFrameworks>
-    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
   </PropertyGroup>
   <ItemGroup>
-    <Compile Include="..\Xamarin.Forms.Core\Properties\GlobalAssemblyInfo.cs" Link="Properties\GlobalAssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
     <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj">
-      <Project>{57B8B73D-C3B5-4C42-869E-7B2F17D354AC}</Project>
-      <Name>Xamarin.Forms.Core</Name>
     </ProjectReference>
   </ItemGroup>
 </Project>