As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Visual Studio is the defacto editor, but what are our other options that avoid a heavy UI while still integrating with a C# build chain?
Looking for options which preferably use vi or vim directly, and those which emulate some or all of the functionality of vi and/or vim.
Here is a guide on Vim C# compiling.
In response to the comments -
It sounds like your goal is to have a fully functional IDE that works cross platform for C# development, not necessarily to use VIM. If that's the case, you can use MonoDevelop on all platforms (including Windows, but that's a bit trickier), and since you're probably already using the mono compilers on your other platforms, this might be a nicer option.
I'm not connected with the company in any way, but I've heard very good things about ViEmu. If the price were a little lower, I'd get it myself, because I love the editing power of Vim.
Right now there's now something called OpenIDENet from ContinuousTests https://github.com/continuoustests/OpenIDE
This along with AutoTestNet and EditorEngine provide a seamless Test Driven Development tooling for VIM.
EditorEngine gives AutoTest capabilities & commandline interactions to VIM ( ie. adding references, new projects to a solution etc. )
AutoTest does the heavy lifting by compiling on save; as it watches a directory. It also feeds back when tests fail.
The main page provides a video demonstration & howto for this tooling.
Also on windows NuGet is now available to be used from the commandline too.
I must point out that I do not work for continuoustests or get any money or favor from them, it's just that they produce awesome software for developing with.
MSBuild is a very powerful analog to Ant.
Use msbuild project files to manage your .NET projects, and write a nmake file that calls msbuild.
Map your vi make command to nmake
You can just use :make to do a build
If you are on the latest versions of VS, then the solution files can be built with MSBuild, which is basically a NAnt equivalent.
Otherwise, call csc to compile the files yourself.
I use nant as a build file (very simple and flexible) then call
:set makerpg=nant\ compile.all
Then whenever you wan't to compile just type :mak
This can be extended with custom error formats etc.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Ok friends, I'm a C# WPF .net developer and have been working pretty much exclusively with UI development in one language or another for the last 15 years. The last 7 have been with C# and I have to admit that I am spoiled.
So, the question is: How do I get started, and what tools are best to use? I see that MonoTouch is out there, but it looks like it is now called Xamarin. What about PhoneGap, Titanium, Appcelorator? Are there others I haven't heard of yet?
I am just wanting to break into Android Development and/or iPad/iTouch development, but don't want to go native. I would like to leverage my C# skills, preferably WPF, but I have no idea which tools support that for Android/iPad/iTouch development.
Which ones integrate with Visual Studio?
Anybody who has REAL EXPERIENCE with any of the above, or one that I haven't heard of, please chime in and point me in the right direction.
I really appreciate it.
Phonegap works by having a web view loading a html & javascript application, so, you wouldn't be using C#, and the results usually are a far shot from a native app.
In contrast, mono touch compiles your C# code so it can run natively on your mobile platform, and since they implement a wrapper around the native libraries you are suposed to be able to write applications as good as if you had gone native. On your case i think that would be pretty much the best way around.
By the way, Mono Touch doesn't remove the requirement of having a mac to develop iOS applications.
One of the best technologies is the Mono for Android/iOS framework - specifically for the fact that you can target 3 platforms just by coding for the one. Of course UI is independent so you'll still need to learn each platforms Design patterns etc... But here
http://xamarin.com/?gclid=CM_agZWFgLYCFUvHtAodeDYADw
The best place to start
If you're coming from WPF and familiar with the MVVM pattern you will find loads of js frameworks that share the same approach (KnockoutJs is a good one), basically this is what you'll be using if you want to go with a cross platform solution like PhoneGap wich is nothing more than wrapper for a webapp, and a few apis to access your device.
Personally I find PhoneGap a good solution only if you want to access the features of your device within a simple application.
As soon you start to add pages to it the feeling lack of responsiveness will make you wonder why you didn't go native from the start.
I would go for Xamarin. The Xamarin 2.0 has Visual Studio integration. You can write code for iOS or Android on Visual Studio 2012 (I am a ReSharper fan :) ).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What source control would be recommended to use for a self-managed project? It's a C# WPF project on Visual Studio 2010.
Use Mercurial with it's, probably, best Windows Desktop client TortoiseHG.
If you would like online repository, you can use GoogleCode. For local, fast changes, or some experimental stuff you can use a local one, provided by Mercurial itself, like all standard Distributed revision control system.
If you want good information on the management of Mercurial in general and HG in like a client, you can have look on excelent article from Joel Spolsky:
Hg Init: a Mercurial tutorial
There are also other alteranatives, like Git, for example, but honestly, I find Mercurial much easier to manage and understand and much more suitable for simple personal projects than Git or any other. It perfectly combines, in my opinion, the power of distributed system (with probably less functionality than Git offers, but do you really need all of that functionality??) and simplicity of control, which is the main point on my opinion.
If you do not want to set up your own repo, you may use bitbucket.org.
It is free for private commercial repos and works with bot git and Mercurial.
Personally ? I'd use git / tortoisegit.
I would recommend Team Foundation Service. It's still in preview and it is completely free.
You can subscribe at http://tfspreview.com
It integrates nicely with Visual Studio. You dont't have to install anything or worry about backups.
AnjhSVN (VS Plugin), using TortoiseSVN. You will also need an SVN Server. All three are free.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm running some analysis tools on our build like StyleCop/FXCop.
What i'd like to achieve is auto-correct some of the warnings produced by these.
Do you think this can be done using the Roslyn CTP? is there any other tool that allows:
Scanning my code text for some rule not being followed.
Replacing this with the correct code.
Some of the operations can be done using a simple text replace of the VS editor, but more complicated things require use of some other tool.
So my question is - to this end, is the Roslyn CTP the tool to use? or what other tools exist for .NET for doing this?
This is certainly one of the scenarios that Roslyn addresses. Take a look at this walkthrough that demonstrates how to write a "Quick Fix" using Roslyn. In fact, the CTP also ships with a couple of samples that demonstrate how one could write stylecop / fxcop style rules using Roslyn.
You can also glance through this document for an overview of the overall scope of the CTP.
Disclaimer: I work for Microsoft on the Roslyn team.
OP asks, "what other tools exist for .NET for doing this?"
Our DMS Software Reengineering Toolkit is a source-to-source program transformation tool.
DMS can parse, analyze, and transform source codes for many computer languages such as C++, Java, COBOL, and particularly including C#. It can also handle multiple languages simultaneously.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I found out that windows 8 is going to be heavily dependent on C++, HTML5 and CSS based apps(WPF ?). I spend a lot of time working on applications like matlab, scipy and C# as programming language at my workplace. Considering this, is there going to be any big change for desktop app developers ? are these apps going to be re-written under new code and C# has any future for desktop apps?
A lot of hearsay at the moment until September it seems there is nothing definite.
There is wide speculation on whether Jupiter will be the unifying
user-interface model for Windows, Web and mobile. Burela believes
Jupiter may a “next generation” XAML-based framework, perhaps a
“mashup between WPF & Silverlight.”
There also appears to be equally strong support for three key
programming languages: C# to appease the .NET developers, C++ to
appease the Windows core developers, and HTML5/JavaScript to try to
lure developers from other platforms.
Of course the controversy has been Microsoft’s focus on JavaScript
while nearly ignoring Silverlight and .NET developers. Articles like
this one — though unofficial and speculative — should help calm some
nervous developers.
Source: http://www.isdotnetdead.com/windows-8-supports-all-programming-models/#
ZDnet try asking probing questions.
Here is another link about the future of C#
Okay, your question confuses some terms - based on the articles you cite.
Microsoft are quoted as saying that the application they demonstrated on Windows 8 was written using HTML and JavaScript. The article interprets this as saying that WPF and Silverlight are likely to be binned in favour of HTML and JavaScript.
Let's have a think about this.
As far as I'm aware, Microsoft have been really keen to run applications in the Browser for a very long time. They have made ActiveX controls that run in a browser, they have written Silverlight to run in a browser. They are one of the leaders in the whole "browser based applications" concept. People may criticise their methods of achieving this in the past, but at least they were trying.
When you consider that Microsoft currently have a desktop package called Office and also a web-based package called Office365, you can understand why they might want to just have one package to maintain that works on the desktop and in a browser.
My final note - the ARS Technica article describes HTML tooling as inferior, but seeing as you can use the same tools to write a WPF application or an HTML application I don't agree with this point.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a lightweight, easy to setup CI server that I can run on my laptop along with Visual Studio & Resharper. I'm obviously looking at all the big names like CruiseControl, TeamCity etc etc but the biggest consideration to me is ease of setup and to a lesser extent memory footprint.
Edit: I'd also like some suggestions for other solutions outside the big 2/3...
Edit: I'm about to accept an answer if no one else has anything to add?
I use TeamCity, and is really, really easy to setup and get it running.
Check the Demos and Documentation. You will have it up and running in less than one hour!
I have just started to use CruiseControl.NET.
With no prior knowlege I was able to get it up and running with a single test project using MSBuild, MSTest and Team Foundation Server (i.e. CodePlex) in a couple of hours. I posted a bunch of links to useful resources here Devsta 2008 Day 0: Source Control and CI
I can't help on memory footprint as my project was pretty small. I can tell you that while it's not doing anything (i.e. most of the time) it is using ~5MB on my system. In fact the Tray Icon notifier that comes with it takes up more memory than the service at about 6MB. That goes up when it does stuff of course.
Hudson (update: Jenkins 1) is extremely easy to set up, and managing jobs (projects) in it is certainly a breeze compared to e.g. CruiseControl. It works great for a solo developer too.
For more, see this answer about using Hudson specifically in a .NET environment.
(1 Background info about Hudson/Jenkins situation: How to choose between Hudson and Jenkins?)
For ease of use, I have found CruiseControl.Net to be very easy. Now when it comes to memory footprint, I'd have to say it does chew up my system. That is that a development box that also hosts CruiseControl.Net is not a good way to go. Unfortunately that is all I had access to when I used it in the past.
I can't speak to the other tools.
I use CI as a Solo Developer.
When I merge my dev branch into my test branch, CI grabs the code, compiles it, modifies the connection string, changes a couple of app settings, and copies it up via Beyond Compare to my test site for people testers to have a look at.