Skip to content

Commit

Permalink
Disable package validation while building inside Visual Studio (#12825)
Browse files Browse the repository at this point in the history
There is no need to do this when iterating inside VS.

Put in a conditional property group so we can easily add other settings that we may want to do for faster iteration when doing dev work.

Fixes #12817
  • Loading branch information
JeremyKuhne authored Jan 22, 2025
1 parent e72d48b commit 2675a00
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<!-- There is no need to validate packages while iterating inside VS. -->
<EnablePackageValidation>false</EnablePackageValidation>
</PropertyGroup>

<!--
Set assembly version to align with major and minor version, as for the patches and revisions should be manually
updated per assembly if it is serviced.
Expand Down

0 comments on commit 2675a00

Please sign in to comment.