Net Core - Output to netcore bin/obj folders
This commit is contained in:
parent
c5da7bb069
commit
502fba3f00
@ -1,4 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<!-- Note: We cannot use the recommended style of specifying <Project Sdk=...> because we need
|
||||
to set BaseIntermediateOutputPath and BaseOutputPath before the SDK props are imported. -->
|
||||
<PropertyGroup>
|
||||
<BaseIntermediateOutputPath>obj.netcore\</BaseIntermediateOutputPath>
|
||||
<BaseOutputPath>bin.netcore\</BaseOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
@ -48,4 +58,6 @@
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
</Project>
|
||||
|
@ -1,4 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<!-- Note: We cannot use the recommended style of specifying <Project Sdk=...> because we need
|
||||
to set BaseIntermediateOutputPath and BaseOutputPath before the SDK props are imported. -->
|
||||
<PropertyGroup>
|
||||
<BaseIntermediateOutputPath>obj.netcore\</BaseIntermediateOutputPath>
|
||||
<BaseOutputPath>bin.netcore\</BaseOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
@ -48,4 +58,6 @@
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
</Project>
|
||||
|
@ -1,4 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project>
|
||||
<!-- Note: We cannot use the recommended style of specifying <Project Sdk=...> because we need
|
||||
to set BaseIntermediateOutputPath and BaseOutputPath before the SDK props are imported. -->
|
||||
<PropertyGroup>
|
||||
<BaseIntermediateOutputPath>obj.netcore\</BaseIntermediateOutputPath>
|
||||
<BaseOutputPath>bin.netcore\</BaseOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
@ -51,4 +61,6 @@
|
||||
</ItemGroup>
|
||||
</Otherwise>
|
||||
</Choose>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user