Commit e7bae075 authored by Mikael Lindemann's avatar Mikael Lindemann
Browse files

Added logo - removed nuspec file, moved properties to csproj.

parent a0a2c735
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>Appstract.UmbracoContactNumber</RootNamespace>
<AssemblyName>Appstract.UmbracoContactNumber</AssemblyName>
<TargetFramework>net472</TargetFramework>
<Id>Appstract.UmbracoContactNumber</Id>
<Authors>Appstract Consulting Aps</Authors>
<Owners>Appstract Consulting Aps</Owners>
<PackageProjectUrl>https://gitlab.dev.appstract.dk/internal/umbracocontactnumber</PackageProjectUrl>
<RepositoryUrl>https://gitlab.dev.appstract.dk/internal/umbracocontactnumber</RepositoryUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>This adds a contact (phone) number custom property editor that allows to select a country code from a list of countries and shows a green checkbox if the number is known to be of correct length for the country.</Description>
<PackageReleaseNotes><![CDATA[1.0.0 Initial release with hardcoded country database.]]></PackageReleaseNotes>
<Copyright>Copyright 2020</Copyright>
<PackageTags>umbraco;umbraco-cms;custom-property-editor;contact-number</PackageTags>
<PackageIcon>images\icon.png</PackageIcon>
<PackageIconUrl>https://appstract.dk/dist/images/apple-touch-icon.png</PackageIconUrl>
<ContentTargetFolders>content</ContentTargetFolders>
<IncludeSymbols>true</IncludeSymbols>
<RootNamespace>Appstract.UmbracoContactNumber</RootNamespace>
<AssemblyName>Appstract.UmbracoContactNumber</AssemblyName>
<TargetFramework>net472</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<NuspecFile>Appstract.UmbracoContactNumber.nuspec</NuspecFile>
<NuspecProperties>version=$(Version)</NuspecProperties>
</PropertyGroup>
<ItemGroup>
<None Include="App_Plugins\Appstract.UmbracoContactNumber\package.manifest" />
<None Include="Appstract.UmbracoContactNumber.nuspec" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\index.html" />
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\index.js" />
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\input_check.svg" />
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\lang\en-US.xml" />
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\style.css" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.4.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="UmbracoCms.Core" Version="8.1.0" />
</ItemGroup>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="UmbracoCms.Core" Version="8.1.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<PackageSourceFiles Include="App_Plugins\Appstract.UmbracoContactNumber\*;App_Plugins\Appstract.UmbracoContactNumber\lang\*;bin\Release\net472\Appstract.UmbracoContactNumber.dll;package.xml" />
<Content Include="App_Plugins\Appstract.UmbracoContactNumber\**\*.*" Pack="true" />
<None Include="Appstract-a Logo.png" Pack="true" PackagePath="images\icon.png" />
<PackageSourceFiles Include="App_Plugins\Appstract.UmbracoContactNumber\**\*.*" />
<PackageSourceFiles Include="bin\Release\net472\Appstract.UmbracoContactNumber.dll" />
<PackageSourceFiles Include="package.xml" />
</ItemGroup>
<PropertyGroup>
<PackageIntermediateDirectory>$(BaseIntermediateOutputPath)\package_output\</PackageIntermediateDirectory>
<PackageIntermediateOutputPath>$(BaseIntermediateOutputPath)\package_output\</PackageIntermediateOutputPath>
</PropertyGroup>
<Target Name="UmbracoPackage" AfterTargets="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
<MakeDir Directories="$(PackageIntermediateDirectory)" />
<Delete Files="$(PackageIntermediateDirectory)\*" />
<Copy SourceFiles="@(PackageSourceFiles)" DestinationFolder="$(PackageIntermediateDirectory)" />
<XmlPoke XmlInputPath="$(PackageIntermediateDirectory)\package.xml" Value="$(Version)" Query="/umbPackage/info/package/version" />
<ZipDirectory SourceDirectory="$(PackageIntermediateDirectory)" DestinationFile="$(BaseOutputPath)$(Configuration)\$(AssemblyName).$(Version).zip" Overwrite="true" />
<MakeDir Directories="$(PackageIntermediateOutputPath)" />
<Delete Files="$(PackageIntermediateOutputPath)\*" />
<Copy SourceFiles="@(PackageSourceFiles)" DestinationFolder="$(PackageIntermediateOutputPath)" />
<XmlPoke XmlInputPath="$(PackageIntermediateOutputPath)\package.xml" Value="$(Version)" Query="/umbPackage/info/package/version" />
<ZipDirectory SourceDirectory="$(PackageIntermediateOutputPath)" DestinationFile="$(BaseOutputPath)$(Configuration)\$(AssemblyName).$(Version).zip" Overwrite="true" />
</Target>
<Target Name="UmbracoPackageClean" AfterTargets="Clean">
<Delete Files="$(PackageIntermediateDirectory)\*" />
<RemoveDir Directories="$(PackageIntermediateDirectory)" />
<Delete Files="$(PackageIntermediateOutputPath)\*" />
<RemoveDir Directories="$(PackageIntermediateOutputPath)" />
</Target>
</Project>
\ No newline at end of file
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>Appstract.UmbracoContactNumber</id>
<version>$version$</version>
<authors>Appstract Consulting Aps</authors>
<owners>Appstract Consulting Aps</owners>
<projectUrl>https://gitlab.dev.appstract.dk/internal/umbracocontactnumber</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>This adds a contact (phone) number custom property editor that allows to select a country code from a list of countries and shows a green checkbox if the number is known to be of correct length for the country.</description>
<releaseNotes><![CDATA[1.0.0 Initial release with hardcoded country database.]]></releaseNotes>
<copyright>Copyright 2020</copyright>
<tags>umbraco, umbraco-cms, custom-property-editor, contact-number</tags>
<dependencies>
<group>
<dependency id="Newtonsoft.Json" version="12.0.1" />
</group>
<group targetFramework="net472">
<dependency id="Newtonsoft.Json" version="12.0.1" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\Release\net472\Appstract.UmbracoContactNumber.dll" target="lib\net472" />
<file src="App_Plugins\Appstract.UmbracoContactNumber\**\*.*" target="content\App_Plugins\Appstract.UmbracoContactNumber" />
</files>
</package>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment