This converts to using Internal.AspNetCore.Sdk instead of importing from the KoreBuild folder directly
This commit is contained in:
Nate McMaster 2017-01-11 14:21:03 -08:00
parent ee59368467
commit 0324ac80dd
2 changed files with 6 additions and 9 deletions

View File

@ -3,6 +3,7 @@
<packageSources>
<add key="Roslyn" value="https://dotnet.myget.org/F/roslyn/api/v3/index.json" />
<add key="AspNetCore" value="https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json" />
<add key="AspNetCoreTools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
</configuration>

View File

@ -1,6 +1,5 @@
<Project>
<Import Project="..\version.props" />
<Import Project="..\.build\common.props" Condition="Exists('..\.build\common.props')" />
<PropertyGroup>
<Product>Microsoft ASP.NET Core</Product>
@ -11,11 +10,8 @@
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
</PropertyGroup>
<Target Name="EnsureInitialized"
BeforeTargets="Build"
Condition="!Exists('$(MSBuildThisFileDirectory)..\.build\common.props')">
<Error File="$(MSBuildProjectFile)"
Text="Project has not been initialized. Run 'build initialize' in the solution directory." />
</Target>
<ItemGroup>
<PackageReference Include="Internal.AspNetCore.Sdk" Version="1.0.0-*" PrivateAssets="All" />
</ItemGroup>
</Project>