Showing posts with label VSTS. Show all posts
Showing posts with label VSTS. Show all posts

Thursday, August 12, 2010

BOOK : Refactoring with Microsoft Visual Studio 2010

Refactoring with Microsoft Visual Studio 2010

This book will show you how to make your code base more maintainable by detailing various refactorings. Visual Studio includes some basic refactorings that can be used independently or in conjunction to make complex refactorings easier and more approachable. This book will discuss large-scale code management, which typically calls for refactoring. To do this, we will use enterprise editions of Visual Studio, which incorporate features like Application Performance Explorer and Visual Studio Analyzer. These features make it simple to handle code and prove helpful for refactoring quickly.

https://www.packtpub.com/refactoring-with-microsoft-visual-studio-2010/book

Tuesday, February 02, 2010

Microsoft Visual Studio 2010 64 bit Prerequisites (x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites

"Microsoft Visual Studio 2010 64 bit Prerequisites (x64): [2] Error: Installation failed for component Microsoft Visual Studio 2010 64bit Prerequisites.."

When I plan to explore about Visual Studio 2010, I have downloaded the latest beta version available for developers. Than I run the setup in my Windows Server 2008 R2 64bit, it throws the above error with more error log information.
And than I searched for solution in Google, most of them mentioned remove the previous version of .NET framework or previous of Visual Studio from the system and try. But in my system there is no previous version of such software exist. Very few mentioned that remove VC ++ 9.0 Distributed from your system, when I tried that. After uninstalling VC ++ 9.0 and reinstall my Visual Studio 2010 Beta, VC ++ 9.0 gets automatically installed again.

Still no solution found.... researching for solution

Monday, June 15, 2009

Could not write lines to file is denied. Visual Studio 2005

Error 11 Could not write lines to file "obj\Activities.csproj.FileList.txt". Access to the path 'D:\StarTeam\Activities\obj\Activities.csproj.FileList.txt' is denied. Activities

Issue: As you can see, MSBuild is trying to write to the *.vbproj.FileList.txt file in the \obj folder, but access is denied. If you look at this file on disk, you will notice that it is marked as read-only. No big deal, just turn off the read-only flag. You do this and rebuild, but the build passes. Very good! You go home with a nice case of the "warm fuzzies" and sleep like a baby. In the morning you come in to the office to find that the nightly build broke with the same exception. You look at the *.vbproj.FileList.txt file and it is read-only on the build machine. You scratch your head and let out a expletives and then delete the entire \obj folder. Then the nightly build is run again and if fails again damn it! Oh look, the *.vbproj.FileList.txt file is back to read-only. Sounding familiar yet?


Problem: The build fails because the *.vbproj.FileList.txt file is read-only so MSBuild can't write to it.


Reason: The file is read-only because you checked the \obj folder into source control in SteWhenevernevery you do a Getsourcesoruce control, the files are placed on the drive as read-only. The nightly build is configured to delete the prior run's source code (or should be) and Get from source control prior to building. Therefore every nightly build fails in the same way.


Solution: Delete the \obj folder from source control and check-in the change. That's it.

Friday, May 08, 2009

Package Load Failure - You may use 'devenv /resetskippkgs' to re-enable package loading

Recently when I planned to explore on the Microsoft ServiceFactory, and leading to that I started setting up the development environment for the same. After installing ServiceFactoryV3 and Guidance Automation Extensions for my Visual Studio 2005, when I opened the Visual Studio IDE I was facing the first innovative task :) to be solved by me was the dll load error for the Service factory.

Handling the error messages of the development tools is not going to the new task for Microsoft technology programmers :) . The following is the error I faced

---------------------------Microsoft Visual Studio---------------------------Package Load Failure
Package 'Microsoft.Practices.ServiceFactory.VsPkg.ModelProjectPackage, Microsoft.Practices.ServiceFactory.VsPkg, Version=1.0.0.0, Culture=neutral, PublicKeyToken=628c8c43ff73aea8' has failed to load properly ( GUID = {3A053D37-49A0-4713-A3C4-6161158FB0C4} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.

---------------------------Yes No ---------------------------

After few analysis I found that the dll's are not properly loaded into the GAC and than using the gacutil.exe I loaded all the dlls to GAC. That solved my problem.

Reference command: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>gacutil /i C:\Microsoft.Practices.ServiceFactory.VsPkg.dll

Microsoft (R) .NET Global Assembly Cache Utility. Version 2.0.50727.42Copyright (c) Microsoft Corporation. All rights reserved.
Assembly successfully added to the cache

Cheers :)

Friday, March 20, 2009

Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3

This is the SharePoint developer tools for Visual Studio 2008. These tools are suitable for use with Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007.
The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included.

There more and more widely enhanced new features are there... download now to explore more...

Thursday, March 19, 2009

metadata file '.dll' could not found in Visual Studio 2005

When I try to run the ASP.NET 2.0 web application using Visual Studio 2005 i was struck up with some irritating error message "metadata file '.dll' could not found "
Later when I explored on this I found some solutions that solved the problem in my development environment. I would like to share it here, so that it may help others.

Cause of the problem:
Files in the format: App_Web_urfile.dll are created when you compile your web application project using Visual Studio 2005. Every time you compile your solution, the Application is compiled into a 'temp' directory which gets read by IIS or the internal web server available in Visual Studio 2005. In some scenerio, especially if you do a more of testing/debugging, the temp folder gets overload and become unable to understand by the application.

The first option is
1. Clear the temp cache files.
2. Stop or Restart IIS and close your Visual Studio 2005
3. Go to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.__\Temporary ASP.NET Files
4. Delete all the files
5. Re-compile your application and then test.

Hope this help

Friday, March 13, 2009

How "VSTO 3.0 for Office 2007 Programming" book born, a true stroy!



I started my career in Microsoft technologies. I was very much keen on exploring technologies and designing applications. When I joined one of the world’s largest software services and consulting company in 2006, I was asked to explore on Microsoft’s upcoming technology SharePoint. I was just started the training material and practicing the same. And suddenly the client work has been allotted for a few which includes me in that team. After the work has been allotted for each individual in the team, I and my colleague (and a best friend) got to work on VSTO programming for InfoPath 2003 which is part of our client project. But my best friend she was not interested in VSTO work and she feels this is not the right technology for her career and raised a question for me, do you feel comfortable in VSTO? Is it good for your career growth? I said for me technology is secondary, for me I was keen on the quality of the work I do, whatever the technology may be. Few words to mention about my friend as a developer, she was an awesome developer, and any company in this world should be the luckiest company to have her as a resource.

And this is where the spark fired an idea for me to write a book on VSTO, to write book on VSTO and show everyone that technology doesn’t decide your growth it’s just your attitude plays the key role in your life. Writing a book which is fully authored by me is my long-time dream. I was thinking about this from my school days, one day in my life I will write a book. Now I got an idea for my dream, what I need is to start working on that. There is zero support and encouragement in my organization I worked, feel like stuck between office politics. Under performing guys are ruling the project to failure, even the failure doesn't reflect their originality instead they gets appreciation. So I decided to carry on my career in different organization where I can produce my excellence too. So I decided to leave the most liked and loved company in my life.

First I started writing for the publication with more energy and enthusiastic. My first delivery of chapter was on InfoPath. The chapter returned with huge amount of comments and feedback, which actually said to me better stop writing :). But my editor Jonathan Hassell and Tony Campbell was the greatest; who make me thinks get going... Later before a month of release of the book the press came up with one of the best worst news I have heard in my life, eight months of dedication, hard work and how many sleepless nights is washed away from that news. They said we have decided to withdraw from your book agreement. A few days I was upset and I bounce back with a new idea.

Added new ideas and enhanced the content and approached the Europe’s leading technical publisher PackT Publication and get a green signal precede the project. Again started the works get going and finally the book was on store for sale! Thanks to all crew members of PackT Publishing for their dedication and commitment toward the launch of this book.


When I send message to people and friends I got a great appreciation and response from different people. Those messages are refreshing and boosted my confidence to write another book immediately.

Writing a book is a great adventure ... Congratulation for your book ...... very nice cover :) - Ludovic LefortCongratulations! An awesome accomplishment that requires a great deal of focus and sacrifice to execute on. Great job! - Amanda Murphy
Congratulations Vivek. This is a great achievement. Looking forward to seeing your book - soon! - SS AhmedVery nice... i post this in my blog... Congrats!!! - Vladimir MedinaCongratulations Vivek, this is indeed a great achievement! - Cristina Nardini
Congrats Vivek. Way to go! - Suprotim Agarwal
Great Stuff. It's an area waiting to explored. Glad you did it. Looking forward to see more from you :). - Niraj G Bhatt
excellent work Congratulations. - Ajay Pathak
Great Stuff Vivek!! - Amit Bansal
Congratulations – this looks like a great book. - Geetesh Bajaj
Congratulations !! Your hardwork has reaped you this success:):) - Vijayraj vm
Congrats man. Nice selection of subject. - Praveen Nair
Congrats Vivek Wish you follow it up with many more - Shanmuga Sundara Raman
.... more and more... what to say countless...
Thanks to everyone :)

Tuesday, November 04, 2008

Visual Studio 2008 in Tamil language interface!

CLIP (Hindi, Tamil and Malayalam) for Visual Studio 2008
The Captions Language Interface Pack is a tool that uses a tooltip caption and/or a small discrete dialog to display translations for user interface items in Visual Studio 2008. The user hovers with the mouse on top of the UI elements to see an instant translation. For version 1.0, the CLIP offers partial localization, i.e. covers only most of the core IDE of the product.

I am very happy that, I have done my small contribution by testing the localization for Tamil Language before this release.

For Tamil http://www.microsoft.com/downloads/details.aspx?FamilyID=4e5258d2-52f4-46b8-8b74-da2dbec7c2f7&displaylang=ta

Thursday, September 18, 2008

Visual Studio 2008 Express is available

Visual Studio 2008 Express is now available


Get started creating cool fun projects with one of these Express Edition products.
explore more on .NET 3.5 and more on Microsoft Technologies

Download Now

Sunday, July 13, 2008

Introducing Windows Workflow Foundation using .Net Framework 3.5 & Visual Studio 2008

Boost your .NET 3.5 skills...

Introducing Windows Workflow Foundation using .Net Framework 3.5 & Visual Studio 2008

This clinic will provide a start point for Enterprise Developers and Software Architects that are looking to Windows Workflow Foundation as a solution for enabling business processes within their solutions. Within the clinic you will learn about the functionality provided by the workflow engine, the overall architecture, and how to build workflow enabled applications.

start learning ...

Saturday, April 26, 2008

Visual Studio 2005 Extensions - Visual Studio project templates for Web Parts

Visual Studio 2005 Extensions - Visual Studio project templates for Web Parts

Tools for developing custom SharePoint applications: Visual Studio project templates for Web Parts, site definitions, and list definitions; and a stand-alone utility program, the SharePoint Solution Generator. Please also download the User Guide and Samples listed in Related Resources.

  1. Visual Studio 2005 Project Templates
    Web Part
    Team Site Definition
    Blank Site Definition
    List Definition
    Empty SharePoint Project
Learn more

Monday, February 25, 2008

InfoPath cannot open the selected form because of an error in the form's

'InfoPath cannot open the selected form because of an error in the form's. Policy settings prevent opening Internet forms with managed code. To fix =this problem, contact your system administrator."

When i tried to run the InfoPath Solution from Visual studio 2008, i'm getting this above mentioned error. When i googled also i don't find any good solution. After that i changed the security setting of the form to fully trusted, then it worked for me. I don't know this is the right solution but it also solve the problem :)

Step: go to tools>Form options>Security and Trust> select Fully Tructed radio button

Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with ...

"Microsoft Office InfoPath does not recognize some or all of the command line options. Exit and restart Microsoft Office InfoPath with the correct command line options"

