Forum: IronRuby Working on IronRuby visual studio tools

Posted by Orion Edwards (Guest)
on 2011-05-23 22:28
(Received via mailing list)
Re-post of this email as it accidentally was sent as a reply to someone
else's... Oops
-------------------------------------------------
I'm hoping to do some work to fix some of the bugs in IronRuby's visual
studio integration, but I'm having a few issues getting a dev 
environment
up and running.

- I can build IronStudio.sln from the Solutions folder, and my modified
version of the IronRuby tools loads in the visual studio experimental
instance and is fine.
- I can build the full IronRuby installer, and when I install it, my
modified version of IronRuby tools loads in the normal visual studio
instance.

But, I can't figure out how I can build a modified version of IronRuby
tools and run it in a normal instance without doing the full MSI release
build.
Simply building the tools and then launching a normal visual studio
instance produces this error message when I open any solution:

---------------------------
Microsoft Visual Studio
---------------------------
The 'Microsoft.IronRubyTools.IronRubyToolsPackage, IronRubyTools,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1' 
package
did not load correctly.



The problem may have been caused by a configuration change or by the
installation of another extension. You can get more information by 
running
the application together with the /log parameter on the command line, 
and
then examining the file
'C:\Users\orione\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.



Continue to show this error message?
---------------------------
Yes   No
---------------------------

If I click Yes, then the projects load, but this dialog reappears 
whenever
I launch VS or load any solutions. If I click no, VS disables the 
IronRuby
addin, and I have to run devenv /ResetSkipPkgs to put it back (and then
the error messages come back). The only way to "fix" the issue is to
uninstall/reinstall the IronRuby tools MSI itself.

Is there a way to get the non-experimental instance of visual studio to
load IronRuby tools without having to do a full build if the MSI in
release mode?

Thanks, Orion

###########################################################################
This e-mail is confidential and may contain information subject to legal
privilege.  If you are not the intended recipient please advise us of 
our
error by return e-mail then delete this e-mail and any attached files.
You may not copy, disclose or use the contents in any way.

The views expressed in this e-mail may not be those of Gallagher Group
Ltd or subsidiary companies thereof.
###########################################################################
Posted by James Schementi (jschementi)
on 2011-05-25 15:50
(Received via mailing list)
Orion, what can't you accomplish with the experimental hive which you 
think you can do by installing a non-MSI'd IronRuby tools?

The non-MSI installation is not supported as we use the GAC for 
resolving dependencies of "IronStudio" components between Ruby and 
Python. A non-MSI installation using VSIX has no dependency management, 
so things could break easily.

~Jimmy
Posted by Orion Edwards (Guest)
on 2011-05-25 22:04
(Received via mailing list)
The experimental instance works well for development.
After making a change to the VS tools I'd like to use it "in anger" in 
the
production instance working on real code, and rebuilding/reinstalling 
the
release MSI is just an extra step requiring more time.

If it's difficult to resolve or likely to cause issues then it's no big
deal, I was mainly just curious.

Is there a wiki page which explains this? I could add one?

Thanks, Orion



From:   Jimmy Schementi <jschementi@gmail.com>
To:     "ironruby-core@rubyforge.org" <ironruby-core@rubyforge.org>
Date:   26/05/2011 01:51 a.m.
Subject:        Re: [Ironruby-core] Working on IronRuby visual studio
tools
Sent by:        ironruby-core-bounces@rubyforge.org



Orion, what can't you accomplish with the experimental hive which you
think you can do by installing a non-MSI'd IronRuby tools?

The non-MSI installation is not supported as we use the GAC for 
resolving
dependencies of "IronStudio" components between Ruby and Python. A 
non-MSI
installation using VSIX has no dependency management, so things could
break easily.

~Jimmy


On May 23, 2011, at 4:28 PM, Orion Edwards <OrionE@gallagher.co.nz> 
wrote:

Re-post of this email as it accidentally was sent as a reply to someone
else's... Oops
-------------------------------------------------
I'm hoping to do some work to fix some of the bugs in IronRuby's visual
studio integration, but I'm having a few issues getting a dev 
environment
up and running.

- I can build IronStudio.sln from the Solutions folder, and my modified
version of the IronRuby tools loads in the visual studio experimental
instance and is fine.
- I can build the full IronRuby installer, and when I install it, my
modified version of IronRuby tools loads in the normal visual studio
instance.

But, I can't figure out how I can build a modified version of IronRuby
tools and run it in a normal instance without doing the full MSI release
build.
Simply building the tools and then launching a normal visual studio
instance produces this error message when I open any solution:

---------------------------
Microsoft Visual Studio
---------------------------
The 'Microsoft.IronRubyTools.IronRubyToolsPackage, IronRubyTools,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1' 
package
did not load correctly.



