MudassarRasool / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Icarus + XUnit = The attribute does not have a writable instance property named 'Name' #748

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Gallio 3.2 or 3.3
2. Create test project using XUnit
3. Insert a break point into the test
4. Debug the test

What is the expected output? What do you see instead?
Debugging fails with the error listed above.

What version of the product are you using? On what operating system?
Tried Gallio 3.2 and 3.3.
Visual Studio 2010 Pro
Windows 7 64bit

Please provide any additional information below.
The debugger tries to open source files in c:\server\...
A workaround I have found at the moment is to pull the source and build.
If I install from the generated MSI then it works on my workstation.
If I install the generated MSI on a similar workstation then the generated file 
produces the same error.
If I copy the Gallio source I pulled to the exact same location on the second 
machine then Gallio/Icarus works fine.

Not sure where to start looking for this problem.
Is the build environment hard coding something in the MSI or a .config file?
Is the build not installing a required file that is left in the build folder?

Original issue reported on code.google.com by withT...@gmail.com on 12 Oct 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Used process monitor and found that when debugging tests it looks for 
Gallio.XunitAdapter.pdb in the original source folder or the local machine 
build.
If I copy Gallio.XunitAdapter.pdb into C:\Program Files\Gallio\bin\Xunit then I 
am able to debug tests without any problems.

Original comment by withT...@gmail.com on 19 Oct 2010 at 8:44

GoogleCodeExporter commented 8 years ago
To include Gallio.XunitAdapter.pdb in the package.

Original comment by Yann.Tre...@gmail.com on 21 Oct 2010 at 1:49

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 23 Oct 2010 at 1:09

GoogleCodeExporter commented 8 years ago
Fixed in v3.3 trunk + v3.2 branch.
Expected to be part of the "v3.2 update 1" release.

Original comment by Yann.Tre...@gmail.com on 27 Oct 2010 at 9:35

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 5 Dec 2010 at 11:33