5bbfbfeeed
* update nuget to 4.0.0-rc3 and sdk to 1.0.0-alpha-20170105-5 * Modifying restore project.json to use the project.json stage0 CLI instead of restore-projectjson command. * add a nuget dependency so migrated project has packageref and generates an assets file on restore
37 lines
1.5 KiB
XML
37 lines
1.5 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>
|
|
<TargetFramework>netcoreapp1.0</TargetFramework>
|
|
<AssemblyName>dotnet-dependency-tool-invoker</AssemblyName>
|
|
<OutputType>Exe</OutputType>
|
|
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">$(PackageTargetFallback);portable-net45+win8;dnxcore50</PackageTargetFallback>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<SdkNugetVersion Condition=" '$(SdkNugetVersion)' == ''">1.0.0-preview5-*</SdkNugetVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\..\src\dotnet\CommandLine\*.cs;..\..\..\src\dotnet\CommonLocalizableStrings.cs;" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BuiltProjectOutputGroupOutput Include="$(ProjectRuntimeConfigFilePath)">
|
|
<FinalOutputPath>$(ProjectRuntimeConfigFilePath)</FinalOutputPath>
|
|
</BuiltProjectOutputGroupOutput>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.NETCore.App">
|
|
<Version>1.0.3</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="NuGet.Frameworks">
|
|
<Version>4.0.0-rc3</Version>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.DotNet.Cli.Utils">
|
|
<Version>$(SdkNugetVersion)</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
|
|
</PropertyGroup>
|
|
</Project>
|