-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlSetup: Connect-SQLAnalysis no longer using LoadWithPartialName() #1150
Conversation
Wasn't so easy as I thought, have to get back to this at another time. Failing on this when using SQLPS module:
|
Codecov Report
@@ Coverage Diff @@
## dev #1150 +/- ##
=====================================
+ Coverage 98% 98% +<1%
=====================================
Files 36 36
Lines 4830 4840 +10
=====================================
+ Hits 4756 4766 +10
Misses 74 74 |
Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again. |
8e26d72
to
86e076f
Compare
Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again. |
86e076f
to
7e74046
Compare
Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again. |
7e74046
to
49e13d9
Compare
So the problem with removing |
2f0f2d1
to
d277b97
Compare
I going in the direction of require the SqlServer module for working with Analysis Services, unless someone know another way of loading the types (without using |
Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again. |
The resource PSModule has been released in the latest PowerShellGet module. So now we can move forward with this PR I think. But this will be a breaking change, as it no longer will support the SQLPS module, but only the SqlServer module. Because the SqlServer module correctly loads the correct assemblies needed to not have to do |
- Now the correct assembly should load when using the helper function Connect-SQLAnalysis. Previously is was using LoadWithPartialName() which meant that it would load the first assembly in GAC, regardless of which PowerShell module was used (SQLPS or SqlSever).
d277b97
to
48999d3
Compare
Added this new functionality under a feature flag; 'AnalysisServicesConnection'. This makes it to be a non-breaking change this release. In a future release we can make this the default. |
Closing a reopening to kick off the tests. |
Closing this PR due to inactivity. If there are someone who wants to work on this issue or PR please open a new PR. |
Pull Request (PR) description
Connect-SQLAnalysis. Previously is was using LoadWithPartialName() which
meant that it would load the first assembly in GAC, regardless of which
PowerShell module was used (SQLPS or SqlSever).
This Pull Request (PR) fixes the following issues
Maybe helps with issue #812.
Task list
should say what was changed, and how that affects users (if applicable).
and comment-based help?
See DSC Resource Testing Guidelines.
See DSC Resource Testing Guidelines.
DSC Resource Style Guidelines
and Best Practices?
This change is