This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net5.0</TargetFramework> | |
</PropertyGroup> | |
<!--<Target Name="GenerateResx" AfterTargets="BeforeBuild"> | |
<Message Text="Check Resources.Designer.cs" Importance="high" /> | |
<Message Text="Generating Designer Files..." /> | |
<GenerateResource Sources="@(EmbeddedResource)" StronglyTypedLanguage="cs" StronglyTypedClassName="%(Filename)" StronglyTypedNamespace="@(EmbeddedResource->'%(CustomToolNamespace)')" StronglyTypedFileName="@(EmbeddedResource->'%(RootDir)%(Directory)%(Filename).designer.cs')" PublicClass="true" /> | |
<Error Condition="!Exists('Resources.Designer.cs')" Text="File Resources.resx not found" /> | |
</Target>--> | |
<ItemGroup> | |
<EmbeddedResource Update="Resources.resx"> | |
<Generator>PublicResXFileCodeGenerator</Generator> | |
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | |
<StronglyTypedFileName>Resources.Designer.cs</StronglyTypedFileName> | |
<StronglyTypedLanguage>CSharp</StronglyTypedLanguage> | |
<StronglyTypedNamespace>ResxTest</StronglyTypedNamespace> | |
<StronglyTypedClassName>Resources</StronglyTypedClassName> | |
<PublicClass>true</PublicClass> | |
</EmbeddedResource> | |
<Compile Update="Resources.Designer.cs"> | |
<DesignTime>True</DesignTime> | |
<AutoGen>True</AutoGen> | |
<DependentUpon>Resources.resx</DependentUpon> | |
</Compile> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment