mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -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"/>
|
||||
</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>
|
||||
<Tokens Include="Box_ClientId">
|
||||
<ReplacementValue>$(Box_ClientId)</ReplacementValue>
|
||||
|
@ -109,7 +117,7 @@
|
|||
<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')">
|
||||
<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)" />
|
||||
</Target>
|
||||
|
||||
|
|
|
@ -15,9 +15,6 @@ stages:
|
|||
- stage: Build
|
||||
jobs:
|
||||
- job: Build
|
||||
pool:
|
||||
vmImage: 'Windows-latest'
|
||||
|
||||
variables:
|
||||
- group: 'Plug-in Credentials'
|
||||
- name: solution
|
||||
|
@ -27,6 +24,9 @@ stages:
|
|||
- name: buildConfiguration
|
||||
value: 'Release'
|
||||
|
||||
pool:
|
||||
vmImage: 'Windows-latest'
|
||||
|
||||
steps:
|
||||
- task: NuGetToolInstaller@1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue