-
Notifications
You must be signed in to change notification settings - Fork 110
Exception details: System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window #4302
Comments
Hello BrazilForever11 I have found a fix that worked for my install - run the visual studio installer (vs_Community.exe) and agree to it installing an update - bringing the VS Community 2017 (2) to build 15.6.5. Secret patch sauce perhaps? Hopefully it'll work for you too! |
Thank you, Damon! It worked! You can claim bounty on Stackoverflow. How did you come across this solution? |
This is VS setup issue/corrupted cmponent cache. You can try and locate VS data folder, usually |
Hi @MikhailArkhipov I still has this issue although I removed My VS information
Log
|
Here I attach
|
WHY WAS THIS CLOSED? This is NOT fixed. |
@RobertGru - did you try this? This is VS setup issue/corrupted cmponent cache. You can try and locate VS data folder, usually Users[USER_NAME]\AppData\Local\Microsoft\Visual Studio and delete all 15.0_* folders. Then start VS, it will rebuld its cache. thx. |
@smortaz I'm still having this issue even I removed |
Sorry about that, we'll look into & respond shortly.
…On Fri, May 4, 2018 at 10:23 PM, YoungjaeKim ***@***.***> wrote:
@smortaz <https://github.com/smortaz> I'm still having this issue even I
removed 15.0_* folder. You can check my VS info at above comments.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4302 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAtUVLNhYuLIaaBQrZZq_39DBlChQaJPks5tvTdegaJpZM4S_X4n>
.
|
Yes, removed all 15.0 folders, and still getting that after restart. I can get the interactive console by opening Visual Studio in a different mode, then opening an .R file, but will not open in R mode without that error. |
Problem persists in VS17 Community 15.7.1 (R Tools 1.3.40402.1027) with following error message: Construction of frame content failed. Frame identifier: ST:0:0:{c2582843-58c9-4fe7-b4bd-864c17ad7ce2} Frame caption: R Interactive - Microsoft R Open (3.4.4.0) Exception details: System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2 Parameter name: toolWindowType at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName) at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType) at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() Removing component cache described above did not help. Task manager reported that R.exe binary is not invoked somehow. Product info as follows: Microsoft Visual Studio Community 2017 Installed Version: Community Visual C++ 2017 00369-60000-00001-AA275 C# Tools 2.8.0-beta6-62830-08. Commit Hash: e595ee276d14e14bfb3eb323fb57f2aa668bddea GitHub.VisualStudio 2.5.1.2234 JavaScript Language Service 2.0 Microsoft JVM Debugger 1.0 Microsoft MI-Based Debugger 1.0 Microsoft Visual C++ Wizards 1.0 Microsoft Visual Studio VC Package 1.0 ProjectServicesPackage Extension 1.0 Python 15.7.18116.1 Python - IronPython support 15.7.18116.1 Python - Profiling support 15.7.18116.1 R Tools for Visual Studio 1.3.40402.1027 Visual Basic Tools 2.8.0-beta6-62830-08. Commit Hash: e595ee276d14e14bfb3eb323fb57f2aa668bddea Visual C++ for Linux Development 1.0.9 Visual Studio Code Debug Adapter Host Package 1.0 Windows Machine Learning Generator Extension 1.0 |
Just letting all know we found the problem and we will try and get the fix into the nearest VS update. |
Two step solution: Delete all 15.0_* folders. Then run (if you have it installed) Visual Studio 2015, wait for cache rebuild, close it. Open VS 2017 and R tools will work :-) |
Not sure how rebuilding 2015 cache would repair 2017 as they are isolated... Repair of VS 2015 theoretically can affect 2017 if it installs something globally. |
This problem disappeared in the recent 15.7.3 update. |
I confirmed that this issue is resolved. thanks! 👍 |
@MikhailArkhipov doing what you suggest would reset VS back to it's original state when installed, not just force it to rebuild its extension cache! Everything is lost, all changed settings, all installed extensions (which then have to be reinstalled one-by-one), all window positions etc. Instead find the Of course for VS 2019, it'd be your |
I just installed MS Visual Studio 2017 (community edition) with R tool (on Win 7 enterprise).
It seems to be working fine ( I can create variables and plot), but 'R interactive' window shows:
Here is log file: https://www.dropbox.com/s/frpncfjzl1gwqpy/ActivityLog.xml?dl=0
Sorry I cross posted on stackoverflow.com
The text was updated successfully, but these errors were encountered: