Possible System Incompatability

43 views
Skip to first unread message

kazi...@gmail.com

unread,
May 13, 2013, 10:49:00 AM5/13/13
to cs-s...@googlegroups.com
First on my system:
ASUS A54C

I am running the included install of Windows 7, I've got only four peripherals, my Razer Blackwidow Keyboard, My Raze Lachesis Mouse, My Hannspree monitor via HDMI and the D-Link hub which connects the mouse keyboard and occasionally the turtle beaches I use to game with.

I'm also running VS Express 2012 for desktops.

When I try to install this I get an error back which states:
"
<Literal CSS-config.exe location>

A device attached to the system is not functioning
"

I'm also curious if this will work using EF 4.1 Model First at the Partial Entity Class level or Direct Context level to load scripts for my entities directly from the database into the EF entity as a member function.
For instance.

Entity NPC - Moose
Might have a special script for walking.  Having four legs and all.
Given this object is created with the DataContext can I insert code in the DataContext to modify the entity at runtime.
Specifically to make the code the entity loads from the database override the currently defined Walk function in the partial entity class NPC if it exists?

Oleg Shilo

unread,
May 13, 2013, 6:56:06 PM5/13/13
to cs-s...@googlegroups.com
The error description implies that the problem is related to the file system rather than to the script installation. Googling seem to confirm this.
Keep in mind that you need to "install" (run css_config.exe) only if you want to have shell extensions installed and the environment variables set. Otherwise there is non need for any installation. In fact the "installation" can be conducted manually if required. This is what is involved into CS-Script "installation":

  1. Create system environment variable CSSCRIPT_DIR with the value containing path to the CS-Script folder.
  2. Add %CSSCRIPT_DIR% component to the system environment variable PATH.
You can even install shell extensions manually as well but it is a different story.

As for using CS-S with EF it is hard to comment without knowing the details, but I put is this way. CS-S script is nothing else but an ordinary assembly, which is loaded dynamically. And loaded not from the assembly file (.dll) but from the source file (.cs) instead. Thus if the task can be accomplished with the compiled assembly, then it can also be accomplished with the script.

Cheers,
Oleg




--
You received this message because you are subscribed to the Google Groups "CS-Script" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cs-script+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Code Spoofer

unread,
May 14, 2013, 2:28:54 AM5/14/13
to cs-s...@googlegroups.com, osh...@gmail.com
Thanks for the speedy response.

I found the NuGet package and installed that way.

I understand not knowing its implications in the Entity Framework. It's extremely new, and as such not as well documented as it could be.
I'll test it out and see what I can come up with. There's two methods I've considered as feasible prototype, loading the dynamic objects using
code in the SQL directly on run time, via complex types or scalars. Or alternatively, making delegates which reference function which are compiled
on boot and can be recompiled when needed.

Thanks,
Kody
Reply all
Reply to author
Forward
0 new messages