The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Two years ago, I got stumped by a problem and solved it with a sloppy workaround. It worked and the website/app was delivered on schedule, but it was a dirty hack and always stayed in the back of my mind.
Getting ready for version 2.0, this was an item that I intended to solve. Almost two weeks of little victories and countless hours of research and trial and error have finally led to success! Even though I've been doing this for almost 20 years, it still invoked a karate kick and a short string of muttered obscenities. 'take that you b*****d!'
For anyone curious, the issue was getting the .net sql reportviewer to work under an Azure website environment. (not vm) Previously after reading somewhere that it wasn't 'officially supported' I resolved to exposing our in-house SSRS to host the reports which connected to the app's Azure database. As mentioned, this worked but it was really slow and difficult to maintain. (there are probably security risks as well)
I realize that this is probably beginner grade stuff for most of you, but it was a nice learning experience for me.
Anyhow, it feels great to finally replace a bad hack with a better one! Now begins the actual grunge work of migrating a few dozen reports from .rdl format to .rdlc.
OK, So I run up VS2017 and get it to create a blank Xamarin Forms cross platform app from it's built in templates.
18 errors, 2 warnings.
"InitializeComponent" does not exist.
"System" not found.
OK, lets see ... check out the .cs file, and there is calls InitialiseComponent - right click, "go to definition" - file opens, there it is.
Close the file again. And ... all the errors vanish.
Run it and it works.
So, you have to open a file to tell it where the stuff it just created is? O....Kay...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
The componentization of VS2017 is nice, especially since I work exclusively in native C++, However, I've been underwhelmed by the rest of the release. The CMake support is clunky, at best, and their C++17 support is lacking. I ran into a bug with the RC version that was so blatant, I wondered what else their non-testing let through (and Griff found at lease one!)
Just a shot in the dark: If you have more than one project in the solution, make sure inter-project dependencies are set correctly. If not, the solution may build erratically, giving errors at times and not at other times.
I created different project types and found that about 80% of the templates either
1. Same as was in 2015, so has problem finding the right reference before first compilation (referencing assembly that compiled for 4.5, but the project target is 4.6)
2. Missing references to support the code generated...
Microsoft was so eager to release the 'fast' version of 2015, that decided to build a new version around, but the process went a bit wrong...
Skipper: We'll fix it. Alex: Fix it? How you gonna fix this? Skipper: Grit, spit and a whole lotta duct tape.
One Buddhist might say: "as long as it takes;" another: "as long as you don't give;" another might giggle and hit you over the head with whatever was handy; and so forth and so on ?
«When I consider my brief span of life, swallowed up in an eternity before and after, the little space I fill, and even can see, engulfed in the infinite immensity of spaces of which I am ignorant, and which know me not, I am frightened, and am astonished at being here rather than there; for there is no reason why here rather than there, now rather than then.» Blaise Pascal
Until a couple of days ago I had VS2010, VS2013, VS2015 and VS2017, but the other day removed VS2010 and VS2015. Never really used VS2015 and hadn't used VS2010 in several years but downloaded VS2017 a few days ago and it seems pretty stable so I started using it as my primary IDE. The only reason I stayed with VS213 is that I had wrote a ToDoManager extension and come to rely on it heavily and VS2013 was the last IDE that I could install it on. I have looked high and low for a replacement with same functionality but haven't found anything like it. I id download out own dan.g's ToDoList the other day and am kicking the tires and it's almost a fit but there are some features I miss.
C'est la vie
Someone's therapist knows all about you!
Last Visit: 31-Dec-99 18:00 Last Update: 25-Apr-17 20:34