Skip to content

Commit

Permalink
Fix non-Windows full solution build
Browse files Browse the repository at this point in the history
The VS extension project has targets that call several tools
that only work on Windows. Disable those targets specifically
so that the full solution build works on non-Windows platforms.
It will not produce the VSIX but we can at least verify that
the VS extension project compiles after making changes in
shared projects it depends on.
  • Loading branch information
mhutch committed May 21, 2024
1 parent c0f8771 commit ffd6c98
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<UseWPF>true</UseWPF>
</PropertyGroup>

<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('Windows'))">
<GeneratePkgDefFile>false</GeneratePkgDefFile>
<CreateVsixContainer>false</CreateVsixContainer>
</PropertyGroup>

<!-- deploy and run the extension in VS -->
<PropertyGroup>
<StartAction>Program</StartAction>
Expand Down

0 comments on commit ffd6c98

Please sign in to comment.