Create project item with the attribute in the project file.
I can easily create a project with an item having the attribute <LogicalName></LogicalName> in the projectTemplate project file by using <EmbeddedResource Include="some.xml">...
View ArticleVisual Studio Package: Expand/Collpase State of Items
Hi there,I want to manipulate the expand/collapse state of TreeView items in the solution explorer in my package.I want to save the current state, do some stuff with the projects and items (for example...
View ArticleHow do I automate attaching the debugger to a remote process?
I have remote debugging set up and can debug from my host machine (Windows 7, 64-bit, UAC Enabled, with Visual Studio running as Administrator) to my guest machine with no problems at all(Windows 7,...
View ArticleVSIX development error VSSDK1040: There was a problem enabling the extension...
I am developing a VSIX project in VS2013. My current project is a little bit detailed but today I realized that error happens even on a new project.To find out reason of the problem, I have created a...
View ArticleAccess violation exiting an Isolated Shell application
My Isolated Shell app is now suddenly giving this crash on exit that I have no idea of where it comes from.Here are the details Windows give: Problem Event Name:APPCRASH Application...
View ArticleHow to subscribe Add Existing Item event for a VS project
Hi,In our package, we want to handle this scenario - use Add Existing Item dialog to add a file to a project (the project already has a file with same file name). VS will popup below dialog,Could you...
View ArticleCan we install 2012 update 4 in 2013 installed machine ?
Hi Everyone,Can we install VS 2012 update 4 in a VS2013 installed machine ?Could you please provide suggestion on this ? If we install like this did we face any issue ?Regards,Manoj Babu B. Manoj
View ArticleUpgrade a VS2010 Isolated shell to VS2013 shell
I am upgrading a VS2010 Isolated Shell application to VS2013 shell. I am getting following errors in the active logs. 1.What does the first error mean? how to fix it? 2. For second error, I saw...
View ArticleVisual Studio Integrate REST Api - WIQL request returns status 400 (Bad Request)
Hi,I'm attempting to submit a WIQL (Work Item Query Language) request to the Visual Studio Online REST api but receiving a status code 400 (Bad Request).I'm using the sample request of the first...
View ArticleAccess ISharePointProjectService from T4 Text Template
I have a Visual Studio 2013 SharePoint solution/project in which I set the "Site URL" to which I want to deploy the project (standard functionality). I would like to consume the project's "Site URL"...
View ArticleREST API : Query on Work Item giving error "You cannot supply a time with the...
while executing following query using rest api getting errorError Message: You cannot supply a time with the date when running a query using date precisionURL:...
View ArticleGetting the type of a template parameter
Using VCCodeClass::TemplateParameters I want to retrieve the type of the template parameter. Here is the the template class:template <class T> class t { t( void ); void f( void ); };In C# I cast...
View ArticleHow to dispose vspackage object when package Tab closed?
Hello, I am developing a vspackage to connect to our custom database. When initially load the package, my MainWindow.xaml is initializing. But, when I close & re-open the package (only pakcage tab,...
View ArticleIs possible to set "Enable Restore package" by default in a VSTemplate?
I am trying to create VSTemplate from a sample, but I need to have "Enable Restore package" defined by default... I did some search but not found a solution.... is not possible?The vstemplate created...
View ArticleHow to Write code for EMoney.Transactions (Nuget) using C# EMoney
I installed EMoney.Transactions NuGet tools using PM> and I got EMoney.Transactions namespace of ETS API libraryI want code sample for Pre-authentication, post-authentication, sales and billing...
View ArticleImport database. Could not connect to the database to retrieve the configuration
I'm using VS Ultimate 2013 Update 2, SQL server 2014. I created a database project and tried to import an existing database. I got this error message popped up: Import Database Could not connect to...
View ArticleHow to expand/collapse a hierarchy node in the solution explorer?
I created my own project type by extending PorjectNode. When I create folders and files in the project at runtime, I'd like to keep the folders collapsed.I tried to set the "isExpanded" to false on a...
View ArticleVSPackage Deployment: Custom Installer with VS Gallery Auto Updates
I have a VSPackage with a custom editor. I want it to show up in the solution explorer with a custom icon, which will require a custom deployment step.Here are my deployment requirements:As explained...
View Articlehow to collapse a file in solution explorer after adding it dynamically to...
Hi, I need to collapse the folder in solution explorer when project is created.the file is added to the project dynamically,I have heard about EXPF_collapse folder, but i dint know how to use...
View ArticleHow to substitute macros
In the Microsoft.VisualStudio.VCProjectEngine namespace there are certain methods that return strings that have $(NAME) macros. Is there some way to substitute these macros so that a macro free string...
View Article