mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 14:24:43 -07:00
Replace XCOPY kludge with a wildcard ProjectReference
This commit is contained in:
parent
c786d39abe
commit
9be9e5bac1
2 changed files with 1 additions and 12 deletions
|
@ -107,16 +107,4 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="MSBuildTasks" Version="1.5.0.235" GeneratePathProperty="true" DevelopmentDependency="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="PostBuild" BeforeTargets="PostBuildEvent" Condition="$(MSBuildProjectName.Contains('Plugin')) And !$(MSBuildProjectName.Contains('Test')) And !$(MSBuildProjectName.Contains('Demo'))">
|
||||
<Exec Command="
|
||||
xcopy /f /y /d "$(TargetDir)$(TargetName).*" "$(SolutionDir)$(SolutionName)\$(OutDir)"

|
||||
xcopy /f /y /d "$(TargetDir)*.dll" "$(SolutionDir)$(SolutionName)\$(OutDir)"

|
||||
IF EXIST "$(TargetDir)Languages" (

|
||||
IF NOT EXIST "$(SolutionDir)$(SolutionName)\$(OutDir)Languages" (

|
||||
mkdir "$(SolutionDir)$(SolutionName)\$(OutDir)Languages"

|
||||
)

|
||||
xcopy /f /y /d "$(TargetDir)Languages\*en-US.xml" "$(SolutionDir)$(SolutionName)\$(OutDir)Languages"

|
||||
)" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Greenshot.Base\Greenshot.Base.csproj" />
|
||||
<ProjectReference Include="..\Greenshot.Plugin.*\*.csproj" />
|
||||
<FilesToHash Include="$(SolutionDir)$(SolutionName)\$(OutDir)\*" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue