|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
|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
|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
|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
|Visual Studio 2013 - Edit Project Template|
The Community/Express (free) versions do not support the
If you are using another version, the steps for customising an
existing template are as follows (taken from my blog here:
1. Find the files
The files have not moved around much so are currently in C:<Program
Files>Microsoft Visual Studio 12.0Common7IDEItemTemplatesCSh
|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
|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.
|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.
To learn the command names go to "Tools" > "Customize..." and then
|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
|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.
|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
|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
|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.
And actually that only worked like one time. I ended up including Web
|Visual Studio Community Edition and Fakes Framework?|
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).
|Generate documentation comments for typescript in Visual Studio|
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.
|Code coverage by developer|
You would have to look at commit histories.
This might interest you:
Not sure if you could do it with TFSVC but probably could with TFS-Git
This might be another option as well:
|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
Try that, and let us know :)
|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
type="MyProvider.MyProviderServices, MyAssembly" />
public class MyConfigurati
|Code formatting for modified parts only|
and this one
You can try this: Code Alignment
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
|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:
|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
Having said that, it's entirely possible that you
|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
Check out the Native Interop Debugging feature of the Visual Studio if
you are developing a Window Store Application. Use "Script Only" for
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
|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
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
|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:
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
|Small annoyance in Visual Studio's code pretty-fier|
This sort of things is configurable in Visual Studio. I believe it's
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
|Resharper refactoring creating static methods|
That's right. Here’s what the MSDN documentation has to say about
Members that do not access instance data or call instance methods
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
runtime for each call that makes sure that t
|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.
|How can I reference typescript files without absolute paths?|
There is not currently a way to specify a root folder to use within
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
|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
|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
|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
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
|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.
|How to create blanktemplate or remove existed template in ADXportal (Adx styudio) development|
Please follow the steps for creating a new Template in ADX.
|«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
. Just for you interest, ther
|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
|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
|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
Working directory: $PATH_TO_YOUR_STEAM_WORK_DIR
Also remember to uncheck the "Synchronize files" in Synchronization
After all configurations have been done, just launch a
|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