GtkSharp/Source/Workload/GtkSharp.Workload.Template.VBNet/GtkSharp.Workload.Template.VBNet.csproj

47 lines
1.6 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.Build.NoTargets">
<Import Project="..\Shared\Templates.targets" />
<PropertyGroup>
<Title>GTK templates for Visual Basic</Title>
<Description>A set of Visual Basic templates for your .NET GTK Application. Installed with the GtkSharp .NET workload.</Description>
</PropertyGroup>
<ItemGroup>
<_GtkSharpTemplateContent Include="content\**" />
<_GtkSharpTemplateContent Remove="**\*.in.*" />
<None Include="@(_GtkSharpTemplateContent)"
CopyToOutputDirectory="PreserveNewest"
Pack="true"
PackagePath="content"
/>
</ItemGroup>
<Import Project="..\Shared\ReplaceText.targets" />
<Target Name="_ReplaceJsonText"
BeforeTargets="Build;AssignTargetPaths"
Inputs="$(MSBuildProjectFile);content\GtkSharp.Application.VBNet\.template.config\template.in.json"
Outputs="$(IntermediateOutputPath)template.json">
<ReplaceText
Input="content\GtkSharp.Application.VBNet\.template.config\template.in.json"
Output="$(IntermediateOutputPath)template.json"
OldValue="@GTKSHARPNETVERSION@"
NewValue="$(_GtkSharpNetVersion)"
/>
<ItemGroup>
<None
Include="$(IntermediateOutputPath)template.json"
Link="content\GtkSharp.Application.VBNet\.template.config\template.json"
CopyToOutputDirectory="PreserveNewest"
Pack="true"
PackagePath="content\GtkSharp.Application.VBNet\.template.config\template.json"
/>
<FileWrites Include="$(IntermediateOutputPath)template.json" />
</ItemGroup>
</Target>
</Project>