Hi Jason,
I think this may be of interest to NUnit and NAnt users. I've taken the
liberty of forwarding it...
> I downloaded the Managed Add-Ins and installed it and tried to
> take a look at the Reflector application, but after it requests
> info (name, email, company, etc) and you hit download...it spins,
> but then re-prompts for the same info. I never got the Reflector
> app to come up...is the server down where you get the bits?
>
It looks like Lutz has changed the Reflector version number. I expect
it was down for a bit while he uploaded the new version. It should come
up with and error message in the output window. You now have 3
options...
1) You can do your own build of the Reflector Add-In. You'll find a
'Reflector Add-In Source' item on your 'All Programs' menu. Just
recompile this, right click on the project and 'Managed Add-In..' away.
Before doing this try the download once again. You will need the
Reflector.dll it downloads to compile with.
2) You can edit the follwing file.. \Program
Files\ManagedAddIns\AddIns\ReflectorAddIn\Reflector.VSAddIn.exe.config
Uncomment the section that looks like this...
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Reflector"
publicKeyToken="18ca6bb8dd6a03c3"
culture="neutral" />
<bindingRedirect
oldVersion="0.0.0.0-65535.65535.65535.65535"
newVersion="3.2.5.0"/>
</dependentAssembly>
</assemblyBinding>
Change newVersion to the new version number (probably 3.3.0.0). Then
try launching it again.
3) You can wait for me to madly rush out a new build! This is such bad
timing!! =oO
> I then tried it by adding NAntPad from http://www.nantpad.com and
> it worked very well.
>
I hadn't come across that. It looks sweet! I hope you can right click
on and run individual targets. Can't wait to try...
> Maybe you could add NAntPad to your gallery.
>
Hopefully the author will send me some screen shots of it running as an
add-in. Any chance? ;)
> I also tried it with nunit-gui.exe, but got a execution permission
> error when trying to load a test assembly.
>
Okay, here's the trick. Download the NUnit source. Look for the bit
where a new test AppDomain is being created. You will see it uses the
evidence from the current AppDomain to create the child. Here is the
problem! VS.NET add-ins for some reason don't have the permissions to
specify the evidence of a child app domain. Luckily if you pass null
instead it has exactly the same affect (i.e. uses the parent
permissions)! Tweak this and you can run NUnit Gui as an add-in!
> Are you looking to put the whole nunit-gui.exe into this? It looked
> good being a part of VS.NET.
>
Hopefully Charlie Poole and the NUnit team will pick this one up. My
plan is to put NUnit Add-In inside reflector! Imagine ad-hoc tests on
the inner bowels of mscorlib... ;)
> Kudos...it looks very good and you got my vote.
>
Thank you! I think I've got quite a fight on my hands. I had hoped
this competition would get Managed Add-Ins off to a good start...
Thanks, Jamie.
---
You can find the Managed Add-Ins framework and Reflector Add-In + Source
here...
http://www.managedaddins.net
Here are a few examples of other applications running as add-ins...
http://www.managedaddins.net/gallery/
(if you have any good ideas please send links and screen grabs)
Vote for the best Visual Studio .NET add-in ;o)
http://www.codeproject.com/script/survey/survey.asp?survey=297
(my entry is under Building the Reflector Add-In - turboslug)
-----Original Message-----
From: Morris, Jason [mailto:[EMAIL PROTECTED]
Sent: 18 July 2003 01:58
To: Jamie Cansdale
Cc: [EMAIL PROTECTED]
Jamie,
I downloaded the Managed Add-Ins and installed it and tried to take a
look at the Reflector application, but after it requests info (name,
email, company, etc) and you hit download...it spins, but then
re-prompts for the same info. I never got the Reflector app to come
up...is the server down where you get the bits?
I then tried it by adding NAntPad from http://www.nantpad.com and it
worked very well. I have copied NAntPad's developer on this email just
to let him know about Managed Add-Ins and what it can do for his
application. Maybe you could add NAntPad to your gallery.
I also tried it with nunit-gui.exe, but got a execution permission error
when trying to load a test assembly. I had great hopes that I could now
see the green bar instead of just text. :( Are you looking to put the
whole nunit-gui.exe into this? It looked good being a part of VS.NET.
Kudos...it looks very good and you got my vote.
Thanks,
Jason
-----Original Message-----
From: Jamie Cansdale [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 4:49 AM
To: [EMAIL PROTECTED]
Subject: [Nunitaddin-developers] Managed Add-Ins / Code Project
Competition
Hi folks,
I'm afraid it has been rather quiet around here recently. The reason is
because I have been working on a new framework on which to build NUnit
Add-In. Developing the current version had become too slow and painful.
I was tried of having to reinstall the add-in and launch a new instance
of Visual Studio.NET to test every minor chance. I was also sick of
having to keep developing with VS.NET 2002 just to maintain backward
compatibility. For my other projects I have been using VS.NET 2003 and
I much prefer it.
The framework will allow us to develop using a single instance of Visual
Studio.NET (for developing on and testing). It will also allow us to
migrate over to VS.NET 2003 and maintain compatibility with 2002. The
compile test cycle will be vastly improved (going from minutes to
seconds!). It will also open up the possibility of a rich user
interface using tool windows.
I have been using Lutz Roeder's .NET Reflector application to test the
framework. I didn't want it to become too coupled to the needs of NUnit
AddIn. In fact the new framework is flexible enough to run pretty much
any Windows Forms application as an add-in! You can turn your existing
applications into add-ins with a single click! Just right click on the
project and select 'Managed Add-In..'.
At the moment there isn't a Managed Add-Ins version of NUnit Add-In
(expect something in the next few weeks). I'm planning to integrate
right click testing right into the hart of Reflector. Imagine being
able to right click on any method (including private methods you don't
have the source for!), being asked for the parameters and having any
returned objects displayed. This would really allow us to poke about in
the guts of the .NET framework!
I have entered the Managed Add-Ins framework and an article about how I
made Reflector into an add-in for the Code Project's VS.NET Add-Ins
competition. I think this framework is going to bring relief to the
once painful process of writing add-ins. As a vote of confidence in the
future of NUnit Add-In your support would be greatly appreciated. At
the moment I'm loosing the competition by 17 votes. If you have any
colleges you think may be interested please let them know! ;o)
You can find the Managed Add-Ins framework and Reflector Add-In + Source
here...
http://www.managedaddins.net <http://www.managedaddins.net/>
Here are a few examples of other applications running as add-ins...
http://www.managedaddins.net/gallery/
(if you have any good ideas please send links and screen grabs)
Vote for the best Visual Studio .NET add-in ;o)
http://www.codeproject.com/script/survey/survey.asp?survey=297
(my entry is under the name turboslug)
Thanks! Jamie.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nunitaddin-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nunitaddin-developers
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers