Creating a plugin for Visual Studio [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm a fan of style cop but hate the way it dosn't have a more producticve way of resolving errors.
So I'm thinking, to give me a wee project to keep me happy in my spare time, of creating a Visual studio plugin to automate some error fixing.
Has anyone authored a plug in before and got any useful links, hints, experience to share?

You can write an addin to Visual-Studio on it's addins model directly: http://www.c-sharpcorner.com/UploadFile/mgold/AddIns11292005015631AM/AddIns.aspx
It requires some hard work since the extension model is not very intuitive.
You can also do it using DXCore:
http://blogs.microsoft.co.il/blogs/dhelper/archive/2009/06/17/how-to-write-a-simple-dxcore-plug-in.aspx
It's a little bit more simple, and the plugins engine is free.
Last option is to write plugins using Resharper, I never did it but it has reach plugins among Style-cop plugin.
I had experience with both of the first options. First one, VS extensions model, is very hard to work with. It's an old API coming from previous versions of VS, based on classic COM and miss a lot of documentation. Second option, DXCore plugins, is much more intuitive,
has reacher API but it also lack some documentation. Another issue is that it requires installation of ~30MB.
Good luck :)

The new Visual Studio 2010 Beta 2 and the SDK have projects designed for this kind of thing. The extensibility options with the new WPF interface will be a great way to get this done:
http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Extensibility
There is going to be a lot of cool things coming out with 2010
The videos are also really good on : http://msdn.microsoft.com/en-gb/vstudio/bb507746.aspx but these are for older Visual Studio versions

Related

What is C#.net meaning in conjuction with terms like Javascript, HTML5, CSS etc? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I recently got an offer for a traineeship for C#.NET. However before being allowed in the traineeship I need to make a small program which displays my programming skills in "C#.net". I don't know what to do now. I've downloaded visual studio 2015 and when I open it I see lots of stuff like console application/windows application etc and even .asp.net applications for web.
In the traineeship document terms are used like " Object Oriëntated, Object Orientated Analysis and Design, UML, Database Design, SQL, XML, Scrum, Javascript, HTML5 CSS3, jQuery, Ajax, Design Pattern (MVC) and WCF.
I don't have a clue where to start! If they wanted ASP websites they could've explicated this right? Should I make them a keygen music mp3 player in a console application? Srs please help. I got 1 week for this.
Usually when asked to perform such task with as vague description as possible, the recruiters want to see your creativity and general knowledge of the technology. You don't have write another Windows system, so it's entirely up to you on what you decide to write. Just make sure it will work and it will follow general coding guidelines and it should be okay :)
I'm sure this is not the place to ask that question. You better go get some tutorials and try to walk your first steps on C# and .NET. As Keran said, the recruiters just want to know your programming and knowledge level of .NET.
Microsoft Virtual Academy is a good place to start.
Have fun!

How to "integrate" non-.net developers into a .net project? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm working on an Asp.net MVC + WebApi application that's using Azure (SQL, Storage) in the back and Angular in the front. Locally I'm running MS SQL and Azure Storage Emulator. But I desperately need some extra development brains because there's just too much work to do.
I've got a good client-side developer that will be able to help me on the Angular part of the app as well as on LESS files. So pretty much the client-side only.
The problem is that he's never used Visual Studio and doesn't intend to start doing so just for this project. He's used to client-side tools, smart editors like Sublime and similar and client automation services like Grunt or Gulp that could replace Web Essentials auto compilation of LESS files.
But there'll always be the problems of *.csproj files (they'd likely mess it up with manual edits if at all), app compilation (although that would be possible with some batch files), manage NuGet packages, database upgrades etc. It just seems too complicated without Visual Studio's automation.
So how can you sufficiently work on a .net project without Visual Studio (or WebMatrix)? and still be able to:
add new/remove/rename files in the project
add/remove/upgrade NuGet packages
compile the app as other devs may've changed backend to support something new on the client
else?
Who has done it, which tools should be used and how painful is it?
Note: I'm not asking about software recommendations even though may read that way. I'm mostly interested in your experience and whether I should force that developer to go hands on with Visual Studio or not...
I'm not going to say that it isn't possible to work on a Visual Studio project without Visual Studio, but I'm definitely going to say that it isn't at all feasible.
If you are building a Microsoft MVC system within Visual Studio, then you have made that system dependent on Visual Studio. The 'Solution' and 'Project' files are dependent on Visual Studio. Even though they are technically XML files that can be manually manipulated, it's just not feasible to go that route.
If your developer has the resources and capabilities of installing/using Visual Studio, that's the route that s/he needs to go. The fact that s/he has no prior experience working within Visual Studio, to me, isn't a good excuse.
IMO :-
You should force the developer to use VS because in the end it is
just a tool to use, with lot helpful(needed) features.
The porting of Project would required hell of a effort and Skills, So
in the end you will waste most development time in it than it would
take the developer to get familiar with VS.
This would be good for developer to learn and expand his
knowledge-base about IDEs, If he is thinking that it would be hard or
not interested to learn new stuff. Then I think you got the wrong guy
:)

