These are chat archives for exceptionless/Discuss

14th
Apr 2015
Phyxion
@Phyxion
Apr 14 2015 17:38
hello
Blake Niemyjski
@niemyjski
Apr 14 2015 17:38
hey :)
brb in one second I need to reboot
Phyxion
@Phyxion
Apr 14 2015 17:39
sure. Given the history, I think I write something down here as well.
I just updated the client to 3.xx from NuGet and I don't receive any data either.
Very simple test -> var exception = new Exception("test");
exception.ToExceptionless().Submit();
Blake Niemyjski
@niemyjski
Apr 14 2015 17:41
What about ExceptionlessClient.Default.SubmitLog("test");
I'm testing right now
Phyxion
@Phyxion
Apr 14 2015 17:43
they are still reflected instantly @ ui?
the submitlog isn't shown either (i assume this is shown at log messages)
Blake Niemyjski
@niemyjski
Apr 14 2015 17:43
not instantly but pretty close to it
Are you behind a proxy or firewall?
blob
Phyxion
@Phyxion
Apr 14 2015 17:44
no
well there is a firewall
but i added port 777 / tcp to allow all
or does 2.x use udp as well?
Blake Niemyjski
@niemyjski
Apr 14 2015 17:45
nope, it makes a http post to the server url you specified
Phyxion
@Phyxion
Apr 14 2015 17:46
in the assemblyinfo i have this [assembly: Exceptionless("http://exceptionless:777", ApiKey = "txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW")]
Blake Niemyjski
@niemyjski
Apr 14 2015 17:46
do you have post man
?
Phyxion
@Phyxion
Apr 14 2015 17:46
postman from Chrome?
yes
wait
I think I know why you aren't getting events
you are missing the EnableSSL=False in the attribute
Phyxion
@Phyxion
Apr 14 2015 17:47
I already tried that as well
didn't help
Blake Niemyjski
@niemyjski
Apr 14 2015 17:47
do you have any remote meeting software?
I could take a look with you
Phyxion
@Phyxion
Apr 14 2015 17:48
not really, only rdp on server
but i connect from local to server (where exceptionless is hosted)
when I post that url in Chrome I get 202 Accepted
Blake Niemyjski
@niemyjski
Apr 14 2015 17:49
does data show up
Phyxion
@Phyxion
Apr 14 2015 17:49
no
Blake Niemyjski
@niemyjski
Apr 14 2015 17:49
put in the request body any content
Phyxion
@Phyxion
Apr 14 2015 17:50
just raw?
Blake Niemyjski
@niemyjski
Apr 14 2015 17:50
yeah it don't matter
any content will be posted as a log message
Phyxion
@Phyxion
Apr 14 2015 17:51
hmm I get something
but also constant toast errors
Blake Niemyjski
@niemyjski
Apr 14 2015 17:51
what are the errors
Phyxion
@Phyxion
Apr 14 2015 17:51
An error occurred while loading the stats.
Blake Niemyjski
@niemyjski
Apr 14 2015 17:51
look at the responses (press f12)
how did you setup elastic search
did you enable dynamic scripting / use our config
Phyxion
@Phyxion
Apr 14 2015 17:52
nothing shows up there (in console)
Blake Niemyjski
@niemyjski
Apr 14 2015 17:52
you can get that error for stats when you have an invalid search query too
Phyxion
@Phyxion
Apr 14 2015 17:52
i used your elasticsearch config
cluster.name: exceptionless
node.name: ex-es01
index.number_of_shards: 10
index.merge.scheduler.max_thread_count: 1
index.translog.flush_threshold_size: 1gb
path.data: D:/Elasticsearch/DATA/
path.work: D:/Elasticsearch/DATA/
path.logs: D:/Elasticsearch/DATA/
bootstrap.mlockall: true
script.disable_dynamic: false
discovery.zen.ping.multicast.enabled: false
http.jsonp.enable: true
http.cors.enabled: true
Blake Niemyjski
@niemyjski
Apr 14 2015 17:53
if you can send me a invite with a remote desktop screen share session like logmein or something I'll take a quick look with you
Phyxion
@Phyxion
Apr 14 2015 17:54
I don't have that here
does exceptionless store any logs somewhere?
about why it gives that toast error?
I'd set logging up to trace level
and log it to disk or to elastic
Phyxion
@Phyxion
Apr 14 2015 17:56
mongo and elastic seem to work just fine, they don't have any errors in the logs
Blake Niemyjski
@niemyjski
Apr 14 2015 17:56
you can havei t log to exceptionless but you need to ensure your apoi key is set correctly
Phyxion
@Phyxion
Apr 14 2015 17:57
yeah I removed that from the config
Blake Niemyjski
@niemyjski
Apr 14 2015 17:57
you'll want to log it to disk or something, that is how we diagnose what's going on. We have a ton of metrics / logging going on
Also, are you running the jobs in process
Phyxion
@Phyxion
Apr 14 2015 17:58
yes
i think i saw that setting somewhere
Blake Niemyjski
@niemyjski
Apr 14 2015 17:58
one thing I'd check is are the submitted events being put into the queue folder
Phyxion
@Phyxion
Apr 14 2015 17:58
its all default config
Blake Niemyjski
@niemyjski
Apr 14 2015 17:58
api/app_data/storage/q
and if so, watch that folder and see if they are being processed (removed / renamed to .x)
Phyxion
@Phyxion
Apr 14 2015 17:59
in app_data/storage/q, folder is empty
Blake Niemyjski
@niemyjski
Apr 14 2015 17:59
watch that folder
and submit an event
you should see a .json file written
and then if it's processed it will be locked (renamed to .json.x) and then deleted if it was processed
Phyxion
@Phyxion
Apr 14 2015 18:00
i'm not seeing it
but I do see them in UI immediately when I press send in Postman
Im not seeing anything sent from the exceptionless client
there are some events in the archive folder
json files
An error occurred while loading your projects.
Hmm
I'm not seeing any projects listed anymore indeed.
Blake Niemyjski
@niemyjski
Apr 14 2015 18:02
hmm
look in the response
what does it say
keep your developer tools window open
Phyxion
@Phyxion
Apr 14 2015 18:02
500 internal server error
in the /organizations
Blake Niemyjski
@niemyjski
Apr 14 2015 18:04
Wish I could help you debug it
what does the status page say
/api/v2/status
Phyxion
@Phyxion
Apr 14 2015 18:04
{
"message": "All Systems Check",
"version": "2.0.1321 a6c02fdeeb"
}
Blake Niemyjski
@niemyjski
Apr 14 2015 18:05
that literally checks mongo/redis/elasticsearch/queue/messagebus
Phyxion
@Phyxion
Apr 14 2015 18:05
i just opened log messages / dashboard
Blake Niemyjski
@niemyjski
Apr 14 2015 18:05
do you see anything
Phyxion
@Phyxion
Apr 14 2015 18:05
now 500 internal server error at /stats and /stacks/frequent
yes I see the events listed there (at least some I've sent)
Blake Niemyjski
@niemyjski
Apr 14 2015 18:05
go into it and see what the stack trace / message says
Phyxion
@Phyxion
Apr 14 2015 18:06
it cannot load it
Blake Niemyjski
@niemyjski
Apr 14 2015 18:06
<rules>
<logger name="*" minlevel="Trace" writeTo="exceptionless" />
</rules>
an error?
Phyxion
@Phyxion
Apr 14 2015 18:06
same generic error as before
An error occurred while loading the stats.
it seems to just randomly give a 500 Internal Server Error
can you download the nupgk from there and rename it to .zip
Let's see if there is an issue with 2.0 release that's fixed in the latest build that we have deployed to our api
Phyxion
@Phyxion
Apr 14 2015 18:08
downloading now, 1 min remaining
does it need another ui as well?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:08
just stop iis remove everything but your web.config (rename that to .bak) and drop in there and diff your config
nope
it shouldn't
Phyxion
@Phyxion
Apr 14 2015 18:08
k
Blake Niemyjski
@niemyjski
Apr 14 2015 18:09
there was only one or two minor changes to the api sigs which I don't think you will run into
Phyxion
@Phyxion
Apr 14 2015 18:10
copying now
i can open an event now
that's a bonus :D
still nothing from the client
Blake Niemyjski
@niemyjski
Apr 14 2015 18:13
restart your client and retry
Phyxion
@Phyxion
Apr 14 2015 18:13
already did
Blake Niemyjski
@niemyjski
Apr 14 2015 18:13
enable logging on your client to see what's going on
Phyxion
@Phyxion
Apr 14 2015 18:13
how to add logging to exceptionless client?
bottom of the file
Phyxion
@Phyxion
Apr 14 2015 18:14
thanks
ill add it
hmm
does logFile still exists for the assembly config?
ExceptionlessClient: Disabling client due to invalid configuration: ApiKey is not set.
ExceptionlessClient: Configuration is disabled. The error will not be submitted.
well, I do have it set...
Blake Niemyjski
@niemyjski
Apr 14 2015 18:17
nope
You have to set it in code or via config file
Phyxion
@Phyxion
Apr 14 2015 18:18
i have it in the assemblyinfo.cs file
Blake Niemyjski
@niemyjski
Apr 14 2015 18:18
it couldn't read the config file
Phyxion
@Phyxion
Apr 14 2015 18:18
[assembly: Exceptionless("http://exceptionless:777", ApiKey = "txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW", EnableSSL = false)]
Phyxion
@Phyxion
Apr 14 2015 18:18
this always worked fine with 1.xx
Blake Niemyjski
@niemyjski
Apr 14 2015 18:18

If you are using only the Exceptionless.Portable package, you’ll need to configure exceptionless via attribute config or code. If you choose the attribute method, you’ll need to read the configuration on startup.

using Exceptionless;
ExceptionlessClient.Default.Configuration.ReadFromAttributes(typeof(MyClass).Assembly)
You will also need to wire up to any error handlers as the Exceptionless PCL package doesn’t know what platform you are running on.

Yes, a lot changed for the better in 2.0
it may not seem like it but it did
we were scanning every loaded assembly which is a perf and memory hit
if it's not in the entry assembly / calling assembly it won't be picked up you have to add that line
Phyxion
@Phyxion
Apr 14 2015 18:19
i did not make that change
I wasn't planning on using the new client either
but as the 1.5.xxx I had running didn't submit anything to the new 2.x server
Blake Niemyjski
@niemyjski
Apr 14 2015 18:21
it should, if not that is a major bug
we still have an insane amount of 1.5 errors submitted to us
Phyxion
@Phyxion
Apr 14 2015 18:22
DefaultEventQueue: Unable to authenticate, please check your configuration. The event will not be submitted.
ExceptionlessClient: Suspending processing for: 00:15:00.
that's what I now get in the log file of the client
Blake Niemyjski
@niemyjski
Apr 14 2015 18:22
any bump there is a 2.0 client
blob
Phyxion
@Phyxion
Apr 14 2015 18:22
Unable to authenticate? why would authentication be needed to submit something?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:22
set a break point after you call register and look at ExceptionlessClient.Default.Configuration
and make sure it's set with your api key and server url
Phyxion
@Phyxion
Apr 14 2015 18:23
        ExceptionlessClient.Default.Register(); // Register exceptionless to handle unhandled exceptions.
        ExceptionlessClient.Default.Configuration.ReadFromAttributes(Assembly.GetExecutingAssembly());
        ExceptionlessClient.Default.Configuration.UseFileLogger("C:\\exceptionless.log");
Blake Niemyjski
@niemyjski
Apr 14 2015 18:23
we authenticate using your api key
Phyxion
@Phyxion
Apr 14 2015 18:23
https://collector.exceptionless.io
txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW
the apikey is correct
the server url is not
Blake Niemyjski
@niemyjski
Apr 14 2015 18:24
so the server setting from your attribute isn't being picked up
Phyxion
@Phyxion
Apr 14 2015 18:24
yes
Blake Niemyjski
@niemyjski
Apr 14 2015 18:24
one second
Phyxion
@Phyxion
Apr 14 2015 18:24
its the first parameter
hmm wait
it has
apiKey, ServerUrl, ApiKey, EnableSSL
[assembly: Exceptionless("", ServerUrl = "http://exceptionless:777",ApiKey = "txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW", EnableSSL = false)]
then it does have the correct serverurl
I don't think the other apiKey should still be there
it submits exceptions now btw
i can see them in the dashboard
saw it after 2 seconds or so
Blake Niemyjski
@niemyjski
Apr 14 2015 18:27
Yes, the attribute has been changed to be more consistent
the first parameter is the api key
Phyxion
@Phyxion
Apr 14 2015 18:27
but it's apiKey, serverUrl, ApiKey, EnableSSL, Enable
why two times apikeys?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:27
c# bug?
Phyxion
@Phyxion
Apr 14 2015 18:28
ah i see
its the constructor
probably resharper then i think
looks fine indeed
Blake Niemyjski
@niemyjski
Apr 14 2015 18:28
yeah
:)
lots of changes, we tried to document them as best as we could
Phyxion
@Phyxion
Apr 14 2015 18:28
now, let me see if I can get 1.5.1212 working
Blake Niemyjski
@niemyjski
Apr 14 2015 18:28
we have an awesome client going forward :)
yeah, please let me know
you shouldn't need to make any changes
haha
Phyxion
@Phyxion
Apr 14 2015 18:31
so i reverted back to 1.5.2121
it doesn't report anything
Blake Niemyjski
@niemyjski
Apr 14 2015 18:32
turn logging on
what does it say
Phyxion
@Phyxion
Apr 14 2015 18:32
how to enable logging for 1.5.2121?
logpath cannot be set
Blake Niemyjski
@niemyjski
Apr 14 2015 18:33
why not?
Are you getting an error?
Phyxion
@Phyxion
Apr 14 2015 18:34
nvm, should be in assembly
i tried to set it to code
Blake Niemyjski
@niemyjski
Apr 14 2015 18:34
hehe
yeah
that's new
Phyxion
@Phyxion
Apr 14 2015 18:35
ExceptionlessClient: Configuration Values: ApiKey=API_KEY_HERE, EnableSSL=True, Enabled=True, ServerUrl=http://exceptionless:777
i assume that is the problem
Blake Niemyjski
@niemyjski
Apr 14 2015 18:35
yeah
Phyxion
@Phyxion
Apr 14 2015 18:35
i see multiple problems with that btw
Blake Niemyjski
@niemyjski
Apr 14 2015 18:35
not finding your api key or setting ssl
Phyxion
@Phyxion
Apr 14 2015 18:35
indeed
i now have the exact same settings as I used to have
Blake Niemyjski
@niemyjski
Apr 14 2015 18:36
what does your attribute look like
we haven't changed anything on you
Phyxion
@Phyxion
Apr 14 2015 18:36
[assembly: Exceptionless("", ServerUrl = "http://exceptionless:777", ApiKey = "txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW", EnableSSL = false, LogPath = "C:\exceptionless.txt", EnableLogging = true)]
this worked fine with the 1.x server
Blake Niemyjski
@niemyjski
Apr 14 2015 18:37
well the client and server are not tied together
and from that log message it seems something isn't being picked up
I'd pull down the 1.x source and try debugging it
well first
look at your parameters
the first parameter should be the api key I think
and you are setting it to string.empty
ExceptionlessAttribute(string serverUrl, string apiKey, ...) signature has been changed to ExceptionlessAttribute(string apiKey).
wow
so change the order a bit
Phyxion
@Phyxion
Apr 14 2015 18:38
yeah but it's overwritten through the property
Blake Niemyjski
@niemyjski
Apr 14 2015 18:38
yeah
see if changing it up fixes it
Phyxion
@Phyxion
Apr 14 2015 18:39
I can also do [assembly: Exceptionless("http://exceptionless:777", "txvTRp4GAwERff5frHHYu3Klz4TzQ2qeXFZSd8YW")]
but same problem
however, I do not understand why this all of a sudden doesn't work
I had this for the 1.x server
maybe the logging is broken?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:39
could be
but that code was in 1.x for a long while
you'd still need the ssl overload
Phyxion
@Phyxion
Apr 14 2015 18:40
i never used it, no ssl on the server
1.x worked flawlessly with this
Blake Niemyjski
@niemyjski
Apr 14 2015 18:40
yes, but the client will try adding it as it defaults to true
and could prevent event submission
all of the source code is on symbol source
Phyxion
@Phyxion
Apr 14 2015 18:41
i just checked through .Configuration
Blake Niemyjski
@niemyjski
Apr 14 2015 18:41
you could enable symbols and step through the Register call
Phyxion
@Phyxion
Apr 14 2015 18:41
also says API_KEY_HERE
Blake Niemyjski
@niemyjski
Apr 14 2015 18:41
Remove all of your exceptionlss nuget packages and reinstall 1.5
Phyxion
@Phyxion
Apr 14 2015 18:41
already did that
.Models, .Wpf and the normal Exceptionless, it's all 1.5.2121.0
Blake Niemyjski
@niemyjski
Apr 14 2015 18:43
I'd recommend creating a really small sample and attaching it here
I could try taking a look
ahh
I think I know what it is
ahahaah completely forgot about this
look at your app.config/web.config
those settings override assembly attributes
when you installed the package
it put those settings in the config
which override the attributes
remove them and you'll be good
Phyxion
@Phyxion
Apr 14 2015 18:46
let me check
might be it
yes
now it does have an api key
Blake Niemyjski
@niemyjski
Apr 14 2015 18:47
wish we had good way of parsing a code base for an attribute
in powershell
Phyxion
@Phyxion
Apr 14 2015 18:47
it works now
Blake Niemyjski
@niemyjski
Apr 14 2015 18:47
:)
sweet!!
good news
We will release new server builds soon
Phyxion
@Phyxion
Apr 14 2015 18:48
so it was all just the server build?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:48
I'm working on the javascript client, and then moving into making self hosted super easy and then pushing a new build.
yeah
Phyxion
@Phyxion
Apr 14 2015 18:49
yes, it seems it is
Blake Niemyjski
@niemyjski
Apr 14 2015 18:49
we did a ton of work to ensure nothing had to change with 1.x clients
Phyxion
@Phyxion
Apr 14 2015 18:49
i just submitted some other errors
works fine now indeed
good news!
Blake Niemyjski
@niemyjski
Apr 14 2015 18:49
as far as the pcl libs go
I'm really not sure what todo, I talked with @ejsmith a bit about it
it's like we never want to blow up ever, but how many users is it affecting? Windows auto update should cover everything
Phyxion
@Phyxion
Apr 14 2015 18:50
I really wished we could ditch old operating systems
no, it doesn't
the update isn't rolled out on Windows XP automatically
Blake Niemyjski
@niemyjski
Apr 14 2015 18:50
yeah,
Phyxion
@Phyxion
Apr 14 2015 18:50
it is on Windows Vista (which suffers from the same problem) and 7 as well
Blake Niemyjski
@niemyjski
Apr 14 2015 18:50
at the same time, xp is no longer supported by microsoft...
Phyxion
@Phyxion
Apr 14 2015 18:50
Windows 8 is OK as it ships with 4.5 by default
Blake Niemyjski
@niemyjski
Apr 14 2015 18:51
what kind of software do you release?
Phyxion
@Phyxion
Apr 14 2015 18:51
yes, I know, but Vista and 7 are. With unpatched OS it crashes.
Blake Niemyjski
@niemyjski
Apr 14 2015 18:51
yeah
that really sucks
Phyxion
@Phyxion
Apr 14 2015 18:51
it it just got a message that .NET update is required (like it does on Vista / 7 when you do not have it installed), it would be OK
but the program just crashes immediately, which is terrible.
Blake Niemyjski
@niemyjski
Apr 14 2015 18:52
yeah
theres not even a place to add a bootstrapper in
thinking
Phyxion
@Phyxion
Apr 14 2015 18:52
It's not that much work, you can just add another project and target .NET 4.0 client and reference all the files and build it as well.
Blake Niemyjski
@niemyjski
Apr 14 2015 18:52
could you try wiring up to assembly resolve?
and showing a message?
yeah, I was thinking about that
but every package depends on portable
Phyxion
@Phyxion
Apr 14 2015 18:53
There are a lot of projects that do so (such as Caliburn and Json.NET)
Blake Niemyjski
@niemyjski
Apr 14 2015 18:53
so now what do we do have a new base just due to this issue and have portable be seperate and a ton of duplicated code?
Phyxion
@Phyxion
Apr 14 2015 18:53
it's basically only the .csproj that is double
code is identical
Blake Niemyjski
@niemyjski
Apr 14 2015 18:54
yeah, but our base packages..
we want them all to derive from portable
and then we prob break the nuget upgrade process
Phyxion
@Phyxion
Apr 14 2015 18:54
nuget should be fine
there are multiple folders, it will take the correct one automatically
i've had it before with another nuget package
if those are pcl then they need to have a .net 4.0 as well.
however, how many would those be?
it's not like the server packages matter
only wpf / winforms / console i think?
Blake Niemyjski
@niemyjski
Apr 14 2015 18:55
all of them use the portable lib
Phyxion
@Phyxion
Apr 14 2015 18:56
yes but server packages can still use portable
it's not a problem if someone wants to host it that they have to update .net
Blake Niemyjski
@niemyjski
Apr 14 2015 18:56
thinking you just cant replace the assembly in the 40 nuget folder
everything's compiled against the pcl lib
so you'd break em all
that's not true
we had a customer running windows 7 without that patch break a web app
web apps I'm not to worried about...
because its going to be deployed once
desktop apps are different
Phyxion
@Phyxion
Apr 14 2015 18:58
These are the only required clients I think (besides web / nancy probably)
Blake Niemyjski
@niemyjski
Apr 14 2015 18:58
those are all dumb clients if you look at the source
they all use portable and extras for implementations
Phyxion
@Phyxion
Apr 14 2015 18:59
aha
then a bit more needs .net 4.0 as well
Blake Niemyjski
@niemyjski
Apr 14 2015 18:59
right now there are three work arounds which none of them are great...
  1. Let customers know about the patch,
  1. Recompile the assemblies
