Questions tagged [customtool]

45 questions
4
votes
1 answer

How to output in the log window in perforce client p4v using custom tools

We're developing perforce custom tools in python and we're outputting messages during the script execution. It shows up in p4win but we're mainly using p4v and the output doesn't show up in the log window. Is there a way to output there or in any…
Eric Fortin
  • 7,533
  • 2
  • 25
  • 33
4
votes
2 answers

How do I Debug a SingleFileGenerator/ Custom Tool?

I am building a Custom Tool code generator using the Visual Studio SDK and basing it on the SingleFileGenerator example. My question is how to enter debug mode on this code? I can currently add my custom tool to a file in Visual Studio but it errors…
Jeff Martin
  • 10,812
  • 7
  • 48
  • 74
3
votes
1 answer

VS2010 custom tool - generated filename bug? (YUI Custom Tool and others)

I don't know if this is a bug of visual studio 2010 but when I run the YUI Custom Tool in some files I get the new file with a "1" added to the filename.. For example, I have a file named Flexigrid.js and when I run the custom tool I get a file…
pabloide86
  • 946
  • 1
  • 7
  • 17
3
votes
1 answer

Add template file without custom tool to project programmatically

We add a structure of T4 template files (tt and ttinclude ones) in a project in Visual Studio. For these templates we are using our custom transformation and processing and we do NOT want the Custom Tool setting of the tt files which by default is…
2
votes
0 answers

How to run custom tool from VS2022 extension?

I'm developing a Visual Studio 2022 extension with the Visual Studio Community Toolkit. The extension modifies some resx files and I'd like to run the associated custom tool to regenerate the corresponding *.Designer.cs file after a resx file is…
Tao Gómez Gil
  • 2,228
  • 20
  • 36
2
votes
1 answer

How to display custom tool window at the first position, programmatically in visual studio

I created the tool window extension in visual studio based on below link, How to ensure it is the first docked as tabbed window in the output…
Deepak Kothari
  • 1,601
  • 24
  • 31
2
votes
1 answer

Cannot find custom tool on this system, even though it is there

I'm trying to use an in-house custom tool that generates C# code from XML in Visual Studio. The last time I successfully used the tool was about a month ago, since then I've updated from Windows 8.1 to Windows 10 and have also updated Visual…
meitsrik
  • 61
  • 1
  • 7
2
votes
1 answer

Is it possible to make a file association with a customtool in Visual Studio?

I've created a customtool for VisualStudio. Now I was wondering if it was possible to make a file association so when I create certain type of file (*.popo), it would automatically set the property field for the customtool? Example: When you create…
Sauleil
  • 2,573
  • 1
  • 24
  • 27
2
votes
2 answers

Run SingleFile Generator through MSBUILD

i have created a Custom tool (SingleFile generator) using IVsSingleFileGenerator. Which takes "xyz.Resx" file as input and generate "xyz.Designer.resx.cs" file. This file can be generated on building/Saving the Application through IDE. Issue is, I…
1
vote
2 answers

Two Custom tool s for a single file?

I want to generate some code from my dbml(Linq to Sql) file,the dbml file is placed in many part of my project So I wrote a custom tool for this purpose But the problem is that dbml already has contained MSLinqToSQLGenerator custom tool , So do you…
hm1984ir
  • 554
  • 3
  • 7
1
vote
3 answers

Custom tool error Failed to generate code

Why this error is appearing? I was just setting some default values in a dataset designer... its second time that this is appearing... "Custom tool error Failed to generate code. Exception of type 'System.OutOfMemoryException' was thrown"
Dr TJ
  • 3,241
  • 2
  • 35
  • 51
1
vote
1 answer

How do I default the visual studio file property "custom tool" for a given file extension?

I have a custom tool "NafestisGenerator" of which I need to apply to every ".ntf" file. The question is, how do I tell visual studio (using the Custom tool Generator sample from Microsoft) to use the "NafestisGenerator" custom tool on every ".ntf"…
JustinKaz
  • 620
  • 3
  • 10
  • 30
1
vote
1 answer

Unable to find Visual Studio warning code

I need to suppress following warning in Visual Studio 2012: A custom tool 'AutoRunCustomTool' is associated with file '', but the output of the custom tool was not found in the project. You may try re-running the custom tool by right-clicking on…
Kacper
  • 11
  • 1
1
vote
4 answers

C# Custom Tool 'SettingsSingleFileGenerator' output not found

I downloaded the source code for this JiraSVN plugin, and opened the .sln file in VS2010. I was immediately greeted by this warning: A custom tool 'SettingsSingleFileGenerator' is associated with file 'Properties\Settings.settings', but the…
kmote
  • 16,095
  • 11
  • 68
  • 91
1
vote
0 answers

Visual studio custom tool build event

Is it possible to build a project (not solution) everytime a custom tool is run in visual studio?
Tom
  • 139
  • 1
  • 14