mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Output template content
This commit is contained in:
parent
d468cbabbe
commit
f35fda59c8
1 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,17 @@
|
||||||
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Read the content of the template -->
|
||||||
|
<ReadLinesFromFile File="$(ProjectDir)$(ProjectName).Credentials.template">
|
||||||
|
<Output TaskParameter="Lines" ItemName="TemplateLines"/>
|
||||||
|
</ReadLinesFromFile>
|
||||||
|
|
||||||
|
<!-- Output each line of the file to the log -->
|
||||||
|
<Message Text="Contents of $(ProjectDir)$(ProjectName).Credentials.template:" Importance="high"/>
|
||||||
|
<Message Text="%(TemplateLines.Identity)" Importance="high"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Read the content of the generated file -->
|
<!-- Read the content of the generated file -->
|
||||||
<ReadLinesFromFile File="$(ProjectDir)$(ProjectName).Credentials.cs">
|
<ReadLinesFromFile File="$(ProjectDir)$(ProjectName).Credentials.cs">
|
||||||
<Output TaskParameter="Lines" ItemName="FileLines"/>
|
<Output TaskParameter="Lines" ItemName="FileLines"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue