-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19440 from unoplatform/dev/jela/single-startup-tfm
fix(vs): Use single TFM build feature from VS
- Loading branch information
Showing
4 changed files
with
6 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
<Project> | ||
|
||
<Target Name="_UnoFilterTargetFrameworkWithDebuggerTarget" | ||
BeforeTargets="_SetBuildInnerTarget;_ComputeTargetFrameworkItems" | ||
Condition=" | ||
'$(BuildingInsideVisualStudio)'=='true' | ||
AND '$(UnoDisableVSFilterTargetFrameworkWithDebuggerTarget)' != 'true' | ||
AND '$(IsImplicitlyTriggeredBuild)' == 'true' | ||
AND '$(IsUnoHead)' == 'true' | ||
AND '$(ExcludeRestorePackageImports)' != 'true' "> | ||
|
||
<!-- | ||
This target is used to restrict the number of active target frameworks used when | ||
building a head project. This current version uses $(_IsExecutable) in order to | ||
allow for faster builds with the uno.templates `Server` project. | ||
Filtering on `IsImplicitlyTriggeredBuild` implies that this target will be | ||
executed only when the debugger command is used. An explicit build or rebuild | ||
on the project will perform a full build. | ||
This will be enhanced in the future to support class libraries as well. | ||
--> | ||
|
||
<PropertyGroup Condition=" '$(TargetFramework)'=='' AND '$(_SelectedTargetFramework)' != '' "> | ||
<TargetFramework>$(_SelectedTargetFramework)</TargetFramework> | ||
<TargetFrameworks>$(_SelectedTargetFramework)</TargetFrameworks> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
</Project> |