These are chat archives for ZaneDubya/UltimaXNA

30th
Aug 2015
Xen85
@Xen85
Aug 30 2015 10:44
i say this because a lot of time ago, Isanity told me it was the easier way to mantain and expand a doc for a opensource project
Zane Wagner
@ZaneDubya
Aug 30 2015 15:35
@jeffboulanger re: vs2015, no intention to migrate yet. I'm still using XNA, feel no need to be on the bleeding edge ;)
Xen85
@Xen85
Aug 30 2015 15:36
@ZaneDubya can't you use XNA on vs2015?
@jeffboulanger wrote he installed it in 2015
Zane Wagner
@ZaneDubya
Aug 30 2015 15:36
@Xen85 Yes, you can use XNA on vs2015.
Xen85
@Xen85
Aug 30 2015 15:37
so i don't understand "i'm still using XNA" °°"
Zane Wagner
@ZaneDubya
Aug 30 2015 15:37
Haha
Xen85
@Xen85
Aug 30 2015 15:38
am i wrong?
Zane Wagner
@ZaneDubya
Aug 30 2015 15:38
I meant "I'm the kind of person who is using a framework which was depreciated 3 years ago; I obviously see no need to instantly adopt the latest and greatest tools."
I'll probably check it out later this year.
Xen85
@Xen85
Aug 30 2015 15:39
ah however if i remember well it's possible to use a solution for 2013 in vs2015
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:39
@ZaneDubya Performance tools are better on 2015, thats a good reason to move to bleeding edge ;)
Xen85
@Xen85
Aug 30 2015 15:39
i do it without many problems
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:39
@Xen85 it is, but it upgrades the solution, not sure if it becomes backward compatible
Zane Wagner
@ZaneDubya
Aug 30 2015 15:40
Glad to hear that it's not causing you any problems. That doesn't change my mind about upgrading though :)
Xen85
@Xen85
Aug 30 2015 15:40
i used the RC before, i had not problems
*no problems
ahaha
@jeffboulanger do you have the file to install xna in 2015?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:41
not on my laptop
Zane Wagner
@ZaneDubya
Aug 30 2015 15:41
@jeffboulanger I'm interested in those! I'm currently using red gate ants profiler; have been doing so for years, really like it.
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:41
i can tell you how to do it though
oh god
red gate
Xen85
@Xen85
Aug 30 2015 15:41
oh please
help °°"
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:42
download this
Xen85
@Xen85
Aug 30 2015 15:42
did
then?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:44
sorry had t odownload it too
XNA Game Studio 4.0.vsix rename this to XNA Game Studio 4.0.zip
inside the zip
take out extension.vsixmanifest
edit it in notepad
inside it you will see 4 spots that say
Version="[12.0,13.0)"
change it to
Version="[12.0,)"
and put the file back into the zip file.
rename it back to vsix
and run it
Xen85
@Xen85
Aug 30 2015 15:48
I DID
fuck it works
thx!
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:48
calm down ;)
Xen85
@Xen85
Aug 30 2015 15:49
i didn't know vsix files were zip format
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:49
most microsoft file formats are
all office files are
docx
for example
Xen85
@Xen85
Aug 30 2015 15:49
but.. just a question, when i was programming with 2013 for wpf
many time i had to shut it
and run it again
because wpf engine did not refresh
in 2015 is the same?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:50
the xaml designer is better in 2015 supposedly
i do xaml at work
all day
and still have issues
however
i never use the designer
i turn it off
i just do straight xaml
Xen85
@Xen85
Aug 30 2015 15:51
mmm
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:51
i dont need a designer
:)
Xen85
@Xen85
Aug 30 2015 15:51
how do you program stuff without seeing the render?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:51
run it
but ive been doing xaml for so long
that i can just see it
kinda like the matrix to me
lol
Xen85
@Xen85
Aug 30 2015 15:51
ah just a question, you know how to do it
i'm programming a wpf library but i need to know how to merge library dictionary with application one, my library is meant to be a plugin
so the app will know about it only at runtime
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:52
u mean a resource dictionary
Xen85
@Xen85
Aug 30 2015 15:52
yes
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:53
you use mergedictionary
Xen85
@Xen85
Aug 30 2015 15:53
yes is it possible to do it at runtime?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:53
probably
Xen85
@Xen85
Aug 30 2015 15:53
app -> load plugin
Jeff Boulanger
@jeffboulanger
Aug 30 2015 15:53
why not just define it in xaml
ah
ya probably possible
Xen85
@Xen85
Aug 30 2015 15:55
oh thx
but which one is the better logic? plugin : application or plugin : libraries which are used by application?
for mef i mean
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:00
what do you mean
i dont understand plugin : application
Xen85
@Xen85
Aug 30 2015 16:00
plugin refers to the application assembly
or plugins refers to some dll which are used by the application?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:01
plugins have to reference the application
oh
i think i see what you are saying
exe, dll -> plugin
or exe -> plugin
right?
Xen85
@Xen85
Aug 30 2015 16:01
yes
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:01
ya either way
completely up to you
doesnt really matter much
Xen85
@Xen85
Aug 30 2015 16:02
the application just load assemblies at runtime with mef too?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:02
for me i would probably end up with frameworkdll(s), appdll, appexe
i dunno, i dont use mef
mef is overly complicated
Xen85
@Xen85
Aug 30 2015 16:03
it seemed easy
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:03
the only thing mef has that is really cool is that it doesnt lock dlls in use
its fine, by all means, if you like it use it
Xen85
@Xen85
Aug 30 2015 16:03
what do you use?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:03
but for me its got a ton of functionality i dont need for all the stuff i do
we have our own
we use TinyIoc and then everything else is custom
Xen85
@Xen85
Aug 30 2015 16:04
oh i see
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:04
for my own personal projects, i use tiny ioc as well
and write my own plugin system
makes it easier to customize the plugin system to the project
makes it less confusing to use for people writing plugins
Xen85
@Xen85
Aug 30 2015 16:05
you use a lot of reflection?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:06
ioc in general uses reflection, but for plugins the only thing you really need to do is load an assembly, find the plugin types in the assembly and instantiate them
call a few methods on them
like UltimaXNA does
Xen85
@Xen85
Aug 30 2015 16:08
i understand, it's like mef does if i remember well
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:09
the pattern/concepts dont change
;0
Xen85
@Xen85
Aug 30 2015 16:09
but what happens if the plugin extends a class of the application?
ther's not any problem of reclursive dipendency?
*dependency
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:13
how is it recersive?
Xen85
@Xen85
Aug 30 2015 16:13
i depends by you and you load me
so it's recursive, not?
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:15
no
recersive is plugin referencing app, app referencing plugin
but with plugins, they only reference app
even if it extends a class, the app doesnt know the true implementation of that class, ever
Xen85
@Xen85
Aug 30 2015 16:16
oh i see
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:16
it just knows the object is a type that the app knows about, but not its true representation
IoC :) Inversion of Control
Xen85
@Xen85
Aug 30 2015 16:17
IoC is done by a lot of singleton
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:17
no
ioc has nothing to do with singleton
singleton is a pattern, ioc is a pattern, they have no direct relation, and singletons break ioc
Xen85
@Xen85
Aug 30 2015 16:18
oh yes, i was confused because at work i use spring
Using a dependency injection, for example
A constructor injection
A parameter injection
A setter injection
An interface injection
ioc via dependency injection is done via a lot of singleton object which are referenced in the app
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:19
objects are not singletons
they maybe used like singletons via the DI
Xen85
@Xen85
Aug 30 2015 16:19
if a class can have only one instance
yes
it's a singleton ^^
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:20
used as a singleton, not a singleton
Xen85
@Xen85
Aug 30 2015 16:20
yes different way to say the same
Jeff Boulanger
@jeffboulanger
Aug 30 2015 16:23
ok gonna get my day going talk to you later
Xen85
@Xen85
Aug 30 2015 16:23
see ya ^^