Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Opt out of VS build acceleration #788

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
<LangVersion>11.0</LangVersion>
</PropertyGroup>

<PropertyGroup>
<!--
Disable build acceleration until up-to-date checks can be improved to
use input/output targets properly. See https://aka.ms/vs-build-acceleration
and https://github.com/unoplatform/Uno.Wasm.Bootstrap/issues/782.
This property here only applies to the bootstrapper solution, the projects using
the nuget package use BuildAccelerationIncompatiblePackage insnstead.
-->
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
</PropertyGroup>

<PropertyGroup>
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
Expand Down
5 changes: 5 additions & 0 deletions src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@
<!-- Allow running/debugging from VS (see https://github.com/dotnet/runtime/pull/75986/files#diff-cace638214185dee3296b4f9f79db1f0187d338f393a75d9fb1fda13bf93d533R120) -->
<ProjectCapability Include="DotNetCoreWeb"/>
</ItemGroup>

<ItemGroup>
<!-- opt out of build acceleration https://aka.ms/vs-build-acceleration -->
<BuildAccelerationIncompatiblePackage Include="Uno.Wasm.Bootstrap" />
</ItemGroup>
</Project>
Loading