home recent topics recent posts search faq  

Pretty Objects Visual T# Forum

Addicted toThe Most Intelligent Add-In To Visual Studio Addicted toAddicted to


register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » T# Compiler » Compiler Issue with GenuineChannels

Conversations on T# compiler features, usability, wish list...
19/08/2008 8:04:17 AM

mikecomeau
mikecomeau
Posts: 13
Hi PrettyObjects team,

First of all, i'd like to thank you so much for such a nice testing language. Even if this is still not a release product, we are willing to use it here and try and helps as much as we can to make it become a top notch product.

Unfortunately, i am currently facing a major issue that prevents compilation.

Here's what it seems like to be, but i can't be 100% sure of the real problem. I've created a client/server system that uses remoting as its base. Standard remoting did not work as well as what we were hoping for so we had to buy and bind to GenuineChannels, which is a really nice remoting package. The only issue is that this is using Remoting from .NET 1.1 althought it seem to adapt under the CSharp compiler since i am able to compile on a system without .NET 1.1 installed. But if i add a reference to GenuineChannels to the T# project, i get a compile error. Why is the compiler not taking the 2.0 System.Web assembly ?

I've enable Assembly Binding Logging, and you will find the output in the next post (Limit 4K per message):

Thank you for your help.
0 permalink
19/08/2008 8:04:30 AM

mikecomeau
mikecomeau
Posts: 13
C:\Program Files\MSBuild\Pretty Objects\TSharp\1.0\TSharp.targets(13,5): error : Error loading 'C:\Data\Library\GenuineChannels.dll': System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.Reflection.Assembly._GetExportedTypes()
at System.Reflection.Assembly.GetExportedTypes()
at TSharpCompiler.Compiler.ExternalReference.set_Assembly(Assembly value)
at TSharpCompiler.Compiler.ExternalReference.Load(String projectPath, Boolean isReflectionOnly)
at TSharpCompiler.Compiler.ReferenceList.Load(String projectPath, Boolean reflectionOnly)

=== Pre-bind state information ===
LOG: User = SHIP2SAVE\mcomeau
LOG: DisplayName = System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0
LOG: Initial PrivatePath = C:\Program Files\MSBuild\Pretty Objects\TSharp\1.0
Calling assembly : (Unknown).
===
LOG: This is an inspection only bind.
LOG: Using application configuration file: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.Config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PublicAssemblies/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PublicAssemblies/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PrivateAssemblies/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PrivateAssemblies/System.Web/System.Web.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/System.Web/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PublicAssemblies/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PublicAssemblies/System.Web/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PrivateAssemblies/System.Web.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/MSBuild/Pretty Objects/TSharp/1.0/PrivateAssemblies/System.Web/System.Web.EXE.
0 permalink
19/08/2008 9:09:27 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 155
Thanks.

This forum is especially for discussions (even if there are not so much discussions yet). You should report bugs on our bug report.

We will look at this bug on next week. Holidays will be almost finished for everybody smile
0 permalink
19/08/2008 9:31:33 AM

mikecomeau
mikecomeau
Posts: 13
Thank you Ludovic,

I've registered on the Bug Report section, once i get permission to add bugs in there, i'll inform you so you can clean this tread.

Michel.
0 permalink
25/08/2008 9:15:17 AM

mikecomeau
mikecomeau
Posts: 13
Hi Ludovic,

Do you still want this issue entered in your bug system ?
0 permalink
28/08/2008 7:08:24 AM

Ludovic Dubois
Ludovic Dubois
Administrator
Posts: 155
Sorry, I'm late!

You can now add bugs in our bug tracking system.

Thanks.
0 permalink
28/08/2008 7:30:17 AM

mikecomeau
mikecomeau
Posts: 13
Don't be sorry,

I understand that this is a beta version, that you're probably not putting 100% of your time on it, and i get access to it freely for now. I really appreciate T# and want to support it as much as i can and help make it a reference for unit testing/integration test and such.

I'm just a newcomer to unit testing, and there are things i don't understand fully yet, especially in software design that accomodates unit testing, but i'm slowly learning, which i believe is a good thing to help with your development since i'll want to try things that experts would not think of trying :-)

On a side note, would it be possible to have a forum section for unit tests help. Where we could expose a tricky scenario and get to help others refine their tricky situations using T#? I don't want to expose a tricky situation in one of the current forums because none seem to be related.

Have a good day,
Michel.
0 permalink

Home » T# Compiler » Compiler Issue with GenuineChannels





Powered by Jitbit Forum 7.2.7.0 © 2006-2011 Jitbit Software