rules_dotnet
rules_dotnet copied to clipboard
How to run DotNetCliTools as part of build?
We have a csproj file that contains this section. The result is that dotnet generates a MyProject.XmlSerializers.dll as well as a MyProject.dll. Is this possible in rules_dotnet?
<PropertyGroup>
<SGenTypes>Utils.XmlBindingUtils</SGenTypes>
<SGenProxyTypes>false</SGenProxyTypes>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="Microsoft.XmlSerializer.Generator" Version="7.0.0" />
<DotNetCliToolReference Include="Microsoft.XmlSerializer.Generator" Version="7.0.0" />
</ItemGroup>
Thank you, Chris