Include Microsoft.Net.Sdk in CLI layout (#4895)
* WiP * Update test * Working version of Net SDK * Latest SDK doesn't work as packageref * DCR + PR * Harden CLI tests against #4884
This commit is contained in:
parent
4311926366
commit
d2d0353e60
9 changed files with 114 additions and 20 deletions
|
@ -35,11 +35,11 @@
|
|||
<Error Condition=" '$(MSBuildSDKsPath)' == '' "
|
||||
Text="Expected MSBuildSDKsPath to be set, but it is not." />
|
||||
|
||||
<Error Condition=" !Exists('$(MSBuildSDKsPath)/%(Sdk.Identity)/%(Sdk.Version)/build/InitialImport.props') "
|
||||
Text="Expected '$(MSBuildSDKsPath)/%(Sdk.Identity)/%(Sdk.Version)/build/InitialImport.props' to exist, but it does not. " />
|
||||
<Error Condition=" !Exists('$(MSBuildSDKsPath)/%(Sdk.Identity)/Sdk/Sdk.props') "
|
||||
Text="Expected '$(MSBuildSDKsPath)/%(Sdk.Identity)/Sdk/Sdk.props' to exist, but it does not. " />
|
||||
|
||||
<Error Condition=" !Exists('$(MSBuildSDKsPath)/%(Sdk.Identity)/%(Sdk.Version)/build/FinalImport.targets') "
|
||||
Text="Expected '$(MSBuildSDKsPath)/%(Sdk.Identity)/%(Sdk.Version)/build/FinalImport.targets' to exist, but it does not. " />
|
||||
<Error Condition=" !Exists('$(MSBuildSDKsPath)/%(Sdk.Identity)/Sdk/Sdk.targets') "
|
||||
Text="Expected '$(MSBuildSDKsPath)/%(Sdk.Identity)/Sdk/Sdk.targets' to exist, but it does not. " />
|
||||
|
||||
<Message Importance="low" Text="Message with low importance" />
|
||||
<Message Importance="normal" Text="Message with normal importance" />
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<Project ToolsVersion="14.0" DefaultTargets="Validate">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<Sdk Include="Microsoft.Core.Sdk" Version="1.0.0-RC2" />
|
||||
<Sdk Include="Microsoft.Web.Sdk" Version="1.0.0-RC2" />
|
||||
<Sdk Include="Microsoft.Net.Sdk" Version="$(CLI_NETSDK_Version)" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue