mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Merge 68c72e5d8c
into 54038a3cbe
This commit is contained in:
commit
56010384dd
4 changed files with 15 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>
|
||||
|
|
|
@ -10,4 +10,16 @@
|
|||
<Message Text="Processing: $(ProjectDir)$(ProjectName).Credentials.template" Importance="high"/>
|
||||
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
||||
</Target>
|
||||
|
||||
<!-- https://github.com/dotnet/sdk/issues/1458#issuecomment-695119194 -->
|
||||
<Target Name="_ResolveCopyLocalNuGetPackagePdbsAndXml" Condition="$(CopyLocalLockFileAssemblies) == true" AfterTargets="ResolveReferences">
|
||||
<ItemGroup>
|
||||
<ReferenceCopyLocalPaths
|
||||
Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).pdb')"
|
||||
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).pdb')" />
|
||||
<ReferenceCopyLocalPaths
|
||||
Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).xml')"
|
||||
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' != '' and Exists('%(RootDir)%(Directory)%(Filename).xml')" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
</Project>
|
|
@ -46,6 +46,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||
ProjectSection(SolutionItems) = preProject
|
||||
.editorconfig = .editorconfig
|
||||
..\azure-pipelines.yml = ..\azure-pipelines.yml
|
||||
Directory.Build.props = Directory.Build.props
|
||||
Directory.Build.targets = Directory.Build.targets
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
|
|
|
@ -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