source switch
This commit is contained in:
Родитель
58121eb874
Коммит
ec3eb50f00
|
@ -0,0 +1,30 @@
|
|||
<Project>
|
||||
<ItemGroup Condition="$(FromSource) == 'false'">
|
||||
<PackageReference Include="Xamarin.Forms" Version="$(XamarinFormsVersion)">
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Forms.Maps" Version="$(XamarinFormsVersion)">
|
||||
</PackageReference>
|
||||
<PackageReference Include="Xamarin.Forms.Visual.Material" Version="$(XamarinFormsVersion)">
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<PropertyGroup Condition="$(FromSource) == 'true'">
|
||||
<XFDisableTargetsValidation>True</XFDisableTargetsValidation>
|
||||
</PropertyGroup>
|
||||
<Import Condition="$(FromSource) == 'true'" Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.DefaultItems.props" />
|
||||
<Import Condition="$(FromSource) == 'true'" Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.DefaultItems.targets" />
|
||||
<ItemGroup Condition="$(FromSource) == 'true'">
|
||||
|
||||
<!-- A reference to the entire .NET Framework is automatically included -->
|
||||
<ProjectReference ReferenceOutputAssembly="False" Include="$(XamarinFormsSource)Xamarin.Forms.Build.Tasks\Xamarin.Forms.Build.Tasks.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Core\Xamarin.Forms.Core.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.CustomAttributes\Xamarin.Forms.CustomAttributes.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Maps\Xamarin.Forms.Maps.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Xaml\Xamarin.Forms.Xaml.csproj" />
|
||||
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.targets" Condition="'$(BuildingInsideVisualStudio)' == 'true'" />
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.targets" Condition="'$(BuildingInsideVisualStudio)' != 'true'" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -9,19 +9,7 @@
|
|||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<XFDisableTargetsValidation>True</XFDisableTargetsValidation>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.DefaultItems.props" />
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.DefaultItems.targets" />
|
||||
<ItemGroup>
|
||||
<!-- A reference to the entire .NET Framework is automatically included -->
|
||||
<ProjectReference ReferenceOutputAssembly="False" Include="$(XamarinFormsSource)Xamarin.Forms.Build.Tasks\Xamarin.Forms.Build.Tasks.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Core\Xamarin.Forms.Core.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.CustomAttributes\Xamarin.Forms.CustomAttributes.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Maps\Xamarin.Forms.Maps.csproj" />
|
||||
<ProjectReference Include="$(XamarinFormsSource)Xamarin.Forms.Xaml\Xamarin.Forms.Xaml.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="MainPage.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
|
@ -30,7 +18,4 @@
|
|||
<Generator>MSBuild:Compile</Generator>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.targets" Condition="'$(BuildingInsideVisualStudio)' == 'true'" />
|
||||
<Import Project="$(XamarinFormsSource).nuspec\Xamarin.Forms.targets" Condition="'$(BuildingInsideVisualStudio)' != 'true'" />
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче