Skip to content

Commit

Permalink
chg - Use platform specific restriction target
Browse files Browse the repository at this point in the history
---

Type: chg
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jan 18, 2025
1 parent 7e093d0 commit f675258
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Nitrocid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nitrocid.Extras.Images.Icons", "public\Nitrocid.Addons\Nitrocid.Extras.Images.Icons\Nitrocid.Extras.Images.Icons.csproj", "{38D7F3AD-EA2F-49D3-87A6-1E4A362547D0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Installer", "Installer", "{772A7769-59DE-4516-84B5-59871D605444}"
ProjectSection(SolutionItems) = preProject
public\Nitrocid.Installers\PlatformSpecificRestrictions.targets = public\Nitrocid.Installers\PlatformSpecificRestrictions.targets
EndProjectSection
EndProject
Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "Nitrocid.Installer", "public\Nitrocid.Installers\Nitrocid.Installer\Nitrocid.Installer.wixproj", "{77FC3BDB-7A44-48E9-9D11-FB94C60C74CF}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project Sdk="WixToolset.Sdk/5.0.2">
<Import Project="../PlatformSpecificRestrictions.targets" Condition="!$([MSBuild]::IsOSPlatform('Windows'))" />
<PropertyGroup>
<DebugType Condition="'$(Configuration)' == 'Debug'">full</DebugType>
<DebugType Condition="'$(Configuration)' != 'Debug'">none</DebugType>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build">
<Message
Importance="high"
Text="Nitrocid KS: $(MSBuildProjectName) doesn't support building in your platform, which is $(OS)."
/>
</Target>
</Project>

0 comments on commit f675258

Please sign in to comment.