diff --git a/MTC_Adapter/SCMA/App.config b/MTC_Adapter/SCMA/App.config index aec85fe..b396a5e 100644 --- a/MTC_Adapter/SCMA/App.config +++ b/MTC_Adapter/SCMA/App.config @@ -1,34 +1,41 @@  - + - + - - - - + + + + - - - - - - - + + + + + + + + + + + + + + - + - + - + - + - + - - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - + - + - - - - + + + + - + - + - - - - - + + + + + - + - + - + - + - + - + + - + \ No newline at end of file diff --git a/MTC_Adapter/SCMA/packages.config b/MTC_Adapter/SCMA/packages.config index 87aa9c7..86777d2 100644 --- a/MTC_Adapter/SCMA/packages.config +++ b/MTC_Adapter/SCMA/packages.config @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.Config b/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.Config deleted file mode 100644 index 694ba68..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.Config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.targets b/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.targets deleted file mode 100644 index 6440ee8..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/NuGet.targets +++ /dev/null @@ -1,139 +0,0 @@ - - - - $(MSBuildProjectDirectory)\..\ - - - false - - - false - - - true - - - false - - - - - - - - - - - - - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - $([System.IO.Path]::Combine($(ProjectDir), "packages.config")) - - - - - $(SolutionDir).nuget - packages.config - - - - - $(NuGetToolsPath)\NuGet.exe - @(PackageSource) - - "$(NuGetExePath)" - mono --runtime=v4.0.30319 $(NuGetExePath) - - $(TargetDir.Trim('\\')) - - -RequireConsent - -NonInteractive - - "$(SolutionDir) " - "$(SolutionDir)" - - - $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) - $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - - - - RestorePackages; - $(BuildDependsOn); - - - - - $(BuildDependsOn); - BuildPackage; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/PrettyBin.1.0.4.nupkg b/MTC_Adapter/packages/PrettyBin.1.0.4/PrettyBin.1.0.4.nupkg deleted file mode 100644 index 1e47807..0000000 Binary files a/MTC_Adapter/packages/PrettyBin.1.0.4/PrettyBin.1.0.4.nupkg and /dev/null differ diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/README.md b/MTC_Adapter/packages/PrettyBin.1.0.4/README.md deleted file mode 100644 index d043d75..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/README.md +++ /dev/null @@ -1,4 +0,0 @@ -PrettyBin -========= - -Nuget package for C#, that moves dll,pdb and xml in bin/lib subfolder and ensures, that everything works. diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/content/App.config.install.xdt b/MTC_Adapter/packages/PrettyBin.1.0.4/content/App.config.install.xdt deleted file mode 100644 index 840f6db..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/content/App.config.install.xdt +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/makePackage.bat b/MTC_Adapter/packages/PrettyBin.1.0.4/makePackage.bat deleted file mode 100644 index 703225d..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/makePackage.bat +++ /dev/null @@ -1,2 +0,0 @@ -del PrettyBin.*.*.*.nupkg -nuget.exe pack PrettyBin.nuspec \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/init.ps1 b/MTC_Adapter/packages/PrettyBin.1.0.4/tools/init.ps1 deleted file mode 100644 index 38d8c11..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/init.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -Write-Host 'Init BinPrettify' \ No newline at end of file diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/install.ps1 b/MTC_Adapter/packages/PrettyBin.1.0.4/tools/install.ps1 deleted file mode 100644 index d3f2a85..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/install.ps1 +++ /dev/null @@ -1,78 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - - -Try -{ - $path = $project.FullName - Write-Host 'Install PrettifyBin; ' - [xml]$doc = [xml](Get-Content $path) - - - # If a Namespace URI was not given, use the Xml document's default namespace. - $NamespaceURI = $doc.DocumentElement.NamespaceURI - Write-Host $NamespaceURI - # In order for SelectSingleNode() to actually work, we need to use the fully qualified node path along with an Xml Namespace Manager, so set them up. - $xmlNsManager = New-Object System.Xml.XmlNamespaceManager($doc.NameTable) - $xmlNsManager.AddNamespace("ns", $NamespaceURI) - - - # ============ This script attemps to Create this tags in csproj: ======== - # - # - # - # - # - # - # - - - - - $targetNode = $doc.SelectSingleNode("//ns:Project/ns:Target[@Name='AfterBuild']", $xmlNsManager) - - if ($targetNode -eq $null) - { - Write-Host 'No Target AfterBuild Node. Creating' - $targetNode = $doc.CreateElement('Target', $NamespaceURI ) - $targetNode.SetAttribute("Name" ,"AfterBuild") - $doc.Project.AppendChild($targetNode) - } - - - $filesToMoveNode = $targetNode.SelectSingleNode("//ns:ItemGroup/ns:MoveToLibFolder", $xmlNsManager) - - if ($filesToMoveNode -eq $null) - { - Write-Host 'No ItemGroup whith MoveToLibFolder tag. Creating' - $itemGroup = $doc.CreateElement('ItemGroup', $NamespaceURI) - $filesToMoveNode = $doc.CreateElement('MoveToLibFolder', $NamespaceURI) - - $itemGroup.AppendChild($filesToMoveNode) - $targetNode.AppendChild($itemGroup) - } - - $filesToMoveNode.SetAttribute("Include" ,'$(OutputPath)*.dll ; $(OutputPath)*.pdb ; $(OutputPath)*.xml') - - - $MoveNode = $targetNode.SelectSingleNode('//ns:Move[contains(@SourceFiles,"@(MoveToLibFolder)")]', $xmlNsManager) - if ($MoveNode -eq $null) - { - Write-Host 'No Move tag in AfterBuild Target. Creating' - $MoveNode = $doc.CreateElement('Move', $NamespaceURI) - $MoveNode.SetAttribute("SourceFiles" ,'@(MoveToLibFolder)') - $targetNode.AppendChild($MoveNode) - } - $MoveNode.SetAttribute("DestinationFolder",'$(OutputPath)lib') - $MoveNode.SetAttribute("OverwriteReadOnlyFiles","true") - - $doc.Save($path) -} -Catch -{ - $ErrorMessage = $_.Exception.Message - $FailedItem = $_.Exception.ItemName - Write-Host $ErrorMessage - Write-Host $FailedItem - Break -} - diff --git a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/uninstall.ps1 b/MTC_Adapter/packages/PrettyBin.1.0.4/tools/uninstall.ps1 deleted file mode 100644 index a2b6844..0000000 --- a/MTC_Adapter/packages/PrettyBin.1.0.4/tools/uninstall.ps1 +++ /dev/null @@ -1,45 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - - -Try -{ - $path = $project.FullName - Write-Host 'Uninstall PrettifyBin; ' - [ xml ]$doc = [ xml ](Get-Content $path) - - - # If a Namespace URI was not given, use the Xml document's default namespace. - $NamespaceURI = $doc.DocumentElement.NamespaceURI - Write-Host $NamespaceURI - # In order for SelectSingleNode() to actually work, we need to use the fully qualified node path along with an Xml Namespace Manager, so set them up. - $xmlNsManager = New-Object System.Xml.XmlNamespaceManager($doc.NameTable) - $xmlNsManager.AddNamespace("ns", $NamespaceURI) - - - # ============ This script attemps to remove this tags in csproj: ======== - # - # - # - # - - - $moveNode = $doc.SelectSingleNode("//ns:Project/ns:Target[@Name='AfterBuild']/ns:Move[contains(@SourceFiles,'@(MoveToLibFolder)')]", $xmlNsManager) - - if ($moveNode -ne $null) - { - Write-Host 'We will delete move node' - $moveNode.ParentNode.RemoveChild($moveNode) - } - - - $doc.Save($path) -} -Catch -{ - $ErrorMessage = $_.Exception.Message - $FailedItem = $_.Exception.ItemName - Write-Host $ErrorMessage - Write-Host $FailedItem - Break -} -