mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13:23 -07:00
Comment Token Replacement for now
This commit is contained in:
parent
1864daea51
commit
4bf41881c4
2 changed files with 4 additions and 0 deletions
|
@ -93,9 +93,11 @@
|
|||
</ItemGroup>
|
||||
|
||||
<!-- Add MSBuild.Community.Tasks to use the TemplateFile Task-->
|
||||
<!-- TODO find a solution for token replacement
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MSBuildTasks" Version="1.5.0.235" GeneratePathProperty="true" DevelopmentDependency="true" />
|
||||
</ItemGroup>
|
||||
-->
|
||||
|
||||
<Target Name="PostBuild" BeforeTargets="PostBuildEvent" Condition="$(MSBuildProjectName.StartsWith('Greenshot.Plugin.'))">
|
||||
<Exec Command="
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
<MSBuildCommunityTasksPath>$(PkgMSBuildTasks)\tools\</MSBuildCommunityTasksPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- TODO find a solution for token replacement
|
||||
<Import Project="$(MSBuildCommunityTasksPath)MSBuild.Community.Tasks.Targets" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')"/>
|
||||
|
||||
<Target Name="ProcessTemplates" BeforeTargets="PrepareForBuild" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')">
|
||||
<Message Text="Processing: $(ProjectDir)$(ProjectName).Credentials.template" Importance="high"/>
|
||||
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue