Skip to content

Commit

Permalink
produce correct package contents
Browse files Browse the repository at this point in the history
  • Loading branch information
crookm committed Dec 19, 2020
1 parent 3da9924 commit be92818
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
18 changes: 16 additions & 2 deletions PSAdvancedShortcut/PSAdvancedShortcut.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Choco">
<PackageId>ps-advanced-shortcut</PackageId>
<PackageId>PSAdvancedShortcut</PackageId>
<Version>0.1.0</Version>
<Authors>Matthew Crook</Authors>
<PackageTags>shortcut;filesystem;windows;shell;windows toasts;application model user id</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);IncludeDllsInPackage</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -12,7 +16,7 @@
</PropertyGroup>

<PropertyGroup>
<NoWarn>1701;1702;NU5111;NU5128</NoWarn>
<NoWarn>1701;1702;NU5111;NU5128;NU5100</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand All @@ -39,5 +43,15 @@
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>

<!-- Package contents -->
<ItemGroup>
<Content Include="PSAdvancedShortcut.psd1" Pack="true" PackagePath="/" />
</ItemGroup>
<Target Name="IncludeDllsInPackage">
<ItemGroup>
<TfmSpecificPackageFile Include="$(OutputPath)/*.dll" Exclude="$(OutputPath)/System.Management.Automation.dll" PackagePath="/" />
</ItemGroup>
</Target>

</Project>
6 changes: 3 additions & 3 deletions PSAdvancedShortcut/PSAdvancedShortcut.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

Author = 'Matt Crook'
Copyright = '(c) Matt Crook 2020. All rights reserved.'
Description = 'Advanced shortcut appliance to create and modify shortcut file properties that are not easily accessible'
Description = 'Advanced shortcut appliance to create and modify shortcut file properties that are not easily accessible - such as the AUMID (App User Model ID) and Toast Activator Class ID, both of which are important for using the Windows Notification Center Toast functionality'

PowerShellVersion = '2.0'

Expand All @@ -37,13 +37,13 @@
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @()
Tags = @('shortcut','filesystem','windows','shell','toasts','aumid')

# A URL to the license for this module.
# LicenseUri = ''

# A URL to the main website for this project.
# ProjectUri = ''
ProjectUri = 'https://github.com/crookm/ps-advanced-shortcut'

# A URL to an icon representing this module.
# IconUri = ''
Expand Down

0 comments on commit be92818

Please sign in to comment.