Comments (8)
Hmm. I am not super familiar with the build process so I am not sure why that would be happening.
To get the DLLs the names are found in the ci/NuGetDependencies.json
file. Simply search for them on Nuget. EG, Google.Apis.Core
I am not certain but I think it should be as simple as replacing the DLLs in the already installed module directory. eg, C:\Program Files\WindowsPowerShell\Modules\PSGSuite\2.36.4\lib\net45
from psgsuite.
I just had a quick look at this. All that is required is to update to the latest DLLs for the Directory API.
I have compiled the module myself incorporating some of the other changes that I have made. This version has the updated DLLs and contains the lastKnownNetwork property.
From what I can tell the build process (build.ps1 in the root) automatically downloads the latest versions of the DLLs. So you could try building it yourself. Otherwise, I assume that the DLLs will be updated with the next release.
from psgsuite.
Do you mind sharing how you got those dlls? I'm pretty desperate and I'll give it a shot myself.
Thanks!
from psgsuite.
The DLLs can be downloaded via Nuget.
I have found the easiest way is to build the module yourself by downloading the source from the Github repo. Then run the build.ps1 file.
When I built it the first time it prompted to install the required modules for the build process but I still ran into some errors. From memory I needed to install Git and then it worked fine.
From what I understand the build process will download the latest versions of the Google DLLs and the specified versions of the Newtonsoft.json.dll. To get the updated version of that one simply modify the ci/NuGetDependencies.json
file and increase the version number from 12.0.1
to 13.0.1
. I know that 13.0.1 works as I used it here.
from psgsuite.
------ UPDATE-----
I seem to have fixed this by renaming the folder it downloaded from PSGSuite to PSGSuite-main.
So I'm trying to follow the directions located at https://psgsuite.io/Initial%20Setup/ I downloaded git and installed it on my windows 10 box. I copy and paste the commands and I get this error:
Error: 10/31/2022 9:28:47 AM:
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1:544 char:35 + foreach($resolvedPath in (Resolve-Path @PSBoundParameters)) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Cannot find path 'C:\users\schmittg\Downloads\PSGSuite-main\PSGSuite-main\PSGSuite\PSGSuite.psd1' because it does not exist.
Any ideas? Or can you share with me the link to the DLL's from google and I can just download it directly?
Thanks so much!
------ UPDATE-----
I seem to have fixed this by renaming the folder it downloaded from PSGSuite to PSGSuite-main.
from psgsuite.
So now I am getting this issue:
Error: 10/31/2022 9:51:31 AM:
At C:\users\schmittg\Downloads\PSGSuite-main\BuildOutput\PSGSuite\2.36.6\PSGSuite.psm1:29380 char:1 + Import-GoogleSDK + ~~~~~~~~~~~~~~~~ [<<==>>] Exception: Google.Apis.Core.dll: Unable to load assembly!
And now I'm really stumped.
from psgsuite.
So I finally got it working, what a project.... I had to get the files from NuGet and replace them manually. Here's the steps I took:
- Install git for windows from https://gitforwindows.org/ version 2.38.1 64bit with all preselected options from installer
- Open powershell as admin
- Install-Module Configuration
- Clone repo to my computer: git clone https://github.com/scrthq/PSGSuite.git
- Rename folder from PSGSuite to PSGSuite-main
- Execute .\build.ps1 -Task Full
- Close powershell
- Go to NuGet Package Explorer (WASM) and download /lib/net45/Newtonsoft.Json.dll and place it in \builoutput\PSGSuite\2.36.6\lib\net45
- Open Powershell as admin
- Import-Module ./BuildOutput/PSGSuite -Force
Thank you for all the help @Foggy2
from psgsuite.
So I finally got it working, what a project.... I had to get the files from NuGet and replace them manually. Here's the steps I took:
- Install git for windows from https://gitforwindows.org/ version 2.38.1 64bit with all preselected options from installer
- Open powershell as admin
- Install-Module Configuration
- Clone repo to my computer: git clone https://github.com/scrthq/PSGSuite.git
- Rename folder from PSGSuite to PSGSuite-main
- Execute .\build.ps1 -Task Full
- Close powershell
- Go to NuGet Package Explorer (WASM) and download /lib/net45/Newtonsoft.Json.dll and place it in \builoutput\PSGSuite\2.36.6\lib\net45
- Open Powershell as admin
- Import-Module ./BuildOutput/PSGSuite -Force
Thank you for all the help @Foggy2
For step 8, if you download the Newtonsoft.Json.dll from the internet you may also need to right click the file, select properties, and check "Unblock" and apply. The module would not import until I did this.
from psgsuite.
Related Issues (20)
- You don't have sufficient permissions to use the requested API HOT 1
- Additional Reports Since Last Edited HOT 1
- Send-GmailMessage: Special characters not displayed as expected in HTML Body HOT 1
- Inconsistent Get-GSUser "IsEnrolledIn2Sv" field results when multiple users are returned HOT 1
- Update-GSChromeOSDevice - Wipe devices User Profile Only HOT 6
- PowerShell Constrained Language mode HOT 1
- Setup Guide Unclear / Not up to Date HOT 5
- Dynamically Generating Functions for Slide/Doc/Sheet updates
- Create Documents and Presentations
- 2.37.0 release is too big for Azure Automation
- Add option to enable conversation history HOT 1
- Licensing Data out of date HOT 4
- Still being developed?
- Get-GSGmailSignature ... Update-GSGmailSignature HOT 1
- Update-GSUser support for unarchiving HOT 2
- Update-GSUserSecuritySettings -User User -AllowLessSecureApps -$True
- Set group labels via CloudIdentity API
- I am getting error in gsuite assement
- Initial Setup Instructions Need Updating (Here's what worked for me) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psgsuite.