41 lines
1.7 KiB
XML
41 lines
1.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<VersionPrefix>1.0.0-rc</VersionPrefix>
|
|
<TargetFrameworks>netcoreapp1.0;net451</TargetFrameworks>
|
|
<AssemblyName>dotnet-desktop-and-portable</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
<RuntimeIdentifiers>win7-x64;win7-x86;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.10-x64;rhel.7-x64</RuntimeIdentifiers>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="**\*.cs" />
|
|
<EmbeddedResource Include="**\*.resx" />
|
|
<EmbeddedResource Include="compiler\resources\**\*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Condition="'$(TargetFramework)' == ''" Include="$(OutputPath)\netcoreapp1.0\$(AssemblyName).runtimeconfig.json">
|
|
<Pack>true</Pack>
|
|
<PackagePath>lib\netcoreapp1.0</PackagePath>
|
|
</Content>
|
|
<Content Condition="'$(TargetFramework)' != ''" Include="$(OutputPath)\$(AssemblyName).runtimeconfig.json">
|
|
<Pack>true</Pack>
|
|
<PackagePath>lib\$(TargetFramework)</PackagePath>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
|
|
<PackageReference Include="Microsoft.NETCore.App">
|
|
<Version>1.0.3</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
|
|
<Reference Include="System" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|