|
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <TargetFramework>netstandard2.0</TargetFramework> |
5 | | - <Version>3.7.10.0</Version> |
| 5 | + <Version>3.7.11.0</Version> |
6 | 6 | <Authors>guitarrapc</Authors> |
7 | 7 | <Company>guitarrapc</Company> |
8 | 8 | <Copyright>Copyright © 2018</Copyright> |
9 | 9 | <Product>GraniResource</Product> |
10 | 10 | <PackageId>GraniResource</PackageId> |
11 | 11 | <Description>PowerShell Desired State Configuration Resources for real production workload.</Description> |
12 | 12 | <AssemblyName>DSCResources</AssemblyName> |
| 13 | + <AssemblyVersion>3.7.11.0</AssemblyVersion> |
| 14 | + <FileVersion>3.7.11.0</FileVersion> |
| 15 | + <PostBuildEvent> |
| 16 | + powershell -ExecutionPolicy RemoteSigned -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1 |
| 17 | + rmdir $(SolutionDir)TmpPackage\ /S /Q |
| 18 | + mkdir $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) |
| 19 | + xcopy $(TargetDir)* $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) /s /i |
| 20 | + xcopy $(SolutionDir)*.psd1 $(SolutionDir)TmpPackage\$(Product) |
| 21 | + del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.dll |
| 22 | + del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.pdb |
| 23 | + del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.json |
| 24 | + powershell -ExecutionPolicy RemoteSigned -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force |
| 25 | +</PostBuildEvent> |
13 | 26 | </PropertyGroup> |
14 | 27 |
|
15 | 28 | <ItemGroup> |
|
50 | 63 | PostBuildMacros; |
51 | 64 | </PostBuildEventDependsOn> |
52 | 65 | <PostBuildEvent> |
53 | | - powershell -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1 |
| 66 | + powershell -ExecutionPolicy RemoteSigned -Command $(SolutionDir)New-GraniResourceManifest.ps1 -Version $(Version) -Path $(SolutionDir)$(Product).psd1 |
54 | 67 | rmdir $(SolutionDir)TmpPackage\ /S /Q |
55 | 68 | mkdir $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) |
56 | 69 | xcopy $(TargetDir)* $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName) /s /i |
57 | 70 | xcopy $(SolutionDir)*.psd1 $(SolutionDir)TmpPackage\$(Product) |
58 | 71 | del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.dll |
59 | 72 | del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.pdb |
60 | 73 | del $(SolutionDir)TmpPackage\$(Product)\$(AssemblyName)\*.json |
61 | | - powershell -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force |
| 74 | + powershell -ExecutionPolicy RemoteSigned -Command Compress-Archive -Path $(SolutionDir)TmpPackage\* -DestinationPath $(SolutionDir)Package\$(Product)_$(Version).zip -Force |
62 | 75 | </PostBuildEvent> |
63 | 76 | </PropertyGroup> |
64 | 77 |
|
|
0 commit comments