I read a book "Pro c# 2010 and the .net 4 Platform" Andrew Troelsen.I stuck on page 926 "using
svcutil.exe"
Where is svcutil.exe in windows 7 if i am using visual studio 2012?
The svcutil.exe tool is added when you install the .net framework and you can find on many places, varying of the framework installed, for example:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools,
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin,
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64
Related
I`m building an extension for Visual Studio Team Explorer and a line of code like this:
ITeamExplorer teamExplorer = GetService<ITeamExplorer>();
needs a reference to Microsoft.TeamFoundation.Controls.dll
which i couldn't find any where in TFS2015
I have VS 2015 Pro installed. Found it at
**C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer**Microsoft.TeamFoundation.Controls.dll
If you have Visual Studio 2015 installed you should be able to find it at C:\Program Files\Common Files\microsoft shared\Team Foundation Server\14.0\Microsoft.TeamFoundation.Controls.dll; at least, that's where it is on my machine.
Also, I'm not sure if it's required, but I also have the Visual Studio Extensibility Tools installed, which is one of the optional items listed during the installation of Visual Studio 2015.
You can search and find it under this path:C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions
I found it under C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\mcjvkcdg.wd1 on my dev machine.
I have an ASP.Net MVC3 Project which references System.Web.Helpers v2.0 and System.Web.WebPages v2.0 These both come with MVC4 and is part of razor2. However, my colleague doesn't have MVC4 installed, and doesn't have VS2012 installed, just vs2010 like myself. And his project compiles without the reference issue.
Visual Studio 2010 SP1 installed: Version 10.0.40219.1. SP1Rel
I recently installed Windows 8 on a new PC but our project requires vs2010 and can't run on vs2012.
This project was working fine on another PC which had vs2012 installed.
The new PC has:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0 but not:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0
but my colleague has the latter folder and the v2.0 assemblies - without MVC4, and without vs2012 installed. How is this possible?
Download it from here, use nuget console :
https://www.nuget.org/packages/Microsoft.AspNet.WebPages/2.0.30506.0
How is this possible? --
After a lot of hit and miss, I found out that my colleague has Microsoft WebMatrix. This product when installed happens to implement razor v2 and installs the mentioned assemblies in the directory:
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0
This DLL is needed to reference the corresponding namespace Microsoft.TeamFoundation.Framework.Server. This DLL doesn't seem to be included with either the Visual Studio 2010 Team Explorer or the Visual Studio 2010 Team Foundation Server SDK.
This file can be copied from the server where Team Foundation Server 2010 is installed in the folder C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\bin.
The official place is
\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ReferenceAssemblies\v2.0
But I used:
\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0
because I'm on 64-bit Windows and I have VS2013.
http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.workitemtracking.client.aspx
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PrivateAssemblies is the location for TestManagment client. But, you may need to download the stand-alone TeamExplorer first... Thanks Microsoft :(
Visual Studio 2008 is not picking up the MVC 1.0 project templates. The MVC 1.0 release is installed on my system along with .NET 3.5 SP1 (pre-reqs).
I can't find MVC templates in the VS App's disk folders. The folders I'm searching are:
VS 2008 (9.0)
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\, subdirectory siblings: ProjectTemplates/, ProjectTemplatesCache/ and Templates/
Note: all templates shown in VS New Project dialog are found in here
How do I find the project template and register it for Visual Studio, or is there a workaround?
For reference, my other VS installs DO have the MVC templates...
I have multiple version of VS installed including Express, 2005 Professional and 2008 Team. I'm only concerned about 2008 missing the MVC templates.
VS 2005 (8.0)
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VSTA\ItemTemplates\
no MVC templates in here - good
VS Other
C:\Program Files\Microsoft Visual Studio
no templates here - good
Solution
After following accepted the links of the answer below, my MVC project templates appear
as shown alt text http://img19.imageshack.us/img19/6393/mvc2rc2vsts2008.jpg
This one might be helpful - forums.asp.net/t/1384062.aspx
can you check this one as well - go.microsoft.com/?LinkID=8900223 (<< WORD doc download)
(John K/Feb 2012) I've inlined some parts of external answers referenced by the above links for context here. Visit the links for full context.
GarlandGreene Member 128 Points 25 Posts Re: MVC templates in Visual
Studio Professional Edition 2008 Feb 12, 2009 04:24 PM|LINK
you have to install the ASP.Net MVC Framework Release Candidate, the
framework and the templates are not delivered with VS 2008. You can
download the Release Candidate from here:
http://go.microsoft.com/fwlink/?LinkID=141184&clcid=0x409
I just installed visual studio 2010 and upgraded my MVC project (which was running on MVC RC2 in visual studio 2008).
visual studio 2010 updated every project file to target the framework 4.0.
But the system.web.dll is pointing to
C:\Program Files (x86)\Microsoft
ASP.NET\ASP.NET MVC
2\Assemblies\System.Web.Mvc.dll
in VS2010 object browser, I have every dll showing up in multiple versions as expected (3.5.0.0 and 4.0.0.0) except for the System.Web.Mvc dll which doesn't show any version and points to the path I mentioned above.
Isn't this namespace point to the Framework folder like the System.Web namespace?
C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Web.dll
MVC 2 uses the same binary for .NET 3.5 and .NET 4.0.