Skip to content

Commit dd34e54

Browse files
committed
Adding condition to GetFilesToSign to only include files if build configuration is Release
1 parent 0e80ea1 commit dd34e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.AndroidSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<PackageReference Include="XliffTasks" Version="1.0.0-beta.20420.1" PrivateAssets="all" />
3939
</ItemGroup>
4040

41-
<Target Name="GetFilesToSign" BeforeTargets="SignFiles">
41+
<Target Name="GetFilesToSign" BeforeTargets="SignFiles" Condition=" '$(Configuration)' == 'Release' Or '$(Configuration)' == 'ReleaseWindows'">
4242
<ItemGroup>
4343
<FilesToSign Include="$(OutDir)\$(AssemblyName).dll">
4444
<Authenticode>Microsoft400</Authenticode>

0 commit comments

Comments
 (0)