-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow building with desktop msbuild only
- Loading branch information
1 parent
bcd20ab
commit dd10a42
Showing
18 changed files
with
353 additions
and
228 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
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<Project> | ||
|
||
<!-- Don't import repo infrastructure --> | ||
<PropertyGroup> | ||
<ImportDirectoryPackagesProps>false</ImportDirectoryPackagesProps> | ||
</PropertyGroup> | ||
|
||
<Import Project="..\Common.props" /> | ||
|
||
<!-- | ||
@(RequiresDelayedBuild) projects can be extended many ways but this isn't fully automated because the new | ||
projects likely aren't referenced initially. To add new projects, edit RequiresDelayedBuildProjects.props | ||
manually, update the $(BuildMainlyReferenceProviders)' == 'true' item group near the bottom of this file, | ||
or edit BuildAfterTargetingPack.csproj. Then run GenerateProjectList.ps1 (even for the first option to ensure | ||
the format is correct) and undo any temporary changes. When complete, only BuildAfterTargetingPack.csproj and | ||
other @(RequiresDelayedBuild) projects should mention projects listed in RequiresDelayedBuildProjects.props. | ||
--> | ||
<Import Project="..\RequiresDelayedBuildProjects.props" /> | ||
|
||
<!-- These projects are always excluded, even when -projects is specified on command line. --> | ||
<ItemGroup> | ||
<!-- Explicitly excluded projects --> | ||
<ProjectToExclude Include="$(ProjectToExclude)" /> | ||
|
||
<!-- These projects use 'legacy' csproj, which is not supported by dotnet-msbuild. --> | ||
<ProjectToExclude Include=" | ||
$(RepoRoot)src\Servers\HttpSys\samples\TestClient\TestClient.csproj; | ||
$(RepoRoot)src\Middleware\WebSockets\samples\TestServer\WebSockets.TestServer.csproj; | ||
" | ||
Condition=" '$(MSBuildRuntimeType)' == 'Core' " /> | ||
|
||
<!-- Exclude the websockets samples for now because they use classic .csproj, which is not yet supported in our build. --> | ||
<ProjectToExclude Include="$(RepoRoot)src\Middleware\WebSockets\samples\**\*.csproj" /> | ||
|
||
<!-- These projects are meant to be referenced only by tests or via BuildAfterTargetingPack.csproj. --> | ||
<ProjectToExclude | ||
Include="$(RepoRoot)src\**\testassets\**\*.*proj; | ||
@(RequiresDelayedBuild); | ||
" | ||
Exclude="$(RepoRoot)src\Components\WebAssembly\testassets\WasmLinkerTest\*.*proj; | ||
$(RepoRoot)src\Components\WebView\Samples\PhotinoPlatform\testassets\PhotinoTestApp\*.*proj; | ||
$(RepoRoot)src\Http\Routing\test\testassets\RoutingSandbox\*.*proj; | ||
$(RepoRoot)src\Security\Authentication\Negotiate\test\testassets\Negotiate.Client\*.*proj; | ||
$(RepoRoot)src\Security\Authentication\Negotiate\test\testassets\Negotiate.Server\*.*proj; | ||
" /> | ||
|
||
<!-- These projects are not meant to be built in this repo. In the Installers case, must explicitly opt in. --> | ||
<ProjectToExclude Include=" | ||
$(RepoRoot)src\submodules\googletest\**\*.*proj; | ||
$(RepoRoot)src\submodules\MessagePack-CSharp\**\*.*proj; | ||
$(RepoRoot)src\Components\Web.JS\node_modules\**\*.*proj; | ||
$(RepoRoot)src\Installers\**\*.*proj; | ||
$(RepoRoot)src\ProjectTemplates\Web.ProjectTemplates\content\**\*.*proj; | ||
$(RepoRoot)src\SignalR\clients\ts\**\node_modules\**\*.*proj; | ||
" /> | ||
|
||
<!-- Exclude the benchmarks because they use <PackageReference>. --> | ||
<ProjectToExclude Include=" | ||
$(RepoRoot)src\Components\benchmarkapps\BlazingPizza.Server\**\*.csproj; | ||
$(RepoRoot)src\Mvc\perf\**\*.csproj; | ||
$(RepoRoot)src\Servers\Kestrel\perf\PlatformBenchmarks\**\*.csproj; | ||
$(RepoRoot)src\SignalR\perf\benchmarkapps\**\*.csproj; | ||
" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Oops, something went wrong.