Skip to content

Commit

Permalink
Merge pull request #942 from dorssel/improve_build
Browse files Browse the repository at this point in the history
Improve build speed
  • Loading branch information
dorssel committed May 5, 2024
2 parents 894db8e + 3498a6f commit 3e25f9d
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 47 deletions.
7 changes: 1 addition & 6 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@ SPDX-License-Identifier: GPL-3.0-only
<!-- For PowerShell, we support everything -->
<Platforms>AnyCPU</Platforms>
<Platform>AnyCPU</Platform>
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
<IsTrimmable>false</IsTrimmable>
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework) != 'netstandard2.0'">
<!-- This product only supports x64 (the only architecture supported by VBoxUsb) -->
<Platforms>x64</Platforms>
<Platform>x64</Platform>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<IsTrimmable>true</IsTrimmable>
<!--
<IsAotCompatible>true</IsAotCompatible>
-->
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -59,6 +53,7 @@ SPDX-License-Identifier: GPL-3.0-only
<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
<GenerateDependencyFile>false</GenerateDependencyFile>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>

<Product>usbipd-win</Product>
<Company>Frans van Dorsselaer</Company>
Expand Down
3 changes: 1 addition & 2 deletions Installer/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"resolved": "5.0.0",
"contentHash": "7lLwyrf+2cTuPju0swTWtRNYesnOMxXhGugMnGGNEPDB4g/+BCUsub2RDYAxnBnbnND7QmPwZnneLrTIQOdAbg=="
}
},
"native,Version=v0.0/win-x64": {}
}
}
}
2 changes: 1 addition & 1 deletion UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SPDX-License-Identifier: GPL-3.0-only
<PropertyGroup>
<TargetFrameworks>$(MainTargetFramework)</TargetFrameworks>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IsAotCompatible>false</IsAotCompatible>
</PropertyGroup>

<ItemGroup>
Expand Down
26 changes: 0 additions & 26 deletions UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
"resolved": "5.12.0",
"contentHash": "dJuigXycpJNOiLT9or7mkHSkGFHgGW3/p6cNNYEKZBa7Hhp1FdX/cvqYWWYhRLpfoZOedeA7aRbYiOB3vW/dvA=="
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.4, )",
"resolved": "8.0.4",
"contentHash": "PZb5nfQ+U19nhnmnR9T1jw+LTmozhuG2eeuzuW5A7DqxD/UXW2ucjmNJqnqOuh8rdPzM3MQXoF8AfFCedJdCUw=="
},
"Microsoft.NET.Test.Sdk": {
"type": "Direct",
"requested": "[17.9.0, )",
Expand Down Expand Up @@ -532,26 +526,6 @@
"resolved": "2.0.0-beta4.22272.1",
"contentHash": "1uqED/q2H0kKoLJ4+hI2iPSBSEdTuhfCYADeJrAqERmiGQ2NNacYKRNEQ+gFbU4glgVyK8rxI+ZOe1onEtr/Pg=="
}
},
"net8.0-windows10.0.17763/win-x64": {
"System.Diagnostics.EventLog": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "fdYxcRjQqTTacKId/2IECojlDSFvp7LP5N78+0z/xH7v/Tuw5ZAxu23Y6PTCRinqyu2ePx+Gn1098NC6jM6d+A=="
},
"System.ServiceProcess.ServiceController": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "jtYVG3bpw2n/NvNnP2g/JLri0D4UtfusTvLeH6cZPNAEjJXJVGspS3wLgVvjNbm+wjaYkFgsXejMTocV1T5DIQ==",
"dependencies": {
"System.Diagnostics.EventLog": "8.0.0"
}
},
"System.Text.Encodings.Web": {
"type": "Transitive",
"resolved": "8.0.0",
"contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ=="
}
}
}
}
1 change: 0 additions & 1 deletion UsbIds/UsbIds.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ SPDX-License-Identifier: GPL-3.0-only

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<IsRoslynComponent>true</IsRoslynComponent>
</PropertyGroup>
Expand Down
3 changes: 1 addition & 2 deletions UsbIds/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
"System.Runtime.CompilerServices.Unsafe": "4.5.3"
}
}
},
".NETStandard,Version=v2.0/win-x64": {}
}
}
}
6 changes: 1 addition & 5 deletions Usbipd.Automation/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A=="
}
},
".NETStandard,Version=v2.0/win-x64": {},
".NETStandard,Version=v2.0/win-x86": {},
"net8.0-windows10.0.17763": {
"GitVersion.MsBuild": {
"type": "Direct",
Expand All @@ -38,8 +36,6 @@
"resolved": "8.0.4",
"contentHash": "PZb5nfQ+U19nhnmnR9T1jw+LTmozhuG2eeuzuW5A7DqxD/UXW2ucjmNJqnqOuh8rdPzM3MQXoF8AfFCedJdCUw=="
}
},
"net8.0-windows10.0.17763/win-x64": {},
"net8.0-windows10.0.17763/win-x86": {}
}
}
}
4 changes: 1 addition & 3 deletions Usbipd.PowerShell/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
"usbipd.automation": {
"type": "Project"
}
},
".NETStandard,Version=v2.0/win-x64": {},
".NETStandard,Version=v2.0/win-x86": {}
}
}
}
1 change: 0 additions & 1 deletion usbipd-win.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Directory.Packages.props = Directory.Packages.props
GitVersion.yml = GitVersion.yml
global.json = global.json
NetStandard.props = NetStandard.props
nuget.config = nuget.config
README.md = README.md
EndProjectSection
Expand Down

0 comments on commit 3e25f9d

Please sign in to comment.