Created
March 8, 2017 00:24
-
-
Save xinmyname/b65fa6338bc443295a01169e1986d519 to your computer and use it in GitHub Desktop.
.csproj with runtime identifier building exe with embedded resource
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>exe</OutputType> | |
<TargetFramework>netcoreapp1.0</TargetFramework> | |
<RuntimeIdentifiers>win7-x86;win10-x64</RuntimeIdentifiers> | |
</PropertyGroup> | |
<ItemGroup> | |
<None Remove="TextFile1.txt" /> | |
</ItemGroup> | |
<ItemGroup> | |
<EmbeddedResource Include="TextFile1.txt" /> | |
</ItemGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment