I have a resx file from a .NET 3.5 project. I would like to use that same file on a .NET standard 1.4 project so that I can just reference the .NET standard dll to a UWP and a .NET 4.6 project.
So I added the Strings.resx and Strings.Designer.cs as link to the .NET standard project but when I right click on the resx file and "Run Custom Tool", it does not generate the Designer.cs file.
Here's the content of the project file:
<ItemGroup>
<Compile Include="..\WindowsFormsApp2\Strings.Designer.cs" Link="Strings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\WindowsFormsApp2\Strings.resx" Link="Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
I'm using Visual Studio 2017 Pro, by the way.