51562109ea
* Migrate TestPackages * Add check for desktop available * Revert previous change * WIP try something for non-Windows * Another attempt to pack properly on non-windows * Another attempt to fix pack errors * Remove spaces * Another attempt to make pack work cross-platform
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
|
|
|
|
<PropertyGroup>
|
|
<VersionPrefix>1.0.0-rc</VersionPrefix>
|
|
<TargetFramework>netcoreapp1.0</TargetFramework>
|
|
<AssemblyName>dotnet-dependency-context-test</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">$(PackageTargetFallback);dnxcore50;portable-net45+win8</PackageTargetFallback>
|
|
</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>
|
|
<PackageReference Include="Microsoft.NET.Sdk">
|
|
<Version>1.0.0-alpha-20161104-2</Version>
|
|
<PrivateAssets>All</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NETCore.App">
|
|
<Version>1.0.1</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.Extensions.DependencyModel">
|
|
<Version>1.0.1-beta-000933</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
</Project>
|