The problem may have been caused by a configuration change or by the
installation of another extension. You can get more information by 
running
the application together with the /log parameter on the command line, 
and
then examining the file
'C:\Users\orione\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.




Continue to show this error message?
---------------------------
Yes   No
---------------------------

If I click Yes, then the projects load, but this dialog reappears 
whenever
I launch VS or load any solutions. If I click no, VS disables the 
IronRuby
addin, and I have to run devenv /ResetSkipPkgs to put it back (and then
the error messages come back). The only way to "fix" the issue is to
uninstall/reinstall the IronRuby tools MSI itself.

Is there a way to get the non-experimental instance of visual studio to
load IronRuby tools without having to do a full build if the MSI in
release mode?

Thanks, Orion

This e-mail is confidential and may contain information subject to legal
privilege.  If you are not the intended recipient please advise us of 
our
error by return e-mail then delete this e-mail and any attached files. 
You
may not copy, disclose or use the contents in any way.
The views expressed in this e-mail may not be those of Gallagher Group 
Ltd
or subsidiary companies thereof.

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Posted by Tomas Matousek (Guest)
on 2011-05-25 22:19
(Received via mailing list)
If you need it for "in production" testing definitely use the MSI. 
That's the way how users will install it.

Tomas

From: ironruby-core-bounces@rubyforge.org 
[mailto:ironruby-core-bounces@rubyforge.org] On Behalf Of Orion Edwards
Sent: Wednesday, May 25, 2011 1:04 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Working on IronRuby visual studio tools

The experimental instance works well for development.
After making a change to the VS tools I'd like to use it "in anger" in 
the production instance working on real code, and 
rebuilding/reinstalling the release MSI is just an extra step requiring 
more time.

If it's difficult to resolve or likely to cause issues then it's no big 
deal, I was mainly just curious.

Is there a wiki page which explains this? I could add one?

Thanks, Orion



From:        Jimmy Schementi 
<jschementi@gmail.com<mailto:jschementi@gmail.com>>
To: 
"ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>" 
<ironruby-core@rubyforge.org<mailto:ironruby-core@rubyforge.org>>
Date:        26/05/2011 01:51 a.m.
Subject:        Re: [Ironruby-core] Working on IronRuby visual studio 
tools
Sent by: 
ironruby-core-bounces@rubyforge.org<mailto:ironruby-core-bounces@rubyforge.org>
________________________________



Orion, what can't you accomplish with the experimental hive which you 
think you can do by installing a non-MSI'd IronRuby tools?

The non-MSI installation is not supported as we use the GAC for 
resolving dependencies of "IronStudio" components between Ruby and 
Python. A non-MSI installation using VSIX has no dependency management, 
so things could break easily.

~Jimmy


On May 23, 2011, at 4:28 PM, Orion Edwards 
<OrionE@gallagher.co.nz<mailto:OrionE@gallagher.co.nz>> wrote:

Re-post of this email as it accidentally was sent as a reply to someone 
else's... Oops
-------------------------------------------------
I'm hoping to do some work to fix some of the bugs in IronRuby's visual 
studio integration, but I'm having a few issues getting a dev 
environment up and running.

- I can build IronStudio.sln from the Solutions folder, and my modified 
version of the IronRuby tools loads in the visual studio experimental 
instance and is fine.
- I can build the full IronRuby installer, and when I install it, my 
modified version of IronRuby tools loads in the normal visual studio 
instance.

But, I can't figure out how I can build a modified version of IronRuby 
tools and run it in a normal instance without doing the full MSI release 
build.
Simply building the tools and then launching a normal visual studio 
instance produces this error message when I open any solution:

---------------------------
Microsoft Visual Studio
---------------------------
The 'Microsoft.IronRubyTools.IronRubyToolsPackage, IronRubyTools, 
Version=1.0.0.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1' 
package did not load correctly.



The problem may have been caused by a configuration change or by the 
installation of another extension. You can get more information by 
running the application together with the /log parameter on the command 
line, and then examining the file 
'C:\Users\orione\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.



Continue to show this error message?
---------------------------
Yes   No
---------------------------

If I click Yes, then the projects load, but this dialog reappears 
whenever I launch VS or load any solutions. If I click no, VS disables 
the IronRuby addin, and I have to run devenv /ResetSkipPkgs to put it 
back (and then the error messages come back). The only way to "fix" the 
issue is to uninstall/reinstall the IronRuby tools MSI itself.

Is there a way to get the non-experimental instance of visual studio to 
load IronRuby tools without having to do a full build if the MSI in 
release mode?

Thanks, Orion
________________________________

This e-mail is confidential and may contain information subject to legal 
privilege.  If you are not the intended recipient please advise us of 
our error by return e-mail then delete this e-mail and any attached 
files.  You may not copy, disclose or use the contents in any way.

The views expressed in this e-mail may not be those of Gallagher Group 
Ltd or subsidiary companies thereof.

________________________________
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.