« first day (1292 days earlier)      last day (1888 days later) » 

11:00 PM
emailed appveyor support
 
The assembly is the DLL which in this case contains the test?
 
the executing assembly, yes
 
#WordFail
 
(when you're in the test project)
GetExecutingAssembly in Rubberduck.dll would get the assembly for Rubberduck.dll
 
System.Reflection.ReflectionTypeLoadException occurred
  HResult=0x80131602
  Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
  Source=mscorlib
  StackTrace:
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeModule.GetTypes()
   at System.Reflection.Assembly.GetTypes()
   at Rubberduck.Inspections.Concrete.InspectionTypeExistsInResourceFileInspection.NamesFoundInResourceFiles() in C:\Users\...\Source\Repos\Rubberduck\Rubberduck.Inspections\Concrete\InspectionTypeExistsIn
 
11:04 PM
why is the source file under Rubberduck.Inspections?
 
I put it there while I was trying to copy another inspection...
 
I'm not following your methodology here.. this needs to be a test, not an inspection
 
#IgnoranceHasBeenExposed
 
adding files in a project creates a diff in that .csproj
gosh, it's past 6PM already... TTQW
 
This is why I'm afraid of contributor responsibility. I still don't how to properly add files.
 
11:09 PM
protip: when you want to add a unit test class, add a class in the unit test project :)
 
It makes sense when you say it that way.
 
protip2: You can choose add UnitTest from the context menu.
 
@M.Doerner I was manually typing everything out. I'll have to remember this.
 
@NelsonVides that's where the installer script is expecting to find the, well, libraries :)
; Install the correct bitness binaries.
Source: "libs\NativeBinaries\amd64\*"; DestDir: "{app}"; Flags: ignoreversion; Excludes: "{#AddinDLL}"; Check: Is64BitOfficeInstalled
Source: "libs\NativeBinaries\x86\*"; DestDir: "{app}"; Flags: ignoreversion; Excludes: "{#AddinDLL}"; Check: Is32BitOfficeInstalled
 
11:16 PM
I just deleted that folder, compiled the installer script (a modified version of mine), and it runs.
 
...
 
right, so from that folder we only need the infamous NativeBinaries, isn't it?
 
that's also where we put the Office PIA's
 
what about all the other .dlls in that folder, what do we have them for?
what's that? xD
 
Pains In the Ass Primary Interop Assemblies
 
11:17 PM
Got it, makes sense
 
Rubberduck.dll is directly referencing those
that's how ExcelApplication can do Application.Run
IOW delete it and you just nuked the unit testing feature
 
@Mat'sMug where...?
ah, unit testing
 
@Mat'sMug I now have access to the Assembly.GetTypes(). Still trying to figure out how to use this information to consolidate and replace the other tests.
 
there is it!
 
11:19 PM
you'll want to use LINQ Where to find the implementations of IInspection
 
ok, that's perfect, thanks for that one
but I think I can get rid of the libs\NativeBinaries part (that other fix for libgit we were talking about today earlier)
 
actually, that link was just the XML definition of the folder...
^ the actual refs
@NelsonVides TBH I've no idea. this nativebinary dll has been an annoyance forever
all the better if libgit2sharp no longer requires this gymnastic
 
@Mat'sMug forgive me for deleting them, what a crime no noticing such a ton of dependencies :P
will make a PR in a little while
I think I'm gonna steal my girlfriend's computer to test the installer
 
great idea!
 
@Mat'sMug Pretty close, but kind of stumped.
 
11:29 PM
with 1 failing test?
ok, 6:30, really TTGH
 
Pretty much.
The whole thing compiles just fine, but it's using the wrong rules.
I don't remember the exact state--I may have made a couple changes so there are a couple failing tests, but it's all centered around one grammar rule.
You worked late.
Go home :)
 
You free Hosch? I feel bad about continually asking Mug when he needs to be home.
 
TTGTB
 
@M.Doerner Night
 
@Mat'sMug done it, no crash
still, I'm having an issue with not being able to create the repo. Last time I tried to track this on the commit history, the error appeared for the first time after implementing Castle Windsor (?)
gonna submit the PR to get rid of the libgit gimnastics and the crash, but no idea about why it doesn't create the repo
 
11:58 PM
0
Q: Cannot include a cell-formula into VBA code in MS Excel

ecclesiastesI am trying a simple VBA program, that looks like this: Function NotWorking() As Single If Range("C3") = 0 Then NotWorking = "=0.6*7" Else NotWorking = 1.2 End If End Function If cell C3 has 0 as a value, the function NotWorking has to return in the current cell the result of *=0.6*7*, ...

 

« first day (1292 days earlier)      last day (1888 days later) »