<div class="gmail_quote">On Mon, Jul 5, 2010 at 1:22 PM, Michael Foord <span dir="ltr">&lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 05/07/2010 21:20, Dino Viehland wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We should definitely be adding relative paths so this is just a bug and I&#39;ll<br>
take a look at fixing it.<br>
<br>
   <br>
</blockquote>
<br></div>
Cool - any ideas on the Chiron issue? (Why it isn&#39;t building our xap file and if it is possible for me to tell it about the external assemblies it needs to serve.)<br>
<br></blockquote><div><br></div><div>I&#39;ll look into it tomorrow</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
All the best,<br><font color="#888888">
<br>
Michael</font><div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----Original Message-----<br>
From: <a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-" target="_blank">users-</a><br>
<a href="mailto:bounces@lists.ironpython.com" target="_blank">bounces@lists.ironpython.com</a>] On Behalf Of Michael Foord<br>
Sent: Monday, July 05, 2010 8:12 AM<br>
To: Discussion of IronPython<br>
Cc: Sven Passig<br>
Subject: Re: [IronPython] IronPython Tools for existing project<br>
<br>
Hello all,<br>
<br>
A further problem I forgot to mention is that when I add / create items<br>
through the ui it puts absolute paths in the project file rather than<br>
relative ones. This makes it problematic to keep the project files<br>
under<br>
version control where different users will have different paths.<br>
<br>
When I edit these paths to make them relative to the solution file /<br>
project file everything seems to work - so I can create a tool to &quot;fix&quot;<br>
the project files I guess.<br>
<br>
All the best,<br>
<br>
Michael Foord<br>
<br>
<br>
On 05/07/2010 15:38, Michael Foord wrote:<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I&#39;m working with a team on an IronPython Silverlight application.<br>
       <br>
</blockquote>
Some<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
of the team develop with Windows and would like to use IronPython<br>
Tools for Visual Studio, especially for its debugging capabilities.<br>
This means I need to create a Visual Studio Solution and project(s)<br>
from the existing file layout.<br>
<br>
We would like to have the project checked in under version control<br>
       <br>
</blockquote>
and<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m aware that we&#39;ll probably need to manually manipulate the project<br>
files when we add files outside of visual studio.<br>
<br>
I can create the Visual Studio solution and project file and then<br>
manually manipulate the xml to add all the folders and individual<br>
files. So far so good. (Although perhaps not ideal having to add<br>
       <br>
</blockquote>
files<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
individually - unfortunately I was away during the discussion about<br>
whether projects should be able to operate from the filesystem or<br>
       <br>
</blockquote>
have<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to explicitly include files.)<br>
<br>
Next I want to be able to launch our silverlight app from within<br>
visual studio in order to be able to debug.<br>
<br>
The html file is in a folder call &quot;devcode&quot;. This has a subdirectory<br>
called &quot;python&quot;, which becomes &quot;python.xap&quot; when served from chiron.<br>
<br>
I set the startup file for the project to &quot;devcode\index.html&quot; and<br>
       <br>
</blockquote>
the<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
start directory to &quot;devcode&quot;.<br>
<br>
When I launch the app with debugging from Visual Studio I get the<br>
message that Chiron has started on port 1322 and IE opens to the page<br>
<a href="http://localhost:1322/index.html" target="_blank">http://localhost:1322/index.html</a><br>
<br>
Our html page opens (so far so good again), but unfortunately fails<br>
with the following error:<br>
<br>
Line: 31<br>
Error: Unhandled Error in Silverlight 2 Application<br>
Code: 2104<br>
Category: InitializeError<br>
Message: Could not download the Silverlight application. Check web<br>
server settings<br>
<br>
So it looks like Chiron is not building python.xap. How can I fix<br>
       <br>
</blockquote>
this?<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The next problem is that the xaml designer doesn&#39;t work. It fails due<br>
to all the external assembly references used in our xaml. Now this<br>
itself isn&#39;t so much a problem as I know the xaml designer is ropey<br>
       <br>
</blockquote>
at<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the moment anyway - however Chiron is going to have the same problem.<br>
It needs to know which assemblies our app uses so that it can serve<br>
them (they are served externally rather than being included in the<br>
       <br>
</blockquote>
xap<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
file and need an entry in the Chiron manifest.)<br>
<br>
If this is never going to work with VS tools I can move the<br>
       <br>
</blockquote>
assemblies<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
into the xap file as we will *probably* need this later anyway in<br>
order to allow our application to be installed and run out of<br>
       <br>
</blockquote>
browser.<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However I had assumed I could &quot;add a reference&quot; to the assemblies we<br>
were using. The &quot;add reference&quot; dialog doesn&#39;t actually allow me to<br>
add any references... The only active button on it is &quot;Cancel&quot;. Is it<br>
possible to add references to Silverlight assemblies used by our<br>
project? (And preferably have them picked up by both the xaml<br>
       <br>
</blockquote>
designer<br>
     <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and by chiron.)<br>
<br>
All the best,<br>
<br>
Michael<br>
<br>
       <br>
</blockquote>
<br>
--<br>
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a><br>
<a href="http://www.voidspace.org.uk/blog" target="_blank">http://www.voidspace.org.uk/blog</a><br>
<br>
READ CAREFULLY. By accepting and reading this email you agree, on<br>
behalf of your employer, to release me from all obligations and waivers<br>
arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-<br>
service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-<br>
disclosure, non-compete and acceptable use policies (&quot;BOGUS<br>
AGREEMENTS&quot;) that I have entered into with your employer, its partners,<br>
licensors, agents and assigns, in perpetuity, without prejudice to my<br>
ongoing rights and privileges. You further represent that you have the<br>
authority to release me from any BOGUS AGREEMENTS on behalf of your<br>
employer.<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
     <br>
</blockquote>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
   <br>
</blockquote>
<br>
<br></div></div>
-- <br><div><div></div><div class="h5">
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a><br>
<a href="http://www.voidspace.org.uk/blog" target="_blank">http://www.voidspace.org.uk/blog</a><br>
<br>
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.<br>


<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</div></div></blockquote></div><br>