Phyxion
@Phyxion
Apr 14 2015 19:00
anything on the client os is pretty much not very useful (we cannot rely on the installer).
Blake Niemyjski
@niemyjski
Apr 14 2015 19:00
  1. Use 1.5 client
I've done it in our wix installer
works pretty well
it prompts them with a system installer dialog saying they are missing a prereq and it takes them to a page to download it
not great.
  1. target 4.5
other solution is we change everything to not use a pcl and release a pcl seperately
Phyxion
@Phyxion
Apr 14 2015 19:02
given the fact that most other packages on NuGet all went with a separate pcl package I think that's the best solution
Blake Niemyjski
@niemyjski
Apr 14 2015 19:02
yeah
just stinks because we already have an exceptionless package
which is for console/services
Phyxion
@Phyxion
Apr 14 2015 19:04
yes, maybe Exceptionless.Shared / Exceptionless.Shared-PCL or something?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:04
won't work
everything is defined currently in the pcl library
if you moved that out
you'd have to have two sets of code for anything that references full vs pcl
granted most of it would just be a linked code
but things would be linked twice
Phyxion
@Phyxion
Apr 14 2015 19:05
yes, but at least you have that option
would be even worse to constantly copy paste everything
Blake Niemyjski
@niemyjski
Apr 14 2015 19:06
yeah but it dirtys the code base for what
Phyxion
@Phyxion
Apr 14 2015 19:06
yes, I know
I don't like it either
Blake Niemyjski
@niemyjski
Apr 14 2015 19:06
supporting an operating system that no one should be on? and will more than likely die in the next 6 months
Phyxion
@Phyxion
Apr 14 2015 19:06
If Microsoft just added a kill switch for old OS and force updates...
Blake Niemyjski
@niemyjski
Apr 14 2015 19:06
jhust created a code nightmare that we'd have to live with long term
I'm not saying you are wrong.. It's something that needs to be addressed
just not sure what's the best way...
yeah
Phyxion
@Phyxion
Apr 14 2015 19:07
I fully understand, all ways are not ideal
our Windows XP base is around 10%
Vista + 7 is 60% or something
all have this problem ;(
Blake Niemyjski
@niemyjski
Apr 14 2015 19:07
I'm more than happy to create a batch script / program that runs and asks to see if a patch is installed
put it on nuget with a dialog, you could call on app startup and show it
Phyxion
@Phyxion
Apr 14 2015 19:08
the problem is that it crashes on startup
Blake Niemyjski
@niemyjski
Apr 14 2015 19:08
then you show that / a banner for some time and then after that grace period just update..
I'm saying keep on 1.5 / recompile and show a banner
/ add it to installer
I'd be more than happy to write a wix / other few common installers to check for it
idk,
like you said 10% is still 10%
1% isn't acceptable
Phyxion
@Phyxion
Apr 14 2015 19:09
yes, but thats only xp
Blake Niemyjski
@niemyjski
Apr 14 2015 19:09
yeah
Phyxion
@Phyxion
Apr 14 2015 19:09
Vista is 6% (not much, I admit) and 7 is 60% or something
the problem is not the installer, we can do it ourselves (we also do a .net 4.0 check, it's a piece of cake)
but the update
Blake Niemyjski
@niemyjski
Apr 14 2015 19:10
what if you added a pre update check
Phyxion
@Phyxion
Apr 14 2015 19:10
possible on a small percentage of the users
Blake Niemyjski
@niemyjski
Apr 14 2015 19:10
still doesn't solve this for everyone else :(
Phyxion
@Phyxion
Apr 14 2015 19:10
many are automatically updated through another client we have no control over
we would end up with thousands and thousands of unusable clients
Blake Niemyjski
@niemyjski
Apr 14 2015 19:11
what package are you using
Exceptionless?
or Exceptionless.Wpf?
Phyxion
@Phyxion
Apr 14 2015 19:11
.Wpf
which also references Exceptionless and Exceptionless.Models
Blake Niemyjski
@niemyjski
Apr 14 2015 19:12
well in the new one it only references extras, and portable
Eric J. Smith
@ejsmith
Apr 14 2015 19:12
I'm jumping in here without a lot of context... are you saying that we can't add both pcl and net40 assemblies to the base portable lib?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:12
I don't think we can,
it's worth a shot
Phyxion
@Phyxion
Apr 14 2015 19:12
i think that's possible but you would need to convert all clients as well
Eric J. Smith
@ejsmith
Apr 14 2015 19:12
yes, I think we should give that a try. The platform clients are already targeting net40
Blake Niemyjski
@niemyjski
Apr 14 2015 19:12
We'd need multiple project files, which is a pain but not that bad,, but I think it would mess with assembly references
and lead to binding issues?
Eric J. Smith
@ejsmith
Apr 14 2015 19:13
why do we need multiple project files?
Phyxion
@Phyxion
Apr 14 2015 19:13
you cannot have one PCL package in a non-PCL one, otherwise the problem still persists
Blake Niemyjski
@niemyjski
Apr 14 2015 19:13
because portable is a special project file type
Phyxion
@Phyxion
Apr 14 2015 19:13
yes, you cannot add another target such as with .NET 4.5
Eric J. Smith
@ejsmith
Apr 14 2015 19:13
right, the platform libs are not pcl
only the core one is
Phyxion
@Phyxion
Apr 14 2015 19:13
you need a separate project for it
Eric J. Smith
@ejsmith
Apr 14 2015 19:14
I think vs2015 might make this easier with the multi targetting.
Phyxion
@Phyxion
Apr 14 2015 19:14
multi targeting is already in 2013
its for PCL
I don't think they changed this?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:16
I honestly don't think there is a good way with doing this.
I think the only way is to copy everything into a seperate project and release portable all by itself and then have two different type / namespace issues if they accidently reference portable
Eric J. Smith
@ejsmith
Apr 14 2015 19:17
yeah, they made it easier to do multi-targetting with the new project system.
Blake Niemyjski
@niemyjski
Apr 14 2015 19:17
almost think that maybe we just make it really easy to recompile the pcl project as non pcl side?
hmm
oh yeah, with the vnext?
but hes still running .net4.
Eric J. Smith
@ejsmith
Apr 14 2015 19:17
yeah, but vnext still targets old framework versions.
I am not 100% sure that it would be easier in 2015, but I think it is.
Blake Niemyjski
@niemyjski
Apr 14 2015 19:18
@Phyxion how long would it take you to upgrade to vs2015?
Eric J. Smith
@ejsmith
Apr 14 2015 19:18
why is he upgrading?
aren't we the ones that need to do this?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:18
well what would it take
yes,
but client side would it require nuget 3.0?
guess that ships with vs2013??
Blake Niemyjski
@niemyjski
Apr 14 2015 19:19
They need to hurry up and release a rc/rtm
so
that brings me to my next question
if we do that
should we raise our pcl target to be .net 4.5 only
Eric J. Smith
@ejsmith
Apr 14 2015 19:21
why?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:21
/net40
Eric J. Smith
@ejsmith
Apr 14 2015 19:21
we need to target as many people as possible... we should only target higher levels if we are using features from them.
Blake Niemyjski
@niemyjski
Apr 14 2015 19:21
/pcl+net40sl345345dgsdfg
Phyxion
@Phyxion
Apr 14 2015 19:22
@Phyxion how long would it take you to upgrade to vs2015?
when rtm is there
aren't we the ones that need to do this?
i think so :)
Blake Niemyjski
@niemyjski
Apr 14 2015 19:22
lol
Is there any chance you could test this locally ( http://stackoverflow.com/questions/16756047/produce-a-net-4-0-library-from-a-pcl-project-where-code-is-identical ) and do a pull request?
would help out a lot and I could test it and deploy it quickly
Eric J. Smith
@ejsmith
Apr 14 2015 19:23
I mean we as in the exceptionless project... we are always open to help / pull requests :-)
Blake Niemyjski
@niemyjski
Apr 14 2015 19:23
:shipit:
Phyxion
@Phyxion
Apr 14 2015 19:23
the changes to the csproj
i already tried that, it works
also check my report on this
it's a few lines
Blake Niemyjski
@niemyjski
Apr 14 2015 19:24
yeah
Phyxion
@Phyxion
Apr 14 2015 19:24
but its not as simple as written there as you also need to add a couple of references to the csproj
Blake Niemyjski
@niemyjski
Apr 14 2015 19:24
we need nothing to change other than for it to do a 4.0 build and put it into the right nuget folder
Phyxion
@Phyxion
Apr 14 2015 19:24
for nuget, yes
Blake Niemyjski
@niemyjski
Apr 14 2015 19:25
what other references?
Phyxion
@Phyxion
Apr 14 2015 19:25
nuget will automatically use the best available client (and prefers net40 over pcl)
System, System.xml, etc
Blake Niemyjski
@niemyjski
Apr 14 2015 19:25
yeah those could be conditional
we'
what would it need system.xml for?
Phyxion
@Phyxion
Apr 14 2015 19:25
well the .Portable needs System.Xml
I haven't tried the other projects, I just wanted to see if it actually compiled
Blake Niemyjski
@niemyjski
Apr 14 2015 19:26
blob
we aren't doing anything with system.configuration / xml in the pcl client
that happens in the extras project
Phyxion
@Phyxion
Apr 14 2015 19:27
well System.xml needed to be referenced otherwise it wouldn't compile
i just checked the Build.sln from the above stackoverflow
that seems a lot cleaner
and absolutely doable
Eric J. Smith
@ejsmith
Apr 14 2015 19:27
would love to see if that works.
Blake Niemyjski
@niemyjski
Apr 14 2015 19:28
yeah, that would be nice :)
good job you too
knew if I complained enough eric would find something :D
2*
Phyxion
@Phyxion
Apr 14 2015 19:29
hahaha
Blake Niemyjski
@niemyjski
Apr 14 2015 19:29
I'm really curious if it will work
Phyxion
@Phyxion
Apr 14 2015 19:29
yes, I think it will
you do need to run it through msbuild
that's the disadvantage of this method
I don't this works directly through VS, but maybe it does
Blake Niemyjski
@niemyjski
Apr 14 2015 19:30
yeah it should
vs uses msbuild
we already use msbuild there to build the projects
Phyxion
@Phyxion
Apr 14 2015 19:31
i think vs only builds the selected configuration
Blake Niemyjski
@niemyjski
Apr 14 2015 19:31
yeah
Phyxion
@Phyxion
Apr 14 2015 19:31
it does so with the projectgroups
Blake Niemyjski
@niemyjski
Apr 14 2015 19:31
I think the selected by default would be portable
as we already have a constant called PORTABLE40
Phyxion
@Phyxion
Apr 14 2015 19:32
I'm not sure if with these switches in the csproj it would actually see two different groups
Blake Niemyjski
@niemyjski
Apr 14 2015 19:33
I don't think it does
it's been a while since I did that tho
I thought it evaluates properties first and then applys the conditions.. I could be wrong (if so let me know)
Phyxion
@Phyxion
Apr 14 2015 19:35
i haven't touched it in a while either
one would have to try it but this seems by far the best solution
Blake Niemyjski
@niemyjski
Apr 14 2015 19:38
Can you log this and possibly submit a pull request :)?
Phyxion
@Phyxion
Apr 14 2015 19:39
I can try it out, yes.
I can't do all as I don't have everything installed here.
When I opened the project it complained about some missing stuff (like silverlight) so I deleted some projects that I didn't need
Blake Niemyjski
@niemyjski
Apr 14 2015 19:41
I just had vs2013 premium installed
I'm going to setup a vm real soon and figure out what is all needed for the ui
and project
sigh only so much time in the day
blob
Phyxion
@Phyxion
Apr 14 2015 19:42
yes, i know the feeling :P
Blake Niemyjski
@niemyjski
Apr 14 2015 19:42
good news is we almost have a fully tested javascript client :)
@Phyxion if you don't mind me asking, what company do you work for?
Phyxion
@Phyxion
Apr 14 2015 19:45
i added a comment to the .NET project about this, I think I have some time tomorrow (I need to do some other maintenance as well though) so I can see if I can get this to work for at least one project
it seems pretty straight forward so when it works it shouldn't be that hard to also add it to the other project files.
Blake Niemyjski
@niemyjski
Apr 14 2015 19:48
we'll you should only need to add it to the one
as we only have one pcl lib
Phyxion
@Phyxion
Apr 14 2015 19:49
is only the .Portable one PCL?
Blake Niemyjski
@niemyjski
Apr 14 2015 19:49
yeah
that's it :)
Phyxion
@Phyxion
Apr 14 2015 19:49
Oooooooooh
Blake Niemyjski
@niemyjski
Apr 14 2015 19:50
so should know right away if we break something everything references it
:)
Phyxion
@Phyxion
Apr 14 2015 19:50
I'm really curious if the other projects will use the 4.0 dll
Blake Niemyjski
@niemyjski
Apr 14 2015 19:50
yeah, it's a hard call
I'd like everything by default to be pcl
because thats the lcd, and if it works the other will work
Eric J. Smith
@ejsmith
Apr 14 2015 19:50
would be nice
Phyxion
@Phyxion
Apr 14 2015 19:51
yes indeed
I don't know how VS normally handles this if you have multiple targets
I assume there is some intelligence going on there as it wouldn't make much sense that it would reference a 4.5 dll when you have the project set to 4.0.
(and when you also build a 4.0 of course)
either way, I'll check it out tomorrow and let you guys know, my work day is over, thanks for the help and chat :+1:
Eric J. Smith
@ejsmith
Apr 14 2015 19:53
thanks for the help!
Blake Niemyjski
@niemyjski
Apr 14 2015 19:54
Thanks!