Current Events > .Net is the worst

Topic List
Page List: 1
DevsBro
04/30/20 3:11:18 PM
#1:


Stackoverflow: Add a reference to System.IO.Compression.FileSystem!

Gotcha!

*add reference*
*no System.IO.Compression.FileSystem*

Hm...

*using System.IO.Compression.FileSystem*
*red squigglies*

Urgh.

*nuget System.IO.Compression.FileSystem*
*finds it, installs it*
*still red squigglies*

SMH

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
DevsBro
04/30/20 3:16:19 PM
#2:


Maybe because I made this as a core project instead of a framework project, I don't know, it wouldn't let me make a Framework project.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
Silver Bearings
04/30/20 3:21:54 PM
#3:


What about .gov?

---
Silver Bearings 2020: Clear Vision for America
... Copied to Clipboard!
fohstick
04/30/20 3:22:40 PM
#4:


what is .net used for? server programming?
... Copied to Clipboard!
DevsBro
04/30/20 3:25:37 PM
#5:


fohstick posted...
what is .net used for? server programming?
Literally everything.

Literally every damn thing.

Server stuff, websites, console applications, you name it, Microsoft has found a way to force me to use .Net.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
BigTee66
04/30/20 3:26:53 PM
#6:


I tried to learn it at one point. I remember importing SQL command into it and having errors for days....

...only for a missed semicolon

---
MSI Z170-A PRO LGA 1151 | i5 6500 | ASUS ROG GeForce GTX 1070 | 8GB DDR4 x 2 | EVGA 650W | Inwin 703 Black | Some starter build
Steam: teeman92
... Copied to Clipboard!
I Like Toast
04/30/20 3:34:20 PM
#7:


pretty sure you just want https://www.nuget.org/packages/System.IO.Compression/4.3.0

there's a seperate one for zips if that's what you're working with
https://www.nuget.org/packages/System.IO.Compression.ZipFile/

most everything with .net core is nuget at this point.

---
If you do things right, people won't be sure you've done anything at all
... Copied to Clipboard!
DevsBro
04/30/20 3:36:26 PM
#8:


I Like Toast posted...
pretty sure you just want https://www.nuget.org/packages/System.IO.Compression/4.3.0

there's a seperate one for zips if that's what you're working with
https://www.nuget.org/packages/System.IO.Compression.ZipFile/

most everything with .net core is nuget at this point.
I want to do https://stackoverflow.com/a/14753848/4616944

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
I Like Toast
04/30/20 3:38:07 PM
#9:


Asked 8 years, 11 months ago

but yeah, second file then since that's zips

though if you're trying to use that 3rd party zip software, that's probably not compatible with .net core.

---
If you do things right, people won't be sure you've done anything at all
... Copied to Clipboard!
CreepySmile
04/30/20 3:39:38 PM
#10:


You should try the custom software the school uses
Imagine if nothing at all made sense and if you want to do a search you literally have to search through thousands of records which can take 5 minutes to find one student's name

---
I just want to be loved
... Copied to Clipboard!
DevsBro
04/30/20 3:42:00 PM
#11:


I Like Toast posted...
but yeah, second file then since that's zips
Well that one gives me red squigglies and doesn't say why. Oh wait, yes it does. It says ZipFile is not a namespace.

But when I add static, it still thinks the using directive is unnecessary.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
DevsBro
04/30/20 3:43:06 PM
#12:


I Like Toast posted...
though if you're trying to use that 3rd party zip software, that's probably not compatible with .net core.
I don't think this answer includes any third party stuff.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
I Like Toast
04/30/20 3:44:00 PM
#13:


DevsBro posted...
Well that one gives me red squigglies and doesn't say why.
your namespace will just be System.IO.Compression, then ZipFile is your class. after adding the nuget of course.

---
If you do things right, people won't be sure you've done anything at all
... Copied to Clipboard!
DevsBro
04/30/20 3:46:36 PM
#14:


Oh man I'm such an idiot.

I didn't have any of this in a function. It was just sitting there inside the class.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
I Like Toast
04/30/20 3:48:42 PM
#15:


they're methods in .net

---
If you do things right, people won't be sure you've done anything at all
... Copied to Clipboard!
Questionmarktarius
04/30/20 3:56:41 PM
#16:


Hey.
At least it's not Java.
... Copied to Clipboard!
DevsBro
04/30/20 4:02:18 PM
#17:


I Like Toast posted...
they're methods in .net
Whoops. Method.

That's not necessarily true though. .Net works with a number of languages, and some of those have functions and/or procedures. A#, for example.

---
53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53 53
... Copied to Clipboard!
I Like Toast
04/30/20 4:04:04 PM
#18:


DevsBro posted...


That's not necessarily true though. .Net works with a number of languages, and some of those have functions and/or procedures. A#, for example.


but fair enough, i only use it with c# and i'm fairly sure you do as well

---
If you do things right, people won't be sure you've done anything at all
... Copied to Clipboard!
Topic List
Page List: 1