visual-studio-2013

How do I use signtool in post build event for Visual Studio 2013 without hard coding path?

给你一囗甜甜゛ 提交于 2020-01-23 11:39:50
问题 I've created a post build event to do code signing of the application after a successful build with the following post build script. copy $(TargetPath) $(TargetDir)SignedApp.exe signtool sign /t http://timestamp.verisign.com/scripts/timestamp.dll /a $(TargetDir)SignedApp.exe I get the error 'signtool' is not recognized as an internal or external command. So it seems the path used for the build event doesn't point to the signtool utility. When I run the VS2013 x86 Native Tools Command Prompt I

QPainter and OpenGL native code in QOpenGLWidget class

坚强是说给别人听的谎言 提交于 2020-01-23 11:09:08
问题 I am preparing a desktop application to draw some 2D plots. I am using C++: Qt 5 and visual studio 2013. I created a simple GUI and put myQOpenGLWidget in it. I am already drawing the plots, axes and ticks using my own openGl shaders. Everything works fine and now I want to add the description to my axes and ticks to make the graph possible to analysis. As in OpenGL itself there is no dedicated functions to render text, I came up with using QPainter object just to add the desired description

QPainter and OpenGL native code in QOpenGLWidget class

落爺英雄遲暮 提交于 2020-01-23 11:08:22
问题 I am preparing a desktop application to draw some 2D plots. I am using C++: Qt 5 and visual studio 2013. I created a simple GUI and put myQOpenGLWidget in it. I am already drawing the plots, axes and ticks using my own openGl shaders. Everything works fine and now I want to add the description to my axes and ticks to make the graph possible to analysis. As in OpenGL itself there is no dedicated functions to render text, I came up with using QPainter object just to add the desired description

Resharper Unit Tests not running

核能气质少年 提交于 2020-01-22 08:33:07
问题 I'm trying to get started writing unit tests in a project. I wrote the createTest first and tried it. This test passed and I started writing my other tests. Now all my tests just say "Test not run". This happens both when I try to run all tests at once and when I run a single test. https://github.com/Requinard/OperationOctopus/tree/UnitTest All I've found so far is people using NUnit. We're using the default microsoft testing framework, with resharper running the tests. [TestMethod] public

Workflow for using git submodules in Visual Studio

拜拜、爱过 提交于 2020-01-22 07:15:06
问题 I have some shared code I want to share among a number of solutions. Most examples use the command line, but I want to do it using Visual Studio 2013 (and/or TortoiseGit)? - SolutionShared - .git - Project1Shared - Project2Shared - Solution1 - .git - ProjectFoo - ProjectBar - [SolutionShared] - [Project1Shared] - [Project2Shared] - Solution2 - .git - ProjectBaz - ProjectQux - [SolutionShared] - [Project1Shared] - [Project2Shared] What I did was to create a new solution SolutionShared , add

Set default action to Compare in Visual Studio 2013 Pending Changes window with TFS [duplicate]

拜拜、爱过 提交于 2020-01-22 01:53:37
问题 This question already has answers here : Compare files on double click in Pending Changes view (7 answers) Closed 2 years ago . I'm using Visual Studio 2013 with TFS for source control. When I open Team Explorer > Pending Changes and double-click on a changed file, the file opens in the editor. The only way to see my pending changes is to right-click and choose Compare with Workspace Version . This gets time-consuming for a long list of files. Can I change the default double-click action to

Set default action to Compare in Visual Studio 2013 Pending Changes window with TFS [duplicate]

橙三吉。 提交于 2020-01-22 01:53:29
问题 This question already has answers here : Compare files on double click in Pending Changes view (7 answers) Closed 2 years ago . I'm using Visual Studio 2013 with TFS for source control. When I open Team Explorer > Pending Changes and double-click on a changed file, the file opens in the editor. The only way to see my pending changes is to right-click and choose Compare with Workspace Version . This gets time-consuming for a long list of files. Can I change the default double-click action to

Change service reference URL in code

独自空忆成欢 提交于 2020-01-21 10:48:25
问题 I'm working in a Windows Phone 8 project and in order to use some webservices I added a service reference with a specific URL . My problem is the URL because it changes fom time to time so I need to let the user insert the new URL from some menu when the app is running. I know how to change it in Visual Studio but now I need to change it in code when the app is running..so my question is: how do I change the URL in code? I have done some search and the file "app.config" seems to do the job

Task could not find “LC.exe” using SdkToolsPath

∥☆過路亽.° 提交于 2020-01-21 09:15:56
问题 I have cloned a project to my computer using TFS, when I build the project I get this error : Error 6 Task could not find "LC.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed I have searched the web but couldn't find a solution. I

Task could not find “LC.exe” using SdkToolsPath

 ̄綄美尐妖づ 提交于 2020-01-21 09:15:31
问题 I have cloned a project to my computer using TFS, when I build the project I get this error : Error 6 Task could not find "LC.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed I have searched the web but couldn't find a solution. I