mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 13:10:00 -07:00
See if this helps anything building with credentials.
This commit is contained in:
parent
043b6048ae
commit
9e56f23c1b
2 changed files with 12 additions and 4 deletions
|
@ -63,6 +63,14 @@
|
||||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="Test Variables" BeforeTargets="PrepareForBuild" >
|
||||||
|
<Message Text="Box Client Id $(Box_ClientId)" Importance="high"/>
|
||||||
|
<Message Text="DropBox Client Id $(DropBox_ClientId)" Importance="high"/>
|
||||||
|
<Message Text="Flickr Client Id $(Flickr_ClientId)" Importance="high"/>
|
||||||
|
<Message Text="Photobucket Client Id $(Photobucket_ClientId)" Importance="high"/>
|
||||||
|
<Message Text="Picasa Client Id $(Picasa_ClientId)" Importance="high"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Tokens Include="Box_ClientId">
|
<Tokens Include="Box_ClientId">
|
||||||
<ReplacementValue>$(Box_ClientId)</ReplacementValue>
|
<ReplacementValue>$(Box_ClientId)</ReplacementValue>
|
||||||
|
@ -109,7 +117,7 @@
|
||||||
<Import Project="$(PkgTools_MSBuildTasks)MSBuild.Community.Tasks.Targets" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')"/>
|
<Import Project="$(PkgTools_MSBuildTasks)MSBuild.Community.Tasks.Targets" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')"/>
|
||||||
|
|
||||||
<Target Name="ProcessTemplates" BeforeTargets="PrepareForBuild" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')">
|
<Target Name="ProcessTemplates" BeforeTargets="PrepareForBuild" Condition="Exists('$(ProjectDir)$(ProjectName).Credentials.template')">
|
||||||
<Message Text="Processing: $(ProjectDir)$(ProjectName).Credentials.template" />
|
<Message Text="Processing: $(ProjectDir)$(ProjectName).Credentials.template" Importance="high"/>
|
||||||
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
<TemplateFile Template="$(ProjectDir)$(ProjectName).Credentials.template" OutputFilename="$(ProjectDir)$(ProjectName).Credentials.cs" Tokens="@(Tokens)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,6 @@ stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
jobs:
|
jobs:
|
||||||
- job: Build
|
- job: Build
|
||||||
pool:
|
|
||||||
vmImage: 'Windows-latest'
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- group: 'Plug-in Credentials'
|
- group: 'Plug-in Credentials'
|
||||||
- name: solution
|
- name: solution
|
||||||
|
@ -27,6 +24,9 @@ stages:
|
||||||
- name: buildConfiguration
|
- name: buildConfiguration
|
||||||
value: 'Release'
|
value: 'Release'
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'Windows-latest'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue