Clear IIS Logs Using Task Scheduler


This is something I see a lot, IIS logs takes a lot of space and sometimes even cause the IIS Server to stop due to “Not Enough Space” exception. There is not a build in solution for Log retention policy but several options on File Size, Creation Scheduling etc. There are many solutions for cleaning the Logs but I prefer the Task Scheduler way with a single line for cleaning Logs based on their creation date. Run Task Scheduler from the Command Line Open a command prompt. To open a command prompt, click Start , click All...
no comments

Visual Studio 2013 and Setup Projects

Remember Visual Studio 2010? remember the built in Setup Project? In Visual Studio 2012 Microsoft removed Setup Project support and added InstallShield Limited Edition (What’s new in Visual Studio 2013 and InstallShield Limited Edition), many customers complains about this and even kept Visual Studio 2010 to support their Setup Project. – User Voice Visual Studio Setup Project isn’t the most the advanced setup solution but still is good solution for many products, Setup Project can be customized and adjust for supporting may cool things: * External Application * Deployment Condition * User...
no comments

New Team Project Creation fails – TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed

I didn’t saw Team Project (TFS 2013.2) creation for a long time but as luck wanted I’ve received one this morning - TF30170: The plugin Microsoft.ProjectCreationWizard.TestManagement failed during task TestResolutionState from group TestManagement. Now, from the Team Project wizard log we can understand that some field is missing (Plugin error text: “System.MissingFieldException: Field not), but I didn’t remove any system field? Explanation Plugin error text: “System.MissingFieldException: Field not found: 'Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet'. at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName() at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_HasSupportForSharedParameterDataSets() at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject..ctor(TestManagementService manager, String projectName) at Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.b__0(String name) at Microsoft.TeamFoundation.TestManagement.Client.ObjectCache`2.Get(Key key, Creator creator) at Microsoft.TeamFoundation.TestManagement.Client.TestManagementService.GetTeamProject(String projectName) at Microsoft.TeamFoundation.TestManagement.PcwPlugin.ContextWrapper.get_Project() at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.SetPermissionsIfNeeded(ContextWrapper wrapper) at Microsoft.TeamFoundation.TestManagement.PcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper...
no comments

Visual Studio 2013–Cannot See Web Performance Test Recorder In Internet Explorer


After installing new environment of Visual Studio 2013 I’ve stared working with Web Performance Test but I’ve encountered a problem, the Web Test Recorder isn’t visible in Internet Explorer, I thought this is an old problem with Internet Explorer Add-ons. Looking at the Add-ons I saw everything is just fine, Web Test Recorder is enabled and present, so I’ve stared with a simple command to reset Visual Studio Addins. devenv /ResetAddins Again no luck… So I want to more aggressive approach 1. Close all Internet Explorer windows and Visual Studio. 2. Delete the following registry keys    * HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories    * HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\Component Categories64 3. Restart Visual Studio...
no comments

TFS API Part 54 – Add Associate Automation Programmatically


Microsoft Test Manager allows you to connect Test Automation to Manual Test, this is part of end to end solution, once you connect Automated Test to Manual Test you can use it in Lab Manager. You can link any unit test, coded UI test, or generic test to a test case. You’ll want to link a test method that performs the test described by the test case. Typically these are integration tests. The results of automated and manual tests appear together. If the test cases are linked to backlog items, stories, or other requirements, you can review the test results...
no comments

How To: Manage a Unity3D Project In TFS Source Control

I get this question a lot lately, so I decided to write my answer here. Still there is no built in support for Unity3D and Source Control but using TFS 2012, 2013 Local Workspace feature maintain Unit3D project using Source Control is easy. In source control, create a projects repository folder. In Source Control explorer enter to “Workspaces”. Create new Workspace, I called my “Unity Project”, and mapped it to local folder.   The important thing here is to make sure you create Local Workspace rather than Server Workspace. (Open the Advanced option) When you use...
no comments

CSS Tricks – Floating Labels


The web is full with amazing designs and people are really taking HTML to the edge, some require JavaScript code, some require CSS 3 features such as Transition and KeyFrames but some only require basic CSS. In this post I'll show how to create Floating Labels for input fields, I made some examples but you can take those and modify them further based on your needs. The entire Floating Labels trick relays on two principles, the first is placing the input and label html elements inside div element. (This is not new - most of the times you'll place both in...
no comments

Webinar – Building Your First Windows Store App in HTML5/JS & Phonegap


תודה לכל מי שהשתתף בוובינר בנושא פיתוח אפליקציות ל – Windows 8 בעזרת HTML5 ו – JavaScript והתאמה ל – PhoneGap על מנת להריץ את הקוד שלנו לא רק ב- Windows 8 אלא גם ב – Android ו – iOS. דיברנו על הגרסאות השונות של Windows 8 והשפות השונות בהן ניתן לפתח אפליקציות ל- Windows 8, ראינו איך לפתח ספריית WINRT ב – C#  וכיצד ניתן להשתמש בספרייה זאת בפרייקט JavaScript. בנוסף דיברנו על PhoneGap ואיך נוכל להתאים את הקוד שלנו לפלטפורמות נוספות בעזרת PhoneGap.
no comments

VCXPROJ Auto Checkout Every time


Facing annoying problem at a customer after migration from SVN to TFS, the first time after completing the migration we had to change Solution binding with TFS instead of SVN repository. To do that I went to - File -> Source Control -> Change Source Control and change solution bindings to TFS. From the main version we start creating branches, but when someone tried to open branch solution he received the following error message: “There appears to be a discrepancy between the solution’s source control information about some projects and the information in the project files.” ...
no comments

MTM Copy Tool


Copy and Cloning Test Suites and Tests over Team Collections MTM Copy Tool is a newer version of Test Case Migrator Tool that can copy and cloning Test Suites and Tests over Team Projects and Team Collections. You can download Source Code and Executable directly from - Empty Team Project2. Open MTM Copy Tool, specify the Source and Target Team Projects, can be on Different Collections.3. On the mapping panel select the desire Test Plans, Test Suites and Test Cases you wish to Clone.4. Create Test Plan on Target Project, or select an existing Test Plan.5. Click "Start...
no comments