[Ironpython-users] Unable to load assembly 'Microsoft�€

Alex Earl slide.o.mix at gmail.com
Tue May 29 20:39:25 CEST 2012


 =?utf-8?Q?=8B.VisualStu=E2=80=8Bdio.TestTo=E2=80=8Bols.UITest=E2=80=8Bing?=

 =?utf-8?Q?'_in_Python?=
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1122901385=="

--===============1122901385==
Content-Type: multipart/alternative;
	boundary="_000_54452F9818FBEE498D2A1EDA8425A68D0C5256F3B6TBXCH06SSVVbb_"

--_000_54452F9818FBEE498D2A1EDA8425A68D0C5256F3B6TBXCH06SSVVbb_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Unless it's in the GAC you probably need to use the method that takes a
full path.

Sent from my Windows Phone
From: Furqan Malik1E07
Sent: 5/29/2012 11:34 AM
To: ironpython-users at python.org
Subject: [Ironpython-users] Unable to load assembly 'Microsoft=E2=80=8B.Vis=
ualStu
dio.TestTo=E2=80=8Bols.UITest=E2=80=8Bing' in Python
I have automated my whole framework in Ironpython and it's working pretty g=
ood and stable.

Recently, my company has implemented Drag and Drop functionality to automat=
e.

I found one Dll( 'Microsoft.VisualStudio.TestTools.UITesting.dll') which ha=
s class mouse and that class has method called mouse.startdragging() and mo=
use.stopdragging().

But unfortunately, I am unable to add the reference of this Dll. I am getti=
ng following error

" clr.AddReference("Microsoft.VisualStudio.TestTools.UITesting") System.IO.=
FileNotFoundException: Unable to find assembly 'Microsoft.VisualStudio.Test=
Tools.UITesting'. at Python.Runtime.CLRModule.AddReference(String name) in =
C:\Users\Barton\Documents\Visual Studio 2008\Projects\PySharp\trunk\pythonn=
et\src\runtime\moduleobject.cs:line 375 "

I would truly appreciate if anyone can help me, I am middle of my project

--_000_54452F9818FBEE498D2A1EDA8425A68D0C5256F3B6TBXCH06SSVVbb_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head><meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Cont=
ent-Type"></head><body><div><div style=3D"font-family: Calibri,sans-serif; =
font-size: 11pt;">Unless it's in the GAC you probably need to use the metho=
d that takes a full path.<br><br>Sent from my Windows Phone<br></div></div>=
<hr><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt; font-we=
ight: bold;">From: </span><span style=3D"font-family: Tahoma,sans-serif; fo=
nt-size: 10pt;">Furqan Malik1E07</span><br><span style=3D"font-family: Taho=
ma,sans-serif; font-size: 10pt; font-weight: bold;">Sent: </span><span styl=
e=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">5/29/2012 11:34 AM</=
span><br><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt; fo=
nt-weight: bold;">To: </span><span style=3D"font-family: Tahoma,sans-serif;=
 font-size: 10pt;">ironpython-users at python.org</span><br><span style=3D"fon=
t-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;">Subject: =
</span><span style=3D"font-family: Tahoma,sans-serif; font-size: 10pt;">[Ir=
onpython-users] Unable to load assembly 'Microsoft=E2=80=8B.VisualStu=E2=80=
=8Bdio.TestTo=E2=80=8Bols.UITest=E2=80=8Bing' in Python</span><br><br></bod=
y></html><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3D=
utf-8">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta name=3DGenerator content=3D"Microso=
ft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
=09{font-family:"Cambria Math";
=09panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
=09{font-family:Calibri;
=09panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
=09{margin:0cm;
=09margin-bottom:.0001pt;
=09font-size:11.0pt;
=09font-family:"Calibri","sans-serif";
=09mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
=09{mso-style-priority:99;
=09color:blue;
=09text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
=09{mso-style-priority:99;
=09color:purple;
=09text-decoration:underline;}
span.EmailStyle17
=09{mso-style-type:personal-compose;
=09font-family:"Calibri","sans-serif";
=09color:windowtext;}
.MsoChpDefault
=09{mso-style-type:export-only;
=09font-family:"Calibri","sans-serif";
=09mso-fareast-language:EN-US;}
@page WordSection1
=09{size:612.0pt 792.0pt;
=09margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
=09{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-CA link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>I have automated=
 my whole framework in Ironpython and it's working pretty good and stable.<=
o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNorma=
l>Recently, my company has implemented Drag and Drop functionality to autom=
ate.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMso=
Normal>I found one Dll( 'Microsoft.VisualStudio.TestTools.UITesting.dll') w=
hich has class mouse and that class has method called mouse.startdragging()=
 and mouse.stopdragging().<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</=
o:p></p><p class=3DMsoNormal>But unfortunately, I am unable to add the refe=
rence of this Dll. I am getting following error<o:p></o:p></p><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&quot; clr.AddReference(&=
quot;Microsoft.VisualStudio.TestTools.UITesting&quot;) System.IO.FileNotFou=
ndException: Unable to find assembly 'Microsoft.VisualStudio.TestTools.UITe=
sting'. at Python.Runtime.CLRModule.AddReference(String name) in C:\Users\B=
arton\Documents\Visual Studio 2008\Projects\PySharp\trunk\pythonnet\src\run=
time\moduleobject.cs:line 375 &quot;<o:p></o:p></p><p class=3DMsoNormal><o:=
p>&nbsp;</o:p></p><p class=3DMsoNormal>I would truly appreciate if anyone c=
an help me, I am middle of my project<o:p></o:p></p></div></body></html>
--_000_54452F9818FBEE498D2A1EDA8425A68D0C5256F3B6TBXCH06SSVVbb_--

--===============1122901385==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ironpython-users mailing list
Ironpython-users at python.org
http://mail.python.org/mailman/listinfo/ironpython-users

--===============1122901385==--


More information about the Ironpython-users mailing list