Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ obj

/packages/
.vs/
*.nupkg
22 changes: 22 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Include="GitInfo" Version="2.1.2" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<GitThisAssembly>false</GitThisAssembly>
<GitDefaultBranch>main</GitDefaultBranch>
</PropertyGroup>

<Target Name="SetVersion" BeforeTargets="GetAssemblyVersion;GetPackageVersion;GenerateNuspec" DependsOnTargets="GitVersion">
<PropertyGroup>
<Version>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</Version>
<PackageVersion>$(Version)$(PackageVersionSuffix)</PackageVersion>
<InformationalVersion>$(Version); git-rev-head:$(GitCommit); git-branch:$(GitBranch)</InformationalVersion>
</PropertyGroup>
</Target>

<Import
Project="$([System.IO.Path]::GetDirectoryName($(MSBuildThisFileDirectory))).override.targets"
Condition=" Exists('$([System.IO.Path]::GetDirectoryName($(MSBuildThisFileDirectory))).override.targets') "
/>
</Project>
1 change: 1 addition & 0 deletions GitInfo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
2 changes: 1 addition & 1 deletion Xamarin.MacDev/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Xamarin.MacDev")]
[assembly: AssemblyTitle ("Xamarin.Apple.Tools.MaciOS")]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually I think we'll want to move away from naming anything "Xamarin", but we don't have to do that now.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot can you create a issue for tracking this ?

[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("Xamarin Inc.")]
Expand Down
4 changes: 3 additions & 1 deletion Xamarin.MacDev/Xamarin.MacDev.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

<!-- NuGet Package Properties -->
<PropertyGroup>
<Title>Xamarin.MacDev</Title>
<PackageId>Xamarin.Apple.Tools.MaciOS</PackageId>
<AssemblyName>Xamarin.Apple.Tools.MaciOS</AssemblyName>
<Title>Xamarin.Apple.Tools.MaciOS</Title>
<Authors>Microsoft</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/dotnet/macios-devtools</PackageProjectUrl>
Expand Down
Loading