hardcode physical path into xamlx?

Nov 17, 2010 at 7:06 PM

A colleague sent me a WF4 solution to look at.  I expanded the zip file and opened the solution.  but I could not view the details of the workflow in the IDE designer.

Turns out there is a hard -coded path in the xamlx file:

sad:XamlDebuggerXmlReader.FileName="C:\Temp\DeclarativeServiceLibrary5\DeclarativeServiceLibrary5\Service1.xamlx" 

Once I moved the solution to this location, it opened okay.

Others have seen this:

http://johan.driessen.se/archive/2010/02/25/why-workflow-services-storing-their-physical-location-in-the-xamlx.aspx

http://www.go4answers.com/Example/xamldebuggerxmlreaderfilename-40035.aspx

Is there a setting to get around this aberration?