Cleanup, WIP fixing first up to date check when opening VS.
This commit is contained in:
Родитель
bb69ead830
Коммит
1c5efaab8a
|
@ -1,11 +1,14 @@
|
|||
<Project>
|
||||
<Import Project="$([MSBuild]::GetPathOfFileAbove(directory.build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(directory.build.props))')" />
|
||||
|
||||
<PropertyGroup>
|
||||
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="PruneExtraTargetFrameworks" BeforeTargets="ResolvePackageAssets;PreBuildEvent">
|
||||
<Target Name="PruneExtraTargetFrameworks" BeforeTargets="PreBuildEvent">
|
||||
<PropertyGroup>
|
||||
<PowerShellCommand Condition=" '$(OS)' == 'Windows_NT' ">powershell</PowerShellCommand>
|
||||
<PowerShellCommand Condition=" '$(OS)' == 'Unix' ">pwsh</PowerShellCommand>
|
||||
<ClientGenTriggerScript>$(MSBuildProjectDirectory)\..\..\..\.build\client_gen.ps1</ClientGenTriggerScript>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="$(PowerShellCommand) -ExecutionPolicy Unrestricted -NoProfile -File $(RepositoryDirectory)Common/Scripts/UpdateTargetFrameworks.ps1 $(SolutionName) --Verbose"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<Project InitialTargets="ValidateWinUITarget">
|
||||
<Import Project="ConditionalTargetFramework.targets" />
|
||||
<Project InitialTargets="PruneExtraTargetFrameworks;ValidateWinUITarget">
|
||||
<Import Project="$(RepositoryDirectory)Common\ConditionalTargetFramework.targets" />
|
||||
|
||||
<Import Project="Labs.TargetFrameworks.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
|
@ -22,8 +23,6 @@
|
|||
|
||||
<IsUno Condition="'$(TargetFramework)' != '$(UwpTargetFramework)' AND '$(TargetFramework)' != '$(WinAppSdkTargetFramework)'">True</IsUno>
|
||||
|
||||
<OutputPath>bin\$(Platform)\$(Configuration)\</OutputPath>
|
||||
<BaseIntermediateOutputPath>obj</BaseIntermediateOutputPath>
|
||||
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
||||
<EnableDefaultPageItems>false</EnableDefaultPageItems>
|
||||
<DefineConstants Condition="'$(TargetFramework)' == '$(WinAppSdkTargetFramework)'">WINAPPSDK</DefineConstants>
|
||||
|
@ -58,4 +57,4 @@
|
|||
<ProjectReference Include="$(RepositoryDirectory)\Common\CommunityToolkit.Labs.Core.SourceGenerators.XamlNamedPropertyRelay\CommunityToolkit.Labs.Core.SourceGenerators.XamlNamedPropertyRelay.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="True" />
|
||||
<ProjectReference Include="$(RepositoryDirectory)\Common\CommunityToolkit.Labs.Core.SourceGenerators\CommunityToolkit.Labs.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="True" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче