Can the Microsoft TextTransform utility be used standalone? - c#

I need to use the TextTransform tool in a standalone mode. But it doesn't want to run on machines that don't have Visual Studio installed. Has someone figured out how to do this?

If you are using this solely on a build machine, then as of Visual Studio 2010, you are licensed to copy the dlls for text templating from the GAC of a Visual Studio installed machine to the build server.
We accidentally omitted the filenames from the buildserver.txt file in Visual Studio 2010 RTM, but we've corrected that for Visual Studio 2010 SP1.
T4 isn't licensed for use on machines other than build servers that do not have Visual Studio installed.

Related

How to use VersionControlEx in Visual Studio 2017?

I have a Visual Studio 2013 extension that has a reference to Microsoft.VisualStudio.TeamFoundation.VersionControl.dll, from which the following type can be obtained:
Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlEx
Today I uninstalled all previous installations of Visual Studio and then installed Visual Studio 2017 Enterprise with the options ".NET desktop development" and "Visual Studio extension development".
I opened the project with Visual Studio 2017 and had to replace some of the references (EnvDTE, envdte80, Microsoft.VisualStudio.Shell.15, etc) and also installed the nuget package Microsoft.TeamFoundation.VersionControl.All.
Unfortunately the namespace Microsoft.VisualStudio.TeamFoundation and therefore VersionControlEx are not recognized.
I have searched the file on my machine with FileLocator Lite and it does not exist.
Any idea how has this changed in Visual Studio 2017?
I basically to access the PendingChanges window.
Thanks in advance.
By doing a search, I was able to find the file in there:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer
I also found copies associated with other versions of Visual Studio. Given the path of the file, it appears to be included along with Team Explorer.
I suspect the reason you were not able to find the file on your machine is that you had uninstalled your prior versions of Visual Studio and Visual Studio 2017 did not release with Team Explorer.
If you update your version of Visual Studio or you run the standalone installer, I expect that you will be able to find the file.

Visual studio 2015 project templates are not showing up

I just installed Visual Studio 2015, after installing Azure SDK I am seeing very limited project templates.
I have selected Web Development tools while installing VS2015
I was using visual studio blend, which is not a full version. Closing this.

Visual Studio 2015 Enterprise installation error

I am having difficulty in installing Visual Studio 2015 Enterprise (Update 1). After installation completes, I get a warning saying "Not all features installed correctly". See below snip for details
In control panel programs list I found that VC++ 14.0.23506 (both x64 and x86) are installed.
I am able to open visual studio, but when I try to create a new project I get following error regrading c# compiler error
I know performing a clean install again is a solution, but I have poor internet speed and would like to avoid downloading the whole thing again. Any help in fixing this would be great.
PS: I have VS 2013 professional and VS 2012 express also installed, both of which are working fine
Try uninstalling Visual Studio 2015, those VC++ 2015 x86 and x64 runtimes, and reinstalling Visual Studio 2015. Looks like it didn't finish installing properly because you already had the runtimes installed.

Add Microsoft.Office.InterOp.Word using reference C#

I'm trying to add the Microsoft Office InterOperability reference to my header but I cannot find it.
I went here: http://msdn.microsoft.com/en-us/library/kh3965hw.aspx
I installed the PIAs but I cannot find the reference still. There is a registry entry in the Add and Remove Programs but for some reason Visual Studio 2010 is not seeing it.
Edit: I have Visual C# 2010 Express
Visual Studio will install these Office PIA files as well to the following:
When you install Visual Studio, the PIAs are automatically installed to a location in the file system, outside of the global assembly cache. When you create a new project, Visual Studio automatically adds references to these copies of the PIAs to your project. Visual Studio uses these copies of the PIAs, instead of the assemblies in the global assembly cache, to resolve type references when you develop and build your project.
These copies of the PIAs help Visual Studio avoid several development issues that can occur when different versions of the PIAs are registered in the global assembly cache.
Visual Studio installs these copies of PIAs to the following locations on the development computer:
%ProgramFiles%\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office14
(or %ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office14 on 64-bit operating systems)
%ProgramFiles%\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office15
(or %ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office15 on 64-bit operating systems)
Did you include the Office files when installing Visual Studio?
If not, then run Visual Studio setup again and choose to Add Options and choose the Office PIA relevant pieces.

Visual Studio Intellisense Icons available for download?

Hi I was wondering if the icons used in Visual Studio 2010/2012's Intellisense menu, to distinguish between Methods and Fields etc, were available for download somewhere?
They would be useful as placeholders for my current application I am developing.
The images are publicly available in the Visual Studio 2008 SDK under the following path:
VisualStudioIntegration\Common\Source\CSharp\LanguageService\Resources\completionset.bmp
I do not know what license the images are distributed under, as I have only used them as part of extensions for Visual Studio itself.
Edit: The images were distributed with the SDKs for Visual Studio 2005 and 2008, but are no longer included in the SDKs for Visual Studio 2010 or 2012.
Avalon Edit is open source and there may be images from that you can use:
https://github.com/icsharpcode/SharpDevelop/wiki/AvalonEdit
The images are the property of Microsoft and as such should not be used, I'm sure a quick google will point you in the direction of suitable images for use.
Visual Studio 2012 (and later)
For VS 2012 and later, you can download the icons from Microsoft's Visual Studio Image Library.
Visual Studio 2010 (and earlier)
According to their docs, earlier versions were bundled with Visual Studio, so you can be find them locally if you have VS installed:
Visual Studio 2005
...\Program Files\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary\VS2005ImageLibrary.zip
Visual Studio 2008
...\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip
Visual Studio 2010
...\Microsoft Visual Studio 10.0\Common7\VS2010ImageLibrary\1033\VS2010ImageLibrary.zip

Categories

Resources