visual-studio-2012

Working with PTVS, IronPython and MongoDB

喜你入骨 提交于 2019-12-20 03:08:48
问题 I want to develop an applocation using the PTVS (Python Tools for Visual Studio) and i download the PTVS pluging and IronPython for Visual Studio 2012, it works perfectly. My question here is, Can i use MongoDB with PTVS and ItonPython? If i can, how can i do it? I already tried to install it by clicking on Install Python Package , but every time ask me to install pip and fails on install. Then of course the command pip install pymongo fails because pip is not installed. Here is the error:

Failed to create imageSource from the text '..\Images\Medium.png

跟風遠走 提交于 2019-12-20 02:42:01
问题 I recently migrated windows 8.1. But unable to open vs2013/vs2012 new Project template. IT was working fine in windows 8. ERROR: Failed to create imageSource from the text '..\Images\Medium.png' Tried all options but did not succeed. Please HELP 回答1: This is because you migrated from windows 8 to windows 8.1 First Go to Control Panel --> Check Updates for Windows 8.1 Install All Important Updates Restart Your Pc All things will properly work.. 回答2: I tried almost every solution I found. I

Blue question mark on files in solution explorer

ε祈祈猫儿з 提交于 2019-12-20 02:38:17
问题 I often get blue question marks on files in my VS2012 Solution Explorer when opening a solution bound to Perforce through P4VS. Looks like something is having trouble to "synchronize" with the depot/workspace/whatnot. Hitting "Refresh View" always solves the issue but I'm growing tired on doing this everyday: This is my VS version: Microsoft Visual Studio Professional 2012 Version 11.0.61030.00 Update 4 And P4VS: 2014.1.85.4506 This is persistent across P4VS versions for a few months now, and

Compile Console App as 32 bit

余生颓废 提交于 2019-12-20 01:38:01
问题 I have a Windows Console Application that I need to compile as 32 bit. It's written in C# and I have all the Visual Studio 2012 updates. I've tried following several things on here, but I'm never given an option for 32 bit. How can I compile it as 32 bit? 回答1: With Visual Studio you are able to target what platform. By default it will run on "Any CPU" (read 32 or 64 bit), but you can specify if you desire. Look under Project>Properties>Build and look for the "Platform Target" property. 回答2:

Odd VS name mangling behavior?

元气小坏坏 提交于 2019-12-19 22:00:43
问题 Consider the following do-nothing code, which I am compiling as C++ on Win10 64-bit: int test(int argc, char *argv[]); int main(int argc, char *argv[]) { return test(argc, argv); } int test(int argc, char **argv) { return 0; } If all of this code is placed in the same .cpp file it compiles and links correctly in VS2012, VS2013, VS2015, and mingw32-g++ v4.7.1, as I would expect it to. However, if I simply move the definition of the test function into a separate file the resulting two files

Registry permission for Visual Studio 2012

亡梦爱人 提交于 2019-12-19 21:24:02
问题 During web application creating i got below popup message: "Visual studio does not have permissions to read the template information from the registry. this is often caused by registry permission problem." Any one have any solution? Please help me. i wana to see Visual Studio new features. Thanks 回答1: this might be quite late as an answer, but I excpierienced the same problem and I found the solution on a msdn page : here is the original solution message : I came across this issue with Visual

ASP .Net Entity Framework .tt Files Not Nesting Under .edmx

烂漫一生 提交于 2019-12-19 19:59:09
问题 I'm running an ASP .NET (v4.5) Web Site Project under VS 2012 Update 2. When I create a new entity model (.edmx) under the App_Code folder, nested under the .edmx file is only the .Designer.cs and the .edmx.diagram files. The associated .tt files are not nested. I think this is why, when I save the model, the T4 templates are not automatically transformed, even though that option is specified in the model properties. Any ideas how to get this working? I cannot use the DependentUpon XML tag in

The procedure entry point `GetTickCount64` could not be located in the dynamic link library KERNEL32.dll

こ雲淡風輕ζ 提交于 2019-12-19 19:47:33
问题 I created an MFC app on Windows 8 using Visual Studio 2012 Update 3 . It works on Windows 8 , but on Windows XP , it shows me the following error: The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll I searched for a solution, but it was said that Update 3 has fixed the problem with Windows XP . I downloaded and installed it, but it didn't help. However, before installing the update, I was having a worse error! Can anyone solve this problem?

msvcp110.dll, how do I get around it?

大城市里の小女人 提交于 2019-12-19 18:57:33
问题 I have the following problem: I use Microsoft Visual Studio 2012 and it adds msvcp110.dll to my release. I've read some posts here and there and I know that it's caused by the fact I use both iostream and string and that links it to my program. I have no problem using this on my PC, but I'd like to show it to others. So my question is, how do I, as painless for others as possible, can get around the issue, and still use some basic std goodies? I know that others could just install Visual

Embedded database for windows 8 app [closed]

寵の児 提交于 2019-12-19 17:52:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there any kind of embed-able database for windows 8 app development? I was looking for something like Sqlite or etc which integrate with visual studio 11. 回答1: For JavaScript, you're probably best off just using HTML5 IndexedDB. Unfortunately, that is not directly available to other languages. There is a