mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 22:13:23 -07:00
Cleaning a bit the MsBuild task
This commit is contained in:
parent
34b9629477
commit
e9eabf966c
2 changed files with 6 additions and 5 deletions
|
@ -3,7 +3,10 @@
|
|||
<DefineConstants>$(DefineConstants);GREENSHOT_BUILDTASKS</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" version="17.3.2" />
|
||||
<PackageReference Include="Microsoft.Build.Utilities.Core" version="17.3.2">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<ExcludeAssets>runtime</ExcludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SixLabors.ImageSharp.Drawing" version="1.0.0-beta15" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -11,7 +14,4 @@
|
|||
<Link>Emojis.cs</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<Target Name="CleanupBuildAssemblies" AfterTargets="AfterBuild">
|
||||
<Exec Command="del $(TargetDir)\Microsoft.Build.*.dll" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -33,6 +33,7 @@
|
|||
<ItemGroup>
|
||||
<ProjectReference Include="..\Greenshot.Base\Greenshot.Base.csproj" />
|
||||
<ProjectReference Include="..\Greenshot.Editor\Greenshot.Editor.csproj" />
|
||||
<ProjectReference Include="..\Greenshot.BuildTasks\Greenshot.BuildTasks.csproj" ReferenceOutputAssembly="false" />
|
||||
<FilesToHash Include="$(SolutionDir)$(SolutionName)\$(OutDir)\*" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -65,7 +66,7 @@
|
|||
</Task>
|
||||
</UsingTask>
|
||||
|
||||
<UsingTask TaskName="EmojiDataTask" TaskFactory="TaskHostFactory" AssemblyFile="..\Greenshot.BuildTasks\bin\Debug\net472\Greenshot.BuildTasks.dll" />
|
||||
<UsingTask TaskName="EmojiDataTask" TaskFactory="TaskHostFactory" AssemblyFile="..\Greenshot.BuildTasks\bin\$(Configuration)\$(TargetFramework)\Greenshot.BuildTasks.dll" />
|
||||
|
||||
<Target Name="GenerateEmojiTestTxtFile" BeforeTargets="BeforeBuild">
|
||||
<EmojiDataTask EmojiTestTxtFile="..\Greenshot.Editor\Controls\Emoji\emoji-test.txt" OutputFilename="$(SolutionDir)$(SolutionName)\$(OutDir)\emojis.xml" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue