visual-studio-2012

Unbale to generate changes in JS file after saving TypeScript file

丶灬走出姿态 提交于 2019-12-13 04:23:00
问题 I am using Visual Studio 2012 along with TypeScript 0.9.5 and Web Essential 3.5. After I make changes in TypeScript file and save it. The changes are not saved in JavaScript file. I navigated through Tools > Options > Web Essentials > TypeScript in VS 2012 but found the options have changed. Earlier I was using TS 0.8.1 and WebEssentials 2.8 and everything was working. Please provide your suggestions. 回答1: Just a link through to Tim LaBonne's blog where he outlines the changes needed to the

get all changed files for a TFS workitem

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 04:21:20
问题 I am working with Visual Studio 2012 and TFS 2013. Is it possible to obtain the list of files affected by a workitem? Currently, using the Query Editor under Team menu, I am only able to get all the changests commited for a workitem but for a code-review it would be interesting to get also directly the list of affected files. 回答1: In Source Control Explorer right click on a folder and on context menu "View History", will list all changeset's, select one and on Team Explorer show the

How do I stop a file being imported more than once with SASS and Midscape?

别等时光非礼了梦想. 提交于 2019-12-13 04:13:59
问题 I am just learning Sass and have used the @import. I have the following situation... _master.scss <-- this contains all my global variables like color _child1.scss <-- this is for one of my child pages but it needs stuff from master _child2.scss <-- this is for one of other my child pages but it also needs stuff from master Now the problem is _master is getting quite big. So when I save my Scss files (the children) using Mindscape tools in Visual Studio 2012 I notice that the generated css

Using enable_if and underlying_type in function signature in VS2012

邮差的信 提交于 2019-12-13 03:55:34
问题 This code works in VS2013 and other compilers (tested clang 3.4 and gcc 4.8) but fails to compile in VS2012: #include <type_traits> #include <cstdio> // error C4519: default template arguments are only allowed on a class template template<typename E, typename std::enable_if<std::is_enum<E>::value>::type* = nullptr> typename std::underlying_type<E>::type to_integral(E e) { return static_cast<typename std::underlying_type<E>::type>(e); } template<typename E, typename std::enable_if<!std::is

Customizing Visual Studio run configuration to run tests after launching application

﹥>﹥吖頭↗ 提交于 2019-12-13 03:42:12
问题 Here are the details of my Development Environment: Visual Studio 2012 Ultimate with Update 4 Google Chrome Version 38.0.2125.111 m Windows 7 Professional with 32-bit Operating System Coded UITest Builder 11.0.60315.1 Microsoft Coded UITest Project is within the ASP.NET Web Application Solution. We use the Microsoft Coded UITest Project to run Automated UI tests on the Web application. Here is what needs to be done. I need to build and run the ASP.NET Web Application Solution so that the Web

Does Visual Studio support adding MSBuild tasks to projects?

前提是你 提交于 2019-12-13 03:39:43
问题 I'm trying to add some simple MSBuild tasks to a Visual Studio project (VS 2012 Express) - specifically, to create a subdirectory then copy some files to a subdirectory of the output directory ready for packaging. I see that VS supports custom build steps, which are command-line invocations. However, since VS is based on MSBuild it should be possible to add these directly as MSBuild tasks like the Copy Task in the AfterBuild pre-defined target. What I can't find is any way to actually add

TFS 2012 Builds and SQLite for WinRT

萝らか妹 提交于 2019-12-13 02:59:29
问题 Working on a Windows Store App which is utilising SQLite for WinRT. Local builds work fine due to the installation of the VS2012 Extension SQLite for Windows Runtime. This adds 2 SDK references into the project config which points to the local file system (not part of the solution). But TFS 2012 Build freaks out saying that the build is broken as it can't find the SQLite and C++ dlls. I am using the MS hosted TFS so installing the SDKs on the build server is not an option. Any ideas? 回答1: I

Report viewer set Parameters iList parameters error

て烟熏妆下的殇ゞ 提交于 2019-12-13 02:53:48
问题 Morning all, Using Visual Studio 2012 Ultimate and C#.NET 4.0. IList<Microsoft.Reporting.WinForms.ReportParameter> param = new List<Microsoft.Reporting.WinForms.ReportParameter>(); param = repsetup.NewReportSetup( txtNewPart.Text.ToString(), txtBatch.Text.ToString(), txtLocation.Text.ToString(), txtWheel.Text.ToString(), txtGear.Text.ToString(), txtLength.Text.ToString(), txtFits.Text.ToString(), txtNewBar.Text.ToString(), txtNewBarNum.Text.ToString(), txtABS.Text.ToString() ); reportViewer1

WPF #FF Color Bug on Windows 8.1, Visual Studio 2012

你。 提交于 2019-12-13 02:37:18
问题 I've ran across what appears to be some kind of color related but in WPF/XAML on Windows 8.1 with Visual Studio 2012. Using Snoop, I can see that every color assigned as hexadecimal is showing FF appended to the beginning of the hex. So, for example, #DDDDDD becomes #FFDDDDDD. I'm using Visual Studio 2012 on Windows 8.1 (don't ask)... Latest updates installed as far as I know. I made a really simple WPF test application. I'm assigning colors in the application like this: <Application

Intellisense and error highlighting not working by default in VS2012

a 夏天 提交于 2019-12-13 02:35:48
问题 I've recently bought a new computer and as such have had to install visual studio 2012 onto it. When I installed it onto my last computer, everything worked fine by default; this time, auto-completion is off/not working and neither is error highlighting. I've tried resetting the settings to their defaults but this has had no effect. What else can I try? Thanks. 回答1: Did you try the second suggestion here Intellisense and code suggestion not working in Visual Studio 2012 Ultimate RC Delete the