Last active
July 3, 2020 18:14
-
-
Save BicycleMark/8870c630a1fb77a66df1213d81f08f12 to your computer and use it in GitHub Desktop.
A simple csproj for moving WPF Framework Apps to .Net Core 3.1
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> | |
<PropertyGroup> | |
<BaseIntermediateOutputPath>obj_core</BaseIntermediateOutputPath> | |
</PropertyGroup> | |
<Import Sdk="Microsoft.NET.Sdk.WindowsDesktop" Project="Sdk.props" /> | |
<ItemGroup> | |
<Compile Remove="obj\**" /> | |
<EmbeddedResource Remove="obj\**" /> | |
<None Remove="obj\**" /> | |
<Page Remove="obj\**" /> | |
</ItemGroup> | |
<!-- *************************************************** --> | |
<!-- Customize Resource Statements For your Project Start--> | |
<ItemGroup> | |
<None Remove="Resources\**\*.png" /> | |
<None Remove="Resources\**\*.ico" /> | |
</ItemGroup> | |
<ItemGroup> | |
<Resource Include="Resources\**\*.png" /> | |
<Resource Include="Resources\**\*.ico" /> | |
</ItemGroup> | |
<!-- Customize For your Projec End --> | |
<PropertyGroup> | |
<OutputType>WinExe</OutputType> | |
<TargetFramework>netcoreapp3.1</TargetFramework> | |
<!-- ********************************************** --> | |
<!-- Set these values same as Framework Values Start --> | |
<AssemblyName>Sweeper</AssemblyName> | |
<RootNamespace>Sweeper</RootNamespace> | |
<!-- Set these values same as Framework Values End --> | |
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> | |
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | |
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | |
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | |
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | |
<GenerateFileVersionAttribute>false</GenerateFileVersionAttribute> | |
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | |
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | |
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute> | |
<UseWPF>true</UseWPF> | |
<OutputPath>bin_core\Debug\</OutputPath> | |
<IntermediateOutputPath>out_core\Debug\</IntermediateOutputPath> | |
</PropertyGroup> | |
<Import Sdk="Microsoft.NET.Sdk.WindowsDesktop" Project="Sdk.targets" /> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment