diff options
Diffstat (limited to 'Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj')
-rw-r--r-- | Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj b/Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj index 05e25e3..5a1ef6b 100644 --- a/Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj +++ b/Xamarin.PropertyEditing/Xamarin.PropertyEditing.csproj @@ -5,6 +5,12 @@ </PropertyGroup> <ItemGroup> + <PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core"> + <Version>1.0.0</Version> + </PackageReference> + </ItemGroup> + + <ItemGroup> <EmbeddedResource Update="Properties\Resources.resx"> <Generator>PublicResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> @@ -20,4 +26,15 @@ <DependentUpon>Resources.resx</DependentUpon> </Compile> </ItemGroup> + + <Target Name="GetFilesToSign" BeforeTargets="SignFiles" Condition=" '$(Configuration)' == 'Release' Or '$(Configuration)' == 'ReleaseWindows'"> + <ItemGroup> + <FilesToSign Include="$(OutDir)\**\$(AssemblyName).resources.dll"> + <Authenticode>Microsoft400</Authenticode> + </FilesToSign> + <FilesToSign Include="$(OutDir)\$(AssemblyName).dll"> + <Authenticode>Microsoft400</Authenticode> + </FilesToSign> + </ItemGroup> + </Target> </Project> |