migrate from perforce

This commit is contained in:
2026-04-19 01:14:37 +02:00
commit 20631b1547
361 changed files with 783413 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
#First some common params, delivered by the nuget package installer
param($installPath, $toolsPath, $package, $project)
Write-Host ("Bridge.NET is configuring " + $project.ProjectName)
# Remove all references of object
ForEach ($item in $project.Object.References)
{
if ($item.Identity.ToLower().StartsWith("system") -or $item.Identity.ToLower().StartsWith("microsoft"))
{
$name = $item.Identity
Try
{
$item.Remove()
Write-Host ("Removed Reference to " + $name)
}
Catch
{
Write-Host ("Failed to remove Reference to " + $name)
}
}
}
# Sets the NoStdLib setting to True for every project configuration.
$project.ConfigurationManager | ForEach-Object {
# Check for <NoStdLib>
$nostdlib_setting = $_.Properties.Item("NoStdLib")
if (-not $nostdlib_setting.Value)
{
$nostdlib_setting.Value = $true
}
# Check for AddAdditionalExplicitAssemblyReferences?
# Check for AdditionalExplicitAssemblyReferences?
}
Write-Host ("Bridge.NET installation was successful")