-
Notifications
You must be signed in to change notification settings - Fork 36
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
Unable to cast object of type 'Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBag' to type 'Ankh.Scc.Native.ICOMPropertyBag' #44
Comments
Interesting issue. Looks like the code in vs was converted to managed without proper com compatibility... We need a fix there. |
Thanks for the very fast fix. |
If you click on Actions in the project and look at the last successful build, you should see artifacts that you can download... These are vsix packages that can be installed in VS |
I just encountered this issue after installing VS 2022 17.2, so I've installed the last successful build and restarted without encountering the issue again. PS are you planning to publish to Marketplace? |
Still an issue in 17.4.3 |
@andrew-tyas-idox |
Yes, that resolves it. I had installed the latest Release version instead, |
TIP: You have to sign up to GitHub and be logged in otherwise the build Artifacts are not downloadable. |
@re14nz |
@ChumaniCodeRR |
There are no successful builds where the artifacts are not expired |
@JesperOlsen Here a version I downloaded some time ago, give it a try: |
Yes, I couldn't find any that worked. In the end I just downloaded the code a built the solution, and picked the Ankh.Package.vsix out of src\Ankh.Package\bin. That was quicker than looking for a build and solved the problem perfectly. |
@vman2000 |
Honestly, whilst I appreciate you are trying to help and I'm sure its okay, a "here's a version I downloaded some time ago" zip with no version/build info from some guy I dont know on a two year old comment didn't fill me with the same confidence as a quick download and build of the current source. Its only one extra click to build the latest commit from a known legit source. |
@vman2000 |
Edit:
Since the build artifacts are expired, here a version I downloaded some time ago
Ankh-VSIX-2022.zip
This version should fix the below mentioned issue.
Version of the provided file:
2.9.120.0
2.9.120-d119c2b3ac9e09a09631eb7801f7450ce5d41c3b
Here a screenshot of the content, after I renamed the containing *.vsix file to *.zip and extraced its content:
Upon opening one of many solutions I am getting this error.
The error happens everytime I open this one solution, other solutions can be opened without an error.
Except the annoyance of closing the message box everytime I open the solution, I don't see any other issues.
Everything seems to work eg. commiting/updating and everything else ankh has to offer, just this error message upon opening the solution, nothing more nothing less.
The text was updated successfully, but these errors were encountered: