Skip to content

Commit 30d5361

Browse files
committed
Add OS condition to project file for Windows NT
Updated the `<Project>` element in the project file to include a `Condition` attribute that checks for the Windows NT operating system. This change enhances compatibility by ensuring the project file is only applicable when running on Windows NT, reducing potential issues on other operating systems.
1 parent dbed0a7 commit 30d5361

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Retroworks.RCBus.Windows/Retroworks.RCBus.Windows.wapproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Condition="'$(OS)' == 'Windows_NT'">
33
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
44
<VisualStudioVersion>15.0</VisualStudioVersion>
55
</PropertyGroup>

0 commit comments

Comments
 (0)