File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 16
16
</PropertyGroup >
17
17
18
18
<ItemGroup Condition =" $(IsPackable) " >
19
- <None Include =" $(MSBuildThisFileDirectory)ReadMe.md"
20
- Visible =" False"
21
- Pack =" True"
22
- PackagePath =" " />
23
19
<None Include =" $(PrismPackageIcon)"
24
20
Visible =" False"
25
21
Pack =" True"
Original file line number Diff line number Diff line change
1
+ <Project >
2
+ <Import Project =" ..\Directory.Build.targets" />
3
+
4
+ <Target Name =" CopyNuGetReadme"
5
+ BeforeTargets =" _GetPackageFiles"
6
+ Condition =" $(IsPackable) == 'true' " >
7
+ <Exec Command =" echo # $(PackageId) > $(IntermediateOutputPath)\readme.txt"
8
+ ConsoleToMsBuild =" true" />
9
+
10
+ <Exec Command =" type $(MSBuildThisFileDirectory)ReadMe.md >> $(IntermediateOutputPath)\readme.txt"
11
+ ConsoleToMsBuild =" true" />
12
+ </Target >
13
+
14
+ <Target Name =" PackNuGetReadMe"
15
+ AfterTargets =" CopyNuGetReadme" >
16
+ <ItemGroup >
17
+ <_PackageFiles Include =" $(IntermediateOutputPath)\readme.txt" PackagePath =" " />
18
+ </ItemGroup >
19
+ </Target >
20
+ </Project >
Original file line number Diff line number Diff line change
1
+
1
2
Thank you for installing Prism 8.1!
2
3
3
4
## Help Support Prism
You can’t perform that action at this time.
0 commit comments