<Project Sdk="Microsoft.NET.Sdk.Web"> | |
<PropertyGroup> | |
<AssemblyTitle>Test Self-contained Application</AssemblyTitle> | |
<TargetFramework>netcoreapp1.1</TargetFramework> | |
<WarningsAsErrors>true</WarningsAsErrors> | |
<PreserveCompilationContext>true</PreserveCompilationContext> | |
<AssemblyName>testselfcontained</AssemblyName> | |
<OutputType>Exe</OutputType> | |
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers> | |
<Optimize Condition="'$(Configuration)'!='Debug'">true</Optimize> | |
<!-- Temporary AppDesignerFolder is added. They're fixing a bug for that now. --> | |
<AppDesignerFolder>Properties</AppDesignerFolder> | |
</PropertyGroup> | |
<!--<ItemGroup> | |
<Content Include="testfile.txt" CopyToPublishDirectory="Always" CopyToOutputDirectory="Always" /> | |
</ItemGroup>--> | |
<ItemGroup> | |
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.0" /> | |
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.0" /> | |
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.0" /> | |
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" /> | |
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" /> | |
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.0" /> | |
</ItemGroup> | |
<Target Name="CreateLogsFolder" AfterTargets="AfterPublish"> | |
<MakeDir Directories="$(PublishDir)Logs" Condition="!Exists('$(PublishDir)Logs')" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment