Questions tagged [visual-studio-2012]

1

votes
1

answer
54

Views

Same AVX2 program yields different result in gcc & msvc

I'm trying to increase throughput of md5 hash using AVX2. I have used simd_md5 library provided by a github user.. On msvc2013 i get desired result for all 8 buffers but on linux when i run the same code only for first 4 buffers the result match & next four buffer somehow the result is shifted. I ha...
Nathan S
1

votes
2

answer
111

Views

Find place where some macro was #define-ed

The bottom line: building with VS2012, there's a macro (WIN32_LEAN_AND_MEAN) defined in my project I can't find #define-ed anywhere: not in C/C++ --> Preprocessor, not inherited from parent or project dependencies (microsoft.cpp.props), not in the command-line. It is not mentioned anywhere in the vc...
uv_
1

votes
1

answer
244

Views

Application Installer: Microsoft database engine 2010 not available under pre-requisites

I have a windows form c-sharp application developed for windows 10. When I am trying to make installer, I cannot find 'microsoft database engine 2010' (important for my app) under the 'prerequisite' as shown below: I do not want my customer to separately download it and install it. So is there a wa...
gpuguy
1

votes
1

answer
43

Views

Blank space arrangement in asp.net design page

I have a created a profile page for my website, there is a photo, upload button and a fileUpload control. Controls such as First name/ last name etc are placed In a panel separate from image and image control. The problem is that Panel leaves a huge margin from top (I haven't given margin-top). I wa...
YashMJ
1

votes
0

answer
127

Views

Building Linux C++ project imported to Visual Studio 2015 by VisualGDB

I have a small Linux project which has a OpenCV as its dependency. In Linux (Ubuntu: running in VMware), I’ve already compiled and built it by using bash script without any error. In order to develop it more efficiently, I’m going to import it into Visual Studio 2015 from Ubuntu by using Visual...
Zho8789
1

votes
0

answer
230

Views

How to access client side USB Token based Digital Signing Certificate in IIS

I have developed an MVC Application, which uses USB Token Digital Signature Certificate. When I run the application from Visual Studio, it works fine. But when I publish it on IIS it doesn't detect USB Token. Do I need to make changes/configuration in IIS server?
Ashish Kumar
1

votes
0

answer
43

Views

VB.NET Webkit Javascript Alert Popup

I made a live html editor in Visual Studio using the WebKit Webbrowser. Javascript works, but i cant figure out how to get javascript alerts to work. https://gyazo.com/1962090a11f0b52e414171956156fb02 ^^ as you can see in the code, Im trying to get a javascript alert box to popup when you click the...
PrestonL
1

votes
0

answer
34

Views

C# Local, Autos windows not showing DateTime as a string

The locals and auto window are displaying DateTime variables as simply: '{System.DateTime}' How do I make the locals & auto windows show DateTime's as strings instead? (i.e. I want to see the .ToString() value, not the TypeName next to each variable name) I may be going crazy but I think I used to...
tpascale
1

votes
0

answer
37

Views

Visual Studio 2012 VisualSVN: add solution file to Subversion manually (website project)

I created a Website project in Visual Studio 2012. It saved the *sln file in a different folder (..Visual Studio 2012\Projects\WebSite1) while the other files are under (..Visual Studio 2012\WebSites\WebSite1). I added the files under WebSites folder in subversion but how I can add the *.sln file ma...
aggicd
1

votes
1

answer
17

Views

Visual c++ programatically get file version number within the file itself

I know I can call GetFileVersionInfo() windows API to retrieve file version information. Is there an easier way to determine the version information, from within the program itself? For example, suppose I am writing codes for Foo.dll, and inside Foo.dll, I want to support a version function, say Ge...
Robin Hsu
1

votes
1

answer
463

Views

System.Security.Principal.WindowsIdentity.GetCurrent().Name Issue on Server

Do you know why when I use: System.Security.Principal.WindowsIdentity.GetCurrent().Name on a .aspx.cs page in local machine it returns my user name, for example 'CORP\323432' and when I publish the same code on server with IIS it returns the IIS and Web Site´s Name ? For example: 'IIS SERVER\SITE...
PoorChristmas
1

votes
1

answer
98

Views

c++ Linking Error with const member function in a class

I have a declaration something like class ABC_EXPORT abc { .... public: xyz foo1(const arg1 a, const arg3 b) const; //defined in cpp file xyz foo2(const arg1 a, const arg2 b) const { return foo1(a, convert_to_arg3(b));} }; This gets built into a DLL library, and another project calls foo2. I get lin...
user6386155
1

votes
1

answer
520

Views

How to connect oracle database in visual studio 2017 using Scaffold-DbContext

How to connect oracle database in visual studio 2017 using Scaffold-DbContext PM> Scaffold-DbContext 'Server=MYLTOP;Database=DBFirst;User ID=sa;Password=XXX;' Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models.
Revathi Vijay
1

votes
1

answer
996

Views

LNK1104 cannot open file 'legacy_stdio_definitions.lib'

I've ported my project from vs 2012 to vs 2015. The Library i'm consuming is also built from vs 2015. I build my project using makefile and getting this error LNK1104 cannot open file 'legacy_stdio_definitions.lib' if i build the same in vs 2012 , it works fine. What this error is all about?
secretgenes
1

votes
0

answer
59

Views

Fontawesome 5 error on IE11

I have a problem with fontawesome on IE11 for some strange reason throws a javascript exception on this line: var candidates = toArray(root.querySelectorAll(prefixesDomQuery)) It only happens on IE and with FA 5.1.1. I'm working with Visual Studio 2012, and I'm importing jQuery,Bootstrap, and Jqwidg...
Fex09
1

votes
1

answer
45

Views

Abstract class c++ (erorr LNK 2001: unresolved external symbol)

I'm getting this error when i make an object of a child class which implements virtual function of Base class. error LNK2001: unresolved external symbol 'public: virtual void __thiscall CateringOrder::[Order]::calcTotals(void)' ([email protected][email protected]@[email protected]@UAEXXZ) whereas my code is class...
Faizan Malik
1

votes
0

answer
30

Views

Hasmorepages property fails

I have created a routine that is intended to print a variable number of lines and/or pages, based on a queue of line information previously stored. Each page prints fine, but when printing more than one page, two pages overprint. I can't see my logic error, but there must be one. A copy of the of...
Allan
1

votes
1

answer
44

Views

SQL Image to Crystal Report

I want to pull image data from SQL Server 2008 Express and display it directly in a Crystal Report. I am using Visual Studio 2012 along with Crystal Reports for Visual Studio (also a full version of SAP Crystal Reports 2013). I have attempted to use samples from Google/SO searches but I seem to be...
ctmcklowe96
1

votes
0

answer
41

Views

Visual Studio 2012 on Windows 10 C++ typedef enum information disappeared

I have an app is working on Window 7 successfully and need to migrate it to Windows 10. So I have been trying to build it with Visual Studio 2012 on Windows 10. There are some C# and C++ projects in the solution. The problem is that there is a huge data have numbers of structure and it has some enu...
Hakan Y.
1

votes
0

answer
44

Views

std::function needs address to function on vs2012?

I found this strange behavior when working with std::function. The code below compiles with no warnings on VS2012, but when executed there is a memory access violation in the type_traits function forward. typedef std::function Func; void defaultFunc() { /* no-op */ } int main(int argc, const char**...
Anders K
1

votes
1

answer
46

Views

Can we login to Microsoft CRM server by using Jenkins? for CI/CD process?

For CI/CD workflow, Can I use Jenkins to Connect Microsoft CRM and do import new CRM solutions and adding security roles to users, Create plugins?
viswa
1

votes
0

answer
47

Views

QT nmake exception “Undefined Interface” at QTCharts “cartesianchartaxis_p.h”

I'm trying to use QTCharts 2.1.0 for QT 5.4.1 version. I use opensource QT and tried to install QTCharts as the instructions shown in this qtcharts github release-2.1.0 link I build without any problems but when I try to run it with nmake I get the exception shown belown and I genuinely have no idea...
Samed Sivaslıoğlu
1

votes
0

answer
6

Views

Using Quantlib on Visual Studio for Mac

Can someone help me figure out how i'm supposed to use quantlib and boost using visual studio for mac. When I try to load the solution file for quantlib onto VS for mac , i just get yellow triangles for each one of the contents of the solution file. And I cant figure how to include the boost file in...
UDAY JAIN
1

votes
0

answer
22

Views

How to format word file using vb.net code?

I want to insert a horizontal line with header and footer in the word file created using vb.net ? How to add horizontal line and header/footer to the document using vb.net code ? Dim wa As Microsoft.Office.Interop.Word.Application Dim wd As Microsoft.Office.Interop.Word.Document Dim wp As Microsoft...
doubling
1

votes
1

answer
582

Views

Error installing Visual studio 11 on Windows 7

When I try to install Visual Studio 11 on Windows 7, and start it; I receive the following error. See the picture below:
bbosak
1

votes
1

answer
737

Views

How to fix broken VS2010 setup project after installing VS 11 Beta

After installing VS 11 beta, I've found that my setup project in VS 2010 builds, but fails to install correctly on Windows Server 2003. I have a Custom Installer Action in the project, and using WiLogUtl.exe shows that it's failing on this step. I've installed VS2010 on another machine and can now b...
Craig Shearer
1

votes
2

answer
877

Views

Create unit tests for class library (no metro) vs11

I am trying to make a standard class library in vs11 with more available classes than a library with metro offers (for example System.Console) and I cannot figure out how to create unit tests for it. I have tried looking through Google an nothing works. I actually had to go into vs2010, create the p...
Adam Schiavone
1

votes
1

answer
1.5k

Views

How to attach to WWAHOST from Visual Studio 11

If I F5 a Windows 8 JavaScript app and look at the processes pane in VS11, I see that it's WWAHOST.exe that I'm attached to. Is it possible to attach to this after the fact using Debug | Attach to Process? I don't see it in the process list even when I show processes from all users. I see the same t...
Jeremy Foster
1

votes
1

answer
118

Views

How to add support for a new file format in Visual Studio 11

My company has a 30yo hypermedia system, based on SGML. It's somewhat similar to HTML. Now some of the customers want to use Microsoft VS to write their screens. I'm new to .NET and have no idea where to start. I'd like to have syntax highlighting, auto completion and available properties suggestion...
user1318555
1

votes
1

answer
486

Views

Attempting to exectue SQL script but can't find how to connect it to my SQL Server CE database

I've generated my edmx.sqlce script using the generate from model approach within the Entity Framework but can't figure out how to execute the script against my database. Note that the method needs to work with visual studio 11 Beta. Could anyone let me know how I can connect it to the compact data...
Abstract
1

votes
2

answer
1.2k

Views

Visual Studio 2010 SP1 to 11 Beta - Unit Test Project Cannot be Loaded

We have a Visual Studio 2010 SP1 Framework 4.0 solution, and a C# project in it that contains unit tests. I uninstalled VS2010 and installed VS11 Beta in a Windows 7 OS. I tried to connect out TFS, did a 'get latest' and everything worked fine. Except our unit test project did not open. Its project...
Kemal Taşkın
1

votes
1

answer
332

Views

F# profiling tools in Visual Studio 11

As a student I have access to VS2010 Pro only which does not provide good profiling tools so you can tune performance of your F# (or other) multithreaded programs. It would seem that Visual Studio 11 Pro Beta has the Concurrency Visualizer and other Analysis tools. Could anyone confirm if these are...
vis
1

votes
1

answer
578

Views

How do I run only ordered tests?

In Visual Studio 11, I'm facing a complex issue. I'm using the Unit Test Explorer to run unit-tests. However, it shows both my normal unit tests and my ordered tests, which are basically collections of tests to run in a specific order too. That doesn't work well for me, because I would love to have...
1

votes
2

answer
372

Views

How does the “.NET for Metro style apps” reference in VS11 Beta work, exactly?

When you create a new C# Metro style app in VS11 beta, it only has two references: one to Windows.winmd, which is a file and I get that; and one to '.NET for Metro style apps', which appears to point to the .NETCore folder under Reference Assemblies and not to any file in particular. The File Type p...
Mark Rendle
1

votes
1

answer
459

Views

Different titles for standard and wide tile (Metro-style app)

Is there a way to set different text (name) for standard and wide tile? When I edit the package manifest, fill in the Short name and select wide or standard tile it seems to work only for that tile and the other one shows no text (name)
Igor Kulman
1

votes
1

answer
1k

Views

Error occurs while compiling C++ project on VS11 with Bullseye Coverage

Error occurs while compiling C++ project on VS11 with Bullseye Coverage. Error message is: 1>ClCompile: 1> BullseyeCoverage Compile C++ 8.5.4 Windows License 6960 1> Copyright (c) Bullseye Testing Technology 1990-2012 1>c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\collection.h(5...
user1397558
1

votes
1

answer
1.2k

Views

Converting a Portable Class Library Project .csproj file from Version 2 (Beta) back to Version 1

I'm trying to move a lot of code backwards and forwards between the VS10, VS11 and MonoDevelop3 a lot at present. It seems that MonoDevelop3 has some initial support for PCL1, but VS10 and VS11 are now both using PCL2(Beta) - because I installed VS11 on the same PC as VS10. In order to allow MonoDev...
Stuart
1

votes
1

answer
127

Views

Running App developed on VS11 Beta on a computer without VS11 Beta

I have developed an app using Visual Studio 11 Beta. The app would not run on a computer which does not have VS 11 Beta installed... I have installed .NET Framework 4.5, but it didn't help... Does anyone have any suggestion on what should i install or add with the file in order to get it working on...
psidemus
1

votes
2

answer
282

Views

Creation Of GroupItems in MetroApps using HTML & Javascript

I am using Windows 8 and Visual Studio 2012 RC for Metro apps Development. Here I am taking GridApplication template for creating 3 listviews (groupedItems), these 3 listviews will need to display different information from my service. Actually in default grid application they have given common item...
Akil Pandu
1

votes
1

answer
1.3k

Views

EF Power Tools Beta 2 and Visual Studio 2012 RC

The ADO.NET blog at http://blogs.msdn.com/b/adonet/archive/2012/04/09/ef-power-tools-beta-2-available.aspx says: Compatibility The Power Tools are compatible with Visual Studio 2010 and Entity Framework 4.2 or later. You can also install the Power Tools on Visual Studio 11 Beta, but you may receive...

View additional questions