Why would you choose SharpDevelop over Visual Studio for coding in C#? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've encountered SharpDevelop a few times before but I don't know anyone who actually programs in it. Would you recommend it for medium size projects in C#?
Subquestions: Is there a difference in speed of compiling? (Article is about multi-threading compliling in SharpDevelop)
Thanks for answers!
There is absolutely no compelling reason to choose SharpDevelop over Visual Studio if you have the choice and the budget.
Visual Studio is by far the best IDE on the market, and I have used quite a few.
And, as Marty says in comments, he is a student. At http://www.dreamspark.com any student can get free, full professional versions of most all of the Visual Studio and Windows SKU's.
Visual Studio is also offered without cost in less featured versions labeled 'Express'
If you are not a student (or don't know one, wink wink) and on a budget, and the VS express versions don't have the features you need, then SharpDevelop would be a good way to go.
I am not an MS fanboy, just in case you are wondering.
I am running SharpDevelop in a Windows VM on a macbook air, which has only a 256G solid state "hard disk", so I need to keep the VM package as small as possible. An installation of Visual Studio, by the time all its updates had been installed, increased the size of the VM package by about 8G. Too big. And why does it take so long to install? what is it doing to the registry? So why spend several hundred pounds on Visual Studio when SharpDevelop is free and tiny by comparison?
For people who need opensource.... eclipse for example would have never been so successful without Open Source
Complete list for Feature comparison (VS Express vs SharpDevelop):
http://community.sharpdevelop.net/blogs/mattward/pages/VisualStudioExpressComparison.aspx
If you have a full license for Visual Studio and are going to write only Windows programs for only yourself or a business, then there would be no incentive.
However, if you wanted to use the C# language and the .NET-style for an Open Source project, or one that is compatible across many platforms, you'd probably choose to use Mono instead of .NET and SharpDevelop instead of VS.
i have tried it for VB.NET couple of years, didn't like the IDE.
After i tried i used the Express Editions for C#/VB.NET (2005).
Now i've a msdn premium account from my company, thats why i only use the Team Systems (home/work).
I think VS is imo the best IDE to develop with the .NET Framework.

Opensource project setup [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to set up an opensource community project in .NET, how do I go about it?
With my project, I started by choosing one of the many open source licenses (went with Apache 2.0). Then I added a LICENSE-file to my project, copy/pasted the license there and did the 'required' headers to each source file.
After that, I chose a project platform (or watchamacallit). I skipped SourceForge and chose Google Code instead, later moved to Assembla + GitHub. I upladed my source to the provided SCM-system (first SVN, later Git).
Alas, the hard part isn't selecting a license, getting your source public, documenting your stuff to a wiki or writing tickets. The hard part is to build the (successful) community around your project. For that you need an interesting project, people that are interested in your interesting project and a platform to connect these dots together. A dash of luck and/or reputation don't hurt, not the very least.
choose which license (bsd, gpl, etc.) you wish to release under
add README.txt, LICENSE.txt
there are many excellent options for free public hosting. You can see a lot of good comments here:
https://stackoverflow.com/questions/29736/what-open-source-hosting-service-should-i-use
www.codeplex.com would be another good starting place.
Go to:
http://code.google.com/hosting/
And follow the directions in the:
Create a new project link.
You can use other portals too.
You want to look create a repository on SourceForge or Github (those are the two I know of, there may be others). That would be the first step.
Setting up a blog, if you already do not have one, and blogging about your progress, frustrations, and everything in between during the journey is also good for few reasons. It will serve as a note to self for you for future projects. It will also be a good thing for others who want to do something similar to look at as a roadmap. Finally, its a great way to get more and more interest in your project.
You also might want to look into Mono Project (http://www.mono-project.com/Main_Page) and use that instead of Visual Studio so that there is not a barrier for entrance for others to join your project. Those Visual Studio licenses are not cheap and Mono is free. While I have not worked with the Mono environment in a while, I have heard a lot of good things about it.
I hope this helps and good luck to you.

Looking for up-to-date eclipse plugin for C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I used to work with eclipse for nearly all the languages I need. I'm asked to work on a tool developed in C# and so, I would like to stay in the same familiar environment.
I've found the improve's plugin but its last release is from 2004 and .NET 1.1 which is quite old. Is there a newer plugin to program in C# within eclipse or am I forced to take a look at VS?
Emonic integrates mono into the eclipse framework, that may be of use.
I fear, that there is no good eclipse plug in. Try http://www.monodevelop.com/Main_Page or http://www.icsharpcode.net/OpenSource/SD/. And the free visual 2008 express editions are worth a look.
I have found below 2 articles helpful in trying to get C# Formatting in Eclipse:
C# Like format.xml
Article explaning how to change your formatting
MonoDevelop just released a Windows Beta, and it's looking very good. It's a cross platform C# IDE. It may be of use.
Emonic is worth a look as Jasper suggested. I've installed it in the past myself, but over a year ago. Checking the change logs on the site, it does not appear that they have had any new releases since then. The worst thing about it is that it does not supply a debugger or any refactoring tools. I've found that if you're going to work with Microsoft products it's best to eat the whole hog.
You will have a learning curve getting into visual studion from eclipse, but it will probably save you some time working out the nuiances with a product trying to build .NET code.
Visual Studio is a very nice environment to work in, the express editions are free so my suggestion would be to take the opportunity and have a look at the VS dev environment.

Categories