How to disable the option of hidden parameter extraction - visual-studio-2013

Web performance test is detecting dynamic parameter and then adding extraction rule ...how to avoid this issue I want to disable the option of auto correlation in visual studio and want to manually co relate the dynamic values

Related

Renaming Global Variable Without Breaking Reference

Is there a way to rename a Variable or Variable Group without breaking the references it already have in Tibco Business Works 5.x. Thanks.
A way you could do this is by editing the complete source code that is in XML. After taking a proper backup.
You could identify the variable or variable group XML tags to be renamed and rename them by using an advanced text editor with Regular expressions if is the case.
Once you rename everything you would have to open TIBCO Designer and go to the root location of the project and validate All. Validate the complete project.
A manual cleanup and re-built, testing would be required.
Avoiding changes in a massive scale is advised. Less Risk.

MSTest Unit test attributes check

For regulatory reason all unit tests in our solution have to have some attributes set. Is there a way to check in visual studio if some specific attributes (like CREATOR, REVIEWER, REVIEWDATE, ...) are set within the VSMDI-list of the solution?
Further I have to check if the "CREATOR" attribute is equal to the "REVIEWER" attribute.
The goal is to deliver a list (Text, Excel, whatever) to my Scrum team with all these "wrong set attributes", so that they can fix them.
You can use reflection to check for the attributes and then create your Excel/Text list. You can do this as a MSBuild task and plug it into pre/post build actions of your Unit test project. See this blog post for an example on how to create a custom MSBuild task.
After running all the needed Tests within Visual Studio 2010 you get a TRX-file containing all the details of the executed tests. If you have put some attribute on these tests,you'll find them also in the TRX-file. Now you have to write an XML parser to read the attributes you need and work with this data. I extracted them into Excel and worked further with the data into the Excel map.

Changing images at runtime on installer using WIX

I am using WIX installer to develop installer.
I want to enhance the installer in terms of UI. I want to change the images at run-time on the same screen (not like billboard) like below
I have fixed 5 features. So there will be no scroll bar and all. I just want to show the current feature being installed and if any error occurs for particular feature red error icon should be displayed.
Is this possible using WIX
You could probably put stack various images on top of each other and set the hide/show conditions based upon some kind of properties that says if the feature is installed/installing/errored
I'm not sure about doing this dynamically such that you could only have to code it for one feature and then it would apply to all features.
Seeings as you only have five features its probably easy to duplicate the code a few times but obviously this isn't a good idea in the long run in terms of maintainability
EDIT: you might be able to design a T4 template that would generate such a UI for you automatically, in this case the code essentially would still be duplicated but it would only exist once in the T4
See WiX tricks and tips for more on T4 generation

Enforce Visual Studio "Code-Format Rules" via Domain Policy?

In Visual Studio, there are formatting rules found in the options menu that specify things such as where to include line breaks, how many spaces to use when tabbing (or to use tabs instead of spaces, etc.)
Is there a way to push these rules to each programmer's machine using a domain policy or some other way?
Those aren't actually rules -- they're preferences for automatic formatting applied by the IDE as you type. You can share those preferences by exporting them from one VS instance and importing them into another, but no amount of preference application will actually verify the contents of edited files.
If you want to actually apply rules regarding code formatting, you might want to consider using a tool like StyleCop.
http://www.phphosts.org/2010/05/share-the-same-visual-studio-settings-between-team-members/
That does not necessarily ENFORCE things though. You might have to do that in a login script after you figure out where those settings go.

Disabling default XML Schemas in Visual Studio?

I have recently started using CAML.NET IntelliSense for SharePoint with Visual Studio 2008; which works great; however whenever I create a new project using STSDev 2008 (and thus generate feature.xml and WebParts.xml) the default schemas include the CAML.NET IntelliSense and the built-in (relatively incomplete) schemas:
caml.xsd
wss.xsd
coredefinitions.xsd
camlview.xsd
All found in web server extensions\12\TEMPLATE\XML. The existence of both of these schemas for the file causes a large number of warnings, notifying me that a specific schema entry is already declared in one of the above files. Disabling them for each file individually works great, however in a SharePoint solution whit 40 or 50 XML files this quickly becomes laborious.
Is it possible to disable these built-in Schemas, selecting "Do not use selected schemas" does not work for future XML files only the current one?
Well, if you really don't want them - you could remove the schemas from the xsd path (%VsInstallDir%\xml\Schemas) - and perhaps disable download (Options->TextEditor->Xml->Miscellaneous). My machine isn't in a suitable state to try it, but it should work in theory...

Resources