Visual Studio adds unnecessary using's when creating a new class [duplicate] - visual-studio

This question already has answers here:
How do you default a new class to public when creating it in Visual Studio?
(9 answers)
Closed 3 days ago.
I use Visual Studio 2022 to work with .Net stack.
When I am creating a new class or interface it always appears with a bunch of unnecessary using's.
Is it possible to disable such behavior?

As mentioned in the answer to How do you default a new class to public when creating it in Visual Studio? it is possible to edit templates Visual Studio uses for the new Classes and Interfaces.
For VS2022 Community Edition the path to templates folder is C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\ItemTemplates\CSharp\Code\1033\
Thanks julealgon for the hint

Related

Getting started with Visual Basic [duplicate]

This question already has answers here:
What are the differences between Visual Studio Code and Visual Studio?
(14 answers)
Closed 3 years ago.
I'm getting started with learning visual basic and was wondering if I should download the visual studio community or the visual studio code? What's the difference?
If you own a Windows machine, Visual Studio Community is the best. But only if you have a Windows machine.
If you use some other OS like macOS you will have to use Visual Studio Code, but it is not as easy to set up.
macOS does have a Visual Studio for Mac, but it is not the same as Visual Studio for Windows. Instead, it is used for Unity3d programming and Xamarin for mobile applications.
Coming from 2 years of classroom experience, Visual Studio Community is the BEST way to begin learning Visual Basic.
VS Code uses .NET Core, a limited Open-Source Version of the .NET Framework.
VS Community uses the full .NET Framework and allows you to use e.g. Windows Forms.
VS Code is more lightweight than VS Community, but for a beginner it's usually simpler to use VS Community if you just want
to learn programming. There is also more information about VS Community so I recommend you to use it.
Visual Studio Community is only available for Windows, so if you are on Linux or MacOS X you'll have to use VS Code.

How do I determine the correct Visual Studio version for source? [duplicate]

This question already has answers here:
How can Visual Studio determine a solution file's version?
(3 answers)
Closed 2 years ago.
I am retrieving old programs from source control & visual studio tells me that the source needs to be converted.
How can I tell which version of Visual Studio is required to open a source without conversion?
The easiest way to do this is to open the solution file in your text editor of choice which will give you the version of visual studio in the header like
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 14.0.24720.0
Then look that up somewhere like this table (https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History)
To find out the correct version

Anyone knows the difference between visual studio 2012 VS visual studio 2010? [duplicate]

This question already has answers here:
Visual Studio 2012 compared to Visual Studio 2010 (delta) [closed]
(2 answers)
Closed 9 years ago.
Is there anyone who can better explain the visual studio 2012 and visual studio 2010 Features?
There is a lot of differences. The best place to start is with the "What's New in Visual Studio 2012" page which you can find here: http://msdn.microsoft.com/en-us/library/vstudio/bb386063(v=vs.110).aspx
There are a whole lot of differences! Either you need to ask for an aspect specifically or I'll just tell you "they look different, like, alot, but not soo much". But in all seriousness, there is a website to consult about the new features of Visual Studio 2012.
Additionally, the answer is dependent on the version you choose (Express, Professional, Ultimate...).
If you are asking for a feature matrix, I only know of this one comparing Pro, Ultimate and Premium, but regarding VS2013 and this comparing the Express versions of VS2012.

What are your top Visual Studio 2010 extensions? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
Best VS2010 Extensions
Visual Studio 2010 - recommended extensions
I've just discovered JSEnhancements for Visual Studio 2010 and it's left me wondering what other "indispensable" extensions and add-ins there are that I might benefit from.
What are your key productivity extensions for Visual Studio 2010?
JetBrains Resharper. It's not free, but it's surely the best around.
Edit: I also like TestDriven.NET. And it's usually free.

Compiling Visual Studio 2008 Project with Mono [duplicate]

This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
How can i build a visual studio solution using xbuild (from Mono)?
How to compile a visual studio project/solution with Mono ?
If this is possible, Will the output run without installing .NET Framework ?
Yes, it is possible. Mono has xbuild, an implementation of msbuild which is used by Visual Studio to build VB.NET and C# projects (but not VC++). As is typical for Mono, this is a work in progress, be sure to check the todo items to see how suitable it is for your projects.
Yes, definitely check out MonoDevelop. They actually answer this question in their FAQ.

Resources