30 lines
1,010 B
XML
30 lines
1,010 B
XML
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp1.0</TargetFramework>
|
|
<AssemblyName>dotnet-portable</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="**\*.cs" />
|
|
<EmbeddedResource Include="**\*.resx" />
|
|
<EmbeddedResource Include="compiler\resources\**\*" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content 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>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|