As usual when I step into Microsoft’s latest tools I have been attacked with some irritating error messages. To solve this error and to win this bug war same old trick was used to attack Microsoft errors in reply, I tried installing Service Pack for InfoPath 2007 and it worked for now. More importantly this error got solved but I don't know what the new things to raise mean while :) …

SP1 Download Link which i used

Monday, February 18, 2008

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9b

---------------------------Microsoft Visual Studio---------------------------

Error: this template attempted to load an untrusted component 'Microsoft.Office.InfoPath.Vsta, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

---------------------------OK ---------------------------

When i try to create new InfoPath Form Temaplate project using Visual Studio 2008 i got the above mentioned error mentioned error message. After some analysis i found that InfoPath 2007 as be installed in the development machine.

Tuesday, January 29, 2008

This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.

Problem: This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.

Cause: When i tried to extract Visual Studio 2008 ISO file, only one txt file get extracted saying "This disc contains a "UDF" file system and requires an operating systemthat supports the ISO-13346 "UDF" file system specification."

Solution: Refer the following microsoft support which solved the problem for me.
http://support.microsoft.com/kb/321640
http://support.microsoft.com/kb/899527

More ref: Download1

Some usefull Information about File Systems

Friday, December 14, 2007

Create a simple WorkFlow For SharePoint 2007 using VSTS 2008

Create a simple WorkFlow For SharePoint 2007 using Visual Studio Team Suite 2008

For VSTS 2008 environment : Get it from here >>

Now. after setting up the VSTS 2008 environment, open the Visual Studio 2008 and click on the create project.

Now select the workflow type you want to create. Here in this demonstration i'm creating the Sequential WorkFlow.

Here the next screen display with two text box. One the first one is enter your WorkFlow name and the seond one to enter your SharePoint Site address.


Next is the assigning the WorkFlow to the desired place. We have option for automatically associate workflow to selected Document Library or List. And Other option like Task list assigning and etc...



Next is how the workflow should be started and other options.


and now just run the workflow you will get the output.

Wednesday, October 17, 2007

Visual Studio® Team System Code Name "Rosario" August 2007 CTP

Visual Studio® Team System Code Name "Rosario" August 2007 CTP
Now available the most awaited Visual Studio® Team System Code Name "Rosario" August 2007 CTP for download in VHD.

http://www.microsoft.com/downloads/details.aspx?FamilyID=8450EFF5-24AD-44C3-AB91-1ED88EF2F4F0&displaylang=en

Visual Studio® Team System code name "Rosario" is an integrated Application Life-Cycle Management (ALM) solution comprising tools, processes, and guidance.

Tuesday, October 16, 2007

Enabling IntelliSense in Visual Studio - Feature in SharePoint

Enabling IntelliSense in Visual Studio - Feature in SharePoint

Inside the TEMPLATE directory there is a directory named XML that contains several XML schemas, including one named wss.xsd. If you associate this schema file with feature files such as feature.xml and elements.xml, Visual Studio will provide IntelliSense, which makes it much easier to author a custom feature. You may also copy these XSD files into C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\.

Monday, July 30, 2007

Give Visual Studio 2008 a Spin

Visual Studio 2008 Beta 2

Visual Studio 2008 delivers on Microsoft's vision of enabling developers and development teams to rapidly create connected applications with compelling user experiences for Windows Vista, the 2007 Microsoft Office system, mobile devices and the Web. With the release of Visual Studio 2008 Beta 2, Microsoft is taking a leap forward on its promise to enable developers to harness this next wave of innovation. Your download of Beta 2 not only helps us improve the product, but also enables you to build and deploy solutions today.

http://msdn2.microsoft.com/en-us/vstudio/default.aspx

Tuesday, May 22, 2007

W3wp.exe is not running in proccess

When i try to attach proccess of w3wp.exe for WebPart Debugging i found no processes in my process list.
Then i run the following command to check the number worker process PID (Process ID) on a server using the cscript iisapp.vbs

This will enable the host Scripting and all the processes will be shown in the Process List.

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...