Skip to content

Commit

Permalink
Merge branch 'model-settings'
Browse files Browse the repository at this point in the history
  • Loading branch information
shashisadasivan committed Aug 29, 2019
2 parents 2aa4929 + a7241c0 commit 6715f1e
Show file tree
Hide file tree
Showing 53 changed files with 94,177 additions and 354 deletions.
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
#Copy all the DLL's in the containing directory to the visual studio extension manager folder

$RegistryLocation = "HKCU:\SOFTWARE\Microsoft\VisualStudio\14.0\ExtensionManager\EnabledExtensions\"
$ExtensionDir = ""
$AddinExtensionDir = ""

#Find the Extension Folder
Push-Location
Set-Location -Path $RegistryLocation
Get-Item . | Select-Object -ExpandProperty property | ForEach-Object {

if($_ -like "DynamicsRainier*") {
$ExtensionDir = (Get-ItemProperty -Path . -Name $_).$_
#New-Object psobject -Property @{“property”=$_;
#“Value” = (Get-ItemProperty -Path . -Name $_).$_}
}

Pop-Location
}

#Write-Output $ExtensionDir

If($ExtensionDir.Length -gt 0) {
$AddinExtensionDir = "$ExtensionDir\AddinExtensions"
#Write-Output $AddinExtensionDir
Get-ChildItem -Path ".\*.dll" | ForEach-Object {
#Unblock the Dll's (they get blocked when downloaded)
Unblock-File $_.Name
#Copy the DLL's in the given directory
$fileName = $_.Name
Copy-Item -Path $_.Name -Destination "$AddinExtensionDir\$fileName"
Write-Output "Copied file: $fileName"
}
} else {
Write-Output "Could not find extension folder"
#Copy all the DLL's in the containing directory to the visual studio extension manager folder

$RegistryLocation = "HKCU:\SOFTWARE\Microsoft\VisualStudio\14.0\ExtensionManager\EnabledExtensions\"
$ExtensionDir = ""
$AddinExtensionDir = ""

#Find the Extension Folder
Push-Location
Set-Location -Path $RegistryLocation
Get-Item . | Select-Object -ExpandProperty property | ForEach-Object {

if($_ -like "DynamicsRainier*") {
$ExtensionDir = (Get-ItemProperty -Path . -Name $_).$_
#New-Object psobject -Property @{“property”=$_;
#“Value” = (Get-ItemProperty -Path . -Name $_).$_}
}

Pop-Location
}

#Write-Output $ExtensionDir

If($ExtensionDir.Length -gt 0) {
$AddinExtensionDir = "$ExtensionDir\AddinExtensions"
#Write-Output $AddinExtensionDir
Get-ChildItem -Path ".\*.dll" | ForEach-Object {
#Unblock the Dll's (they get blocked when downloaded)
Unblock-File $_.Name
#Copy the DLL's in the given directory
$fileName = $_.Name
Copy-Item -Path $_.Name -Destination "$AddinExtensionDir\$fileName"
Write-Output "Copied file: $fileName"
}
} else {
Write-Output "Could not find extension folder"
}
File renamed without changes.
Binary file added OutputDlls/Newtonsoft.Json.dll
Binary file not shown.
Binary file modified OutputDlls/SSD365VSAddIn.dll
Binary file not shown.
Binary file modified SSD365VSAddIn/.vs/SSD365VSAddIn/v14/.suo
Binary file not shown.
Loading

0 comments on commit 6715f1e

Please sign in to comment.