My References.cs file (generated by my recent addition of a third party WSDL reference) is very large. 664,293 lines. Often when I open the file, the Visual Studio 2019 IDE crashes and re-opens.
I guess I am taxing my Windos 10 OS by opening the file?
In Task Manager, CPU % usage jumps when I scroll the file. So does RAM usage. I can clearly see that the file is impacting my system.
But my question is not IF the file is large, but what to do about it?
Can the file be compiled somehow, so I still have access to the web methods in the WSDL without having to actually OPEN the References.cs file? I mean, I know I don't have to OPEN the References.cs file in order to reference the methods, but I can't just delete the file, right? I want to compress it or compile it or do something so it reduces the impact on my system.
I have been adding large reference files to Visual Studio for a while now. I do not think you have to open the file to see methods and other things.
1. If you can, refer to the documentation
2. You can use Object Browser
3. Just start typing in and let intellisense take care of the rest. This is bit cumbersome but have always worked for me.
PS: What is the configuration / specs of your Dev machine?
Regards,
Chinmay.