mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Bump up the versions to 0.9.0 to match the C# binding version. Also use central version management for C# projects Also fix clippy lint errors Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
32 lines
1.0 KiB
XML
32 lines
1.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- If the environment variable is set (such as in a Github Action run), append the suffix to the version number -->
|
|
<RegorusPackageVersionSuffix Condition="'$(VersionSuffix)' != ''">-$(VersionSuffix)</RegorusPackageVersionSuffix>
|
|
<UseLocalRegorus Condition="'$(UseLocalRegorus)' == ''">false</UseLocalRegorus>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(UseLocalRegorus)' == 'true'">
|
|
<ProjectReference Include="../Regorus/Regorus.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(UseLocalRegorus)' != 'true'">
|
|
<PackageReference Include="Regorus" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="azure_policy.target.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
</Project>
|