greenshot/GreenshotOCRCommand/GreenshotOCRCommand.csproj
Krom, Robertus 3ebdf3d2fe Fixed an issue with finding the GreenshotOCRCommand when running inside Visual Studio.
Fixed an issue with running on Windows 7, as it was trying to access a Windows 10 API
2020-02-18 13:38:52 +01:00

15 lines
578 B
XML

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<RootNamespace>GreenshotOCRCommand</RootNamespace>
<AssemblyName>GreenshotOCRCommand</AssemblyName>
<OutputType>WinExe</OutputType>
</PropertyGroup>
<ItemGroup>
<Reference Include="CustomMarshalers" />
</ItemGroup>
<Target Name="PostBuild" BeforeTargets="PostBuildEvent" Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<Exec Command="xcopy /q /y /d &quot;$(TargetDir)*.exe&quot; &quot;$(SolutionDir)$(SolutionName)\$(OutDir)&quot;" />
</Target>
</Project>