w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » VISUAL STUDIO » Page 1
Remove TFS Connection From Solution
If you want to permanently and completely detach the solution from source control, then try the following: Click the 'No' button to avoid connecting to TFS. In the file menu, go to the source control options and clear the bindings. You'll specifically want File - Source Control - Advanced - Change Source Control... Save the solution. Next time you open the solution you won't be prompted to con

Categories : Visual Studio

How to write a test project with dependency to a ASP.Net/PHP project?
Usually for unit testing you don't connect live systems together with your tests. That would be called integration testing instead. The line I usually use with unit testing is that it needs to a) always be fast and b) be able to be run without network connectivity. If you want to do unit testing, the easiest way is to make interfaces around your dependent systems. Don't use these names, but some

Categories : Visual Studio

fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?
This is a Visual Studio issue with precompiled headers. If you compile a file and request precompiled headers you have to include this stdafx file. If you disable use of precompiled headers for either the project or for the file then you no longer have to include this header. Look though the project settings for the right checkbox or check the /Y options you are passing. /Y- can disable precompile

Categories : Visual Studio

Visual Studio 2013 Update 4 has broken web templates
Check if All the templates are present in the given directories "Visual Studio installation path"Common7IDEProjectTemplates "Visual Studio installation path"Common7IDEItemTemplates then Open command with administrator navigate to "Visual Studio installation path"Common7IDE" and Type devenv.exe /InstallVSTemplates If this doesn't Help Reinstalling definitely will

Categories : Visual Studio

Visual Studio 2013 - Edit Project Template
The Community/Express (free) versions do not support the /installvstemplates options. If you are using another version, the steps for customising an existing template are as follows (taken from my blog here: http://blog.hitechmagic.com/?p=527): 1. Find the files The files have not moved around much so are currently in C:<Program Files>Microsoft Visual Studio 12.0Common7IDEItemTemplatesCSh

Categories : Visual Studio

Can TFS & Visual studio generate branch timeline diagrams?
If you right click on a changeset and select "track changeset" you get a view of where the changeset is and where it has been merged. You can then switch to Timeline View and see this overlayed on a timeline with dates. http://msdn.microsoft.com/en-us/library/dd405662.aspx

Categories : Visual Studio

The underlying connection was closed: An unexpected error occurred on a send.--- NuGet
I was having the same problem until I invoked my network admins. We found that our IPS flagged the domain as malware and we blocked it at our internal network level. Once we removed the block, everything is now working again. We also had problems getting images and css from codeplex project sites and this fixed that issue as well.

Categories : Visual Studio

Automate the renaming of classes in Visual Studio 2013 using the SDK and VS API
You can execute any command such as "Refactor.Rename", etc. using either DTE.ExecuteCommand("mycommand") or by command guid and id: HOWTO: Execute a command by Guid and Id from a Visual Studio package. http://www.visualstudioextensibility.com/articles/packages/ To learn the command names go to "Tools" > "Customize..." and then "Keyboard" button.

Categories : Visual Studio

Three combos on the top of visual studio 2013 code file
I don't think as things currently stand that you can disable it, but its name is apparently "Context Switcher". According to this MSDN blog, it would appear to be a new feature intended to help you manage shared files in Universal Apps. I agree that it's confusing, and I'm not a big fan. A thorough search of the VS options for anything related to "Navigation Bar", "Context Switcher", or "Univers

Categories : Visual Studio

developing mobile application with visual studio and Apache Cordova
You have to install the plugin newly updated Visual Studio Tools for Apache Cordova CTP3.0. You can find multiple tutorial explaining the path to create a first application easily on a search engine.

Categories : Visual Studio

VisualStudioVersion="VersionLatest" is not being picked up
Try this: run MsBuild with the command line option to generate a preprocessed single file. Do the same on a working computer with the same version. Diff the files produced. It might be picking up different contents for some .props or .targets file. These have been known to change due to installing or updating some or another. I recall following a msdn article to fix such a file when I looked

Categories : Visual Studio

Visual Studio 2013 "Add View" dialog takes a long time to load
One of the things that opening that dialog does is it looks for an Entity Framework model and uses those entities to populate the dialog with auto creation templates (to create shell pages for CRUDL type operations) on an entity type. To do this it seems to do a sort of in memory build (i.e. it doesn't seem to output anything to the file system). I have found in the past that if you don't have a

Categories : Visual Studio

Visual Studio ignoring breakpoints
Restart your computer. I don't know what the exact cause was but after trying everything else I restarted and now it works. Also, I had to run it from another project. If I debug the Web API project it doesn't hit the breakpoints but if I debug from the Web UI project (Web API is part of that solution) it works. edit And actually that only worked like one time. I ended up including Web API in

Categories : Visual Studio

Visual Studio Community Edition and Fakes Framework?
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2919309-provide-microsoft-fakes-with-all-visual-studio-edi Microsoft Fakes is not available in Professional Edition. Therefore, it won't appear in Community Edition either (but you can let your voice be heard).

Categories : Visual Studio

Generate documentation comments for typescript in Visual Studio
ReSharper has a backlog item for this - Automated JavaScript Comments. At the moment, you just have to type /** and then enter them yourself. There are some extension that create vsdoc and jsdoc comments*. *JSDoc added in v2.

Categories : Visual Studio

Code coverage by developer
You would have to look at commit histories. This might interest you: http://stef.thewalter.net/git-coverage-useful-code-coverage.html Not sure if you could do it with TFSVC but probably could with TFS-Git This might be another option as well: http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/code-lens-for-git-quot-team-activity-view-quot.aspx

Categories : Visual Studio

SSIS Package waiting for me to press enter
Would you be able to try moving the quotes like this: dtexec /f "S:ABCXYZSSISTradeRev-TradeDate-Load.dtsx" /set "package.variables[ServerName].Value";newservername Try that, and let us know :)

Categories : Visual Studio

What should I do with my own entity Framework dll inorder to use it with visual studio 2013?
You would need to register your custom provider DLL either in the application’s configuration file (app.config or web.config) or using code-based configuration. <entityFramework> <providers> <provider invariantName="My.Invariant.Name" type="MyProvider.MyProviderServices, MyAssembly" /> </providers> </entityFramework> or public class MyConfigurati

Categories : Visual Studio

Code formatting for modified parts only
this one. https://visualstudiogallery.msdn.microsoft.com/7179e851-a263-44b7-a177-1d31e33c84fd and this one http://www.codealignment.com/ You can try this: Code Alignment It supports Align by... (Dialog) Align by position... (Dialog) Align by Equals Align by m_ Align by " Align by . Align by Space similar topic here: ReSharper formatting: align equal operands

Categories : Visual Studio

How to duplicate and rename an entire web application/solution/project in VS 2013?
You should be able to copy/paste a solution's entire folder to a completely different location, and as long as you've updated all references to the old path to the new one, it should work. So there's no real problem with the way you approach it. The most likely explanation is that there is some leftover reference to the old path somewhere in your new folder. Here's what I would do: (assuming the

Categories : Visual Studio

How to get ActiveX recognised as add-on and allowed to run in IE11
As of IE11, add-ons are supported only for IE on the desktop. If you're running the Windows Store experience of IE, then your statement about IE11 not recognizing the plug-in is absolutely correct. This article shows how you can have this experience prompt the user to open the page in the desktop experience of IE, which will support your plugin. Having said that, it's entirely possible that you

Categories : Visual Studio

TFS 2010 Prevent direct edits of Stage branch (only allow merge from Dev)
The only way to achieve this in TFVC is for you to take ownership of all merges. If you do the merge then you have the control. Many organizations with these sorts of draconian policies create an automated script that does the merge and rejects if there are any conflicts. That way the developer is forced to pull from Staging to Dev and resolve all conflicts before requesting the merge through a we

Categories : Visual Studio

How can I run a Javascript file step-by-step in Visual Studio?
Check out the Native Interop Debugging feature of the Visual Studio if you are developing a Window Store Application. Use "Script Only" for better experience. If you are working on a web site, AFAIK you can use the VS javascript debug feature only for IE. Check out this link. You could also use the Developer Tools of the user agent (Hit F12 in any browser). You will find all the resources loaded

Categories : Visual Studio

NuGet self hosting: why bother with a Nuget.Server when a simple Shared folder works well
When working from home without a VPN, a secured web-connection is more preferable. Distributed teams might require access (outsourcing project components to India or Poland). Build servers might not support the shared folder method (it is more complicated to allow UNC paths for a user without a desktop session). Firewall restrictions or company policy are likely reasons to make a web-server more

Categories : Visual Studio

How to assing FTP URL
Check Public DNS column on Instances page of Amazon EC2 console. Note that the public DNS may change when the instance is restarted. So your FTP URL would be like: ftp://ec2-45-123-87-128.us-west-2.compute.amazonaws.com/ Though, you need to configure the instance firewall to allow the FTP traffic, what is not easy in general. But that's out of scope of your question.

Categories : Visual Studio

Small annoyance in Visual Studio's code pretty-fier
This sort of things is configurable in Visual Studio. I believe it's in: Tools › Options › Text Editor › C# › Formatting › New Lines Also note that if you're developing in C#, there is an official style which is quite popular (the default set of rules of StyleCop, a style checking tool for C#). While you're free to use a different style, you may want to have a look at the official one

Categories : Visual Studio

Resharper refactoring creating static methods
That's right. Here’s what the MSDN documentation has to say about it: Members that do not access instance data or call instance methods can be marked as static (Shared in Visual Basic). After you mark the methods as static, the compiler will emit nonvirtual call sites to these members. Emitting nonvirtual call sites will prevent a check at runtime for each call that makes sure that t

Categories : Visual Studio

error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
There is a bug with cmake not generating the VS solution correctly. You should try to build aseprite with NMake. https://github.com/aseprite/aseprite/issues/541

Categories : Visual Studio

How can I reference typescript files without absolute paths?
There is not currently a way to specify a root folder to use within references. Absolute file paths do work, but maintenance of the paths generally speaking with multiple developers makes this likely a non-starter for many TypeScript development projects. There have been discussions on CodePlex for example that expressed a similar request (but without a resolution). As TypeScript files are stan

Categories : Visual Studio

MSBuild publish and package for Azure
The correct target to create a .cspkg is Publish as you can see here. The Package target is for packaging web-projects. Regarding the size difference, it is possible that VS builds a debug version. If that's not the case you can actually see the contents of the .cspkg and figure out what's the difference. You can rename the .cspkg to .zip and unzip the contents, then rename your roles .cssx file

Categories : Visual Studio

install chocolatey redis packages for VisualStudio on build
I could be way off the mark here, but the redis package that you are referring to, i.e. from NuGet should only include the assemblies that you could then consume within your application. If you actually want to have the Redis application installed, you would want to install the Redis application from Chocolatey.org, which you can find here. In terms of getting Chocolatey etc installed as part of

Categories : Visual Studio

Unity3d 4.5.2 integration with monoDev
If you double-click a .cs file in Windows Explorer, does it open Visual Studio? If so, try making the default editor for .cs files the Mono IDE. Hold Shift, then right-click a .vs file, then pick the "open file with" (or similar) item to permanently assign a new editor to .vs files.

Categories : Visual Studio

Windows phone emulator not working (visual studio update 3)?
You see this error when there are pending updates that has to be installed on the machine. Make sure you have installed all Windows updates and also VS 2013 updates and see if it resolves the issue.

Categories : Visual Studio

How to create blanktemplate or remove existed template in ADXportal (Adx styudio) development
Please follow the steps for creating a new Template in ADX. http://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/getting-started/adding-a-page-template/

Categories : Visual Studio

«Inconsistent Line Ending» in Visual Studio when editing from outside VS
The problem you met is about a different endline encoding. I bet that the script you wrote for changing files insert a line ending like . It is a «*nix» notation, usually also called «LF». Windows notation for a newline for some (I guess historic) reason requires two characters, it is called «CR/LF». That is, you need in your script insert not just the , but . Just for you interest, ther

Categories : Visual Studio

What is MSVC equivalent to gcc's -Wundef?
MSVC's compiler option /wd4668 (to disable warning "C4668") should be equivalent to -Wundef, according to the documentation at http://msdn.microsoft.com/en-us/library/4dt9kyhy.aspx. [Based on the comment to the original question.] Unfortunately, this warning is unusable, because it produces a lot of warnings in system header files. Unlike GCC/Clang, MSVC does not appear to have the ability to i

Categories : Visual Studio

Wix - relationship between heatdirectory directory and preprocessorvariable
One thing to clear up, when you call heat, the directory you harvest will be supplied via the command line argument to heat. The SourceDir is a placeholder for the path in which you'd find the actual files harvested, relative to the directory that you chose to harvest. It's defined by a preprocessor variable or by a path you specify to light using the -b option. When you call heat, you can tell

Categories : Visual Studio

Using visual studio graphics debugger OR nvidia nsight with steam games
I think Nsight can support "latch" you mentioned. Please configure Nsight's User Settings: Launch external program: $PATH_TO_YOUR_STEAM_EXE Check the check box named "Application is a launcher" [Here is the key] Working directory: $PATH_TO_YOUR_STEAM_WORK_DIR Also remember to uncheck the "Synchronize files" in Synchronization section. After all configurations have been done, just launch a

Categories : Visual Studio

Doxygen warning format to match Visual Studio
Sorry to answer my own question, it seems that the doxygen configuration has the following option WARN_FORMAT by altering it to: WARN_FORMAT = "$file($line): $text" Allows the errors to be integrated into visual studios error and output

Categories : Visual Studio




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.