title: Is there a way of generating a *.designer.cs file from a resx file from within the YAML pipeline in AzureDevOps?
body: <p>I want to move a .NET solution into AzureDevOps and have it build as part of a YAML pipeline:</p>
  <p>The solution contains a .resx file that needs PublicResXFileCodeGenerator run on it to produce a *.Designer.cs file.
  i.e. In a manual build of the solution in Visual Studio I right click on the file and select &quot;run custom tool&quot;.</p>
  <p>If I build this solution in AzureDevOps I currently get the error message:</p>
  <p>##[error]CSC(0,0): Error CS2001: Source file 'D:\a\1\s\solution1\Translations\Translations.Designer.cs' could not be found.</p>
  <p>Question:
  How could I achieve this using YAML statements in an AzureDevOps pipeline?</p>
  <p>I was hoping there might be a way of somehow invoking the custom tool. [For example: if I search the web I can see msbuild mentioned in regards to custom tools - but not in an AzureDevOps setting.]</p>
  <p>(If I run resgen on Translations\Translations.resx on my Dev PC I just get a Translations.resources file. There would need to be a step to take this and create a *.Designer.cs file so this looks a no-go.)</p>