visual-studio-2010

Disable “Confirm Save to Web Server”

為{幸葍}努か 提交于 2020-01-16 19:19:27
问题 Everytime when I try to close my Visual Studio I receive a message: A more recent version of the file "FILE_PATH/FILE_NAME" has been saved to the web on 'DATE_TIME'. Do you want to replace the server file with your local file? [Yes] or [No] Well, I always click "NO", but i receive this message again when I re-open the Visual Studio. This is annoying me, and each passing day, more and more files are "theoretically Most Recent" Anyone knows how to disable this message, permanently? Visual

How would I create a sub-procedure to sort numbers in ascending order? - VB console

丶灬走出姿态 提交于 2020-01-16 19:00:47
问题 It would be great if someone could help me out with my problem. I need to create a VB console application that sorts 3 integer values into ascending order using a sub-procedure. The sub-procedure (e.g. called sortnumber()) needs to accept 3 integer parameters and then sort the values in ascending order. How would I go about doing this, could someone point me in the right direction to a solution with code as simple as possible. Thanks. Module Module1 Sub Main() Dim num1, num2, num3 As Integer

How to get expanded path from EnvDTE / VCProjectEngine

老子叫甜甜 提交于 2020-01-16 16:59:52
问题 I am trying to write a tool to create a zip file containing all PDBs files from one Visual Studio 2010 solution. I can get every PDB filepath in the solution with the following code. However, the property value contains Visual Studio macro like $(TargetDir), $(TargetName) and so on. Is there a function in the EnvDTE API to expand those macros to their current values ? On the other hand, any other methods that would achieve my initial goal are also welcome ! Thanks System.Type t = System.Type

How to get expanded path from EnvDTE / VCProjectEngine

风流意气都作罢 提交于 2020-01-16 16:59:14
问题 I am trying to write a tool to create a zip file containing all PDBs files from one Visual Studio 2010 solution. I can get every PDB filepath in the solution with the following code. However, the property value contains Visual Studio macro like $(TargetDir), $(TargetName) and so on. Is there a function in the EnvDTE API to expand those macros to their current values ? On the other hand, any other methods that would achieve my initial goal are also welcome ! Thanks System.Type t = System.Type

How to get expanded path from EnvDTE / VCProjectEngine

梦想与她 提交于 2020-01-16 16:58:59
问题 I am trying to write a tool to create a zip file containing all PDBs files from one Visual Studio 2010 solution. I can get every PDB filepath in the solution with the following code. However, the property value contains Visual Studio macro like $(TargetDir), $(TargetName) and so on. Is there a function in the EnvDTE API to expand those macros to their current values ? On the other hand, any other methods that would achieve my initial goal are also welcome ! Thanks System.Type t = System.Type

ASP.NET Web Form on SharePoint

倖福魔咒の 提交于 2020-01-16 11:12:10
问题 Heh guys, I would like to create and deploy an ASP.NET web form on SharePoint server which can create document in SharePoint list (or library). Since I'm not experienced in both these technologies so would appreciate if someone guides me to the right tool. Should I use Visual Studio or SharePoint designer ? Also, I was reading an article on MSDN about "Deploying ASP.NET Web Applications in the Windows SharePoint Services 3.0 _layouts Folder". Is it the best practise or should I go with

How to save bmp file from ID2D1Bitmap

限于喜欢 提交于 2020-01-16 11:10:06
问题 I am trying to create the bmp file from the live running video using Kinect. I am developing an application which is running the live video on top of that to place an image. The IDE which I am used is Visual Studio Professional 2010. The code I am developing in C++ using win32. . I want to save the video along with the overlayed image. Now I am using ID2D1Bitmap for displaying the bitmap in overlayed manner. But I have to retrieve the byte* data from the video with overlayed image. I am

How to set correctly from CMAKELIST the visual studio platform toolset to v100?

只谈情不闲聊 提交于 2020-01-16 07:40:08
问题 ****Hello to everyone, Because of the error messages , I will paste here, the post might look long but it’s really short!! I am working on a windows 7(64 bits), where I have to generate a c++ visual studio IDE with cmakeusing a library compiled with visual studio 10. But I want to work with visual studio 12! I have both visual studio 10 and 12 on my computer! When I try to compile using the CMAKE-Gui setting Visual Studio 10 (Win64) as compiler:**** ... testCCompiler.c 1> 1> testCCompiler.c 1

Why is VisualStudio/Firefox giving me a YSOD from code in an excluded class?

本秂侑毒 提交于 2020-01-16 06:11:40
问题 I excluded a class from my project (right-click > "Exclude from Project"); the file dutifully vanished from the Solution Explorer. Yet, when I run the app, it YSODs with an error in that excluded file. How do I tell Visual Studio and/or Firefox (the browser the app is currently using) that I really meant it when I excluded the *.cs class from the project? UPDATE More strangeness similar to the above: It seems that VS really gets confused with the combination of syntaxes occurring in a cshtml

Why is VisualStudio/Firefox giving me a YSOD from code in an excluded class?

梦想的初衷 提交于 2020-01-16 06:11:09
问题 I excluded a class from my project (right-click > "Exclude from Project"); the file dutifully vanished from the Solution Explorer. Yet, when I run the app, it YSODs with an error in that excluded file. How do I tell Visual Studio and/or Firefox (the browser the app is currently using) that I really meant it when I excluded the *.cs class from the project? UPDATE More strangeness similar to the above: It seems that VS really gets confused with the combination of syntaxes occurring in a cshtml