I'm currently looking at using SpecFlow in conjunction with Xamarin Studio for writing BDD tests for cross-platform mobile apps.
I've been using the Xamarin Studio add-in developed here https://github.com/mikeyjones/SpecFlow to integrate SpecFlow into the IDE.
What I need to be able to do is add some extra steps into the process when a new feature file is created, namely to create a new file to hold additional code I need in the feature class.
So I would end up with,
NewFeature.feature
NewFeature.feature.cs (code-behind defining partial class)
NewFeature.cs (where I add additional code to the partial class)
I also need to be able to add some additional code to the template that creates the step definitions for the feature.
The above repo contains the code that is currently producing the new files but I'm struggling to understand how this works in order to figure out how to integrate with it to add my own additions.
Can anyone point me in the right direction to achieve this?
I have already download the windows phone develop tools but I don't know how to using F# to developing the app, currently it's C#.
Installing a template for 'F# and Windows Phone' into Visual Studio makes life a little easier. If you open Visual Studio and go to Tools->Extension Manager it will open the Extension Manager dialog. From there, if you select the online gallery and type 'F# Windows Phone' into the search box you can find a couple of templates that should help you get started. Most of them were written by Daniel Mohl. His blog can be found here Daniel Mohl
Is any tools for automation in internationalization for mvc exist? I need to internationalize web solution now. it wasn't implemented any features for internationalization there. All content are hard coded mostly (I mean view texts, messages and so on). Maybe some one could advice something that will be helpful in this case.
I am not aware of any tools that might help you if everything is hardcoded. I would recommend you the following guide.
Unfortunately with MVC we don't have the benefit of Visual Studio's "Generate Local Resources" command (available in the Tools menu when a Web Form is open), which does just what you need. So unless someone wrote a tool for this, you are stuck with copying your text to resources manually.
I am introducing ASP.NET MVC to a new team and one of the questions that comes up often is "Is there a designer view"
Even if it's not for layout is there an IN visual studio design view for ASP.NET MVC3 using the razor view engine.
No, there is no designer. It would likely be difficult for a designer to even know what is meant by Razor code in many cases.
It's really not so difficult to just use your web browser as a viewer. You can make changes to the HTML without having to recompile, just make the change, save, and refresh your browser.
EDIT (8/2/2013)
Since this answer was originally written, Microsoft has released Visual Studio 2012 which includes a feature called Page Inspector, which while not a true "designer" in the way that the question was written, it does give a much nicer semi-live preview mode. This has been improved in Visual Studio 2013 (which was RTM'd today, 10/17/13).
I use a web browser window and set the url my localhost in place of the designer.
view > "other windows" > "web browser". I then split the windows vertically or horizontaly.
I was able to work using the following trick:
change the razor file's extension to .html
Open the document
with the document open, change file extension back to .cshtml
Congratulations, you now have a designer's view of the razor file. If you need razor intellisense, close and re-open it.
No, in general you should try and steer clear from visual designers. The combination of HTML/CSS/Javascript is something that just cannot be done well with visual designers and the short term pain of learning these manually will be well worth it. Once you know these well you will be coding in a cleaner and quicker way. I often use Expression Web to do initial layouts before copying it to Visual Studio.
I know I am late to the party, but..
You can trick the IDE as mentioned above, but if you are building applications in MVC, you should be comfortable in code view. It is more productive and most of the responsive design and css implementation can give you false results in design view. Designer is useful in WebForms. But with the Browser Link feature in Visual Studio 2013, there is no longer any reason to trick your IDE, you can have one-to-many browsers open and get live updates back and forth from browser to visual studio. Can't beat that! The browser is where it's at!
Browser Link!
Install the following and you will be golden!
Microsoft Visual Studio 2013 Update 3
Web Essentials (Dependent on VS Update 3)
I think they are working on that as a feature for Expression Blend 5 Developer Preview .
They clearly recognise the issue of designing JS in the designer so I suspect they realise the same applies to some designers working on MVC applications.
I was told by someone from Microsoft "I think in Blend for HTML, using interactive mode, you would probably be just fine with designing MVC or MVVM patterns"
Also check out Visual Studio Page Inspector it looks like it will do what is needed
In Visual Studio 2013 added browser link this allows two way communication between browser and Visual Studio. It means you can refresh browser when you change code and instantly see how it looks. Also you can change Css in the browser and have it saved in Visual Studio
There is workaround it is mentioned here http://www.codeproject.com/KB/aspnet/EnablingDesignerSupport.aspx
I would like to write a quick UI addon for MS Project, but I don't know how to proceed. Ideally it should be fully integrated into Project. Just need to know how to get started. Thanks!
if using Visual Studio:
Check out Visual Studio Tools for Office (VSTO)!
http://msdn.microsoft.com/en-us/office/aa905533.aspx