visual-studio-2012

Creating a by letter effect with visual studio

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 16:25:04
问题 I would like to create an effect in visual studio where text shows up on the screen not all at once, but letter by letter with a certain amount of time between each letter appearing. I plan to open a different module that will have this code in it from my main module. Any ideas? Here is my coding so far. I am making a command prompt. Public Sub Main() Dim line As String Console.Title = "Command" Console.WriteLine("Microsoft Windows [Version 6.3.9600]") Console.WriteLine("<c> 2013 Microsoft

Can I not debug the ITestExecutor methods in a unit test adapter?

落花浮王杯 提交于 2019-12-24 16:11:07
问题 Using the sample project from MSDN, I'm writing a custom unit test adapter. I'm able to debug it with the experimental instance in visual studio, set breakpoints, and see System.Diagnostics.Trace.WriteLine() output, and it all works beautifully for almost all of my methods. I can see evidence that it's working (as in the outputs of the test cases are what I expect if I fiddle with the error message, duration, etc). However, for the methods in my test executor class (deriving from Microsoft

SharePoint 2013 - Accessing List data through web service from Sharepoint site, getting error 404

限于喜欢 提交于 2019-12-24 16:07:47
问题 I have been trying to get the list data from Sharepoint 2013 Site for many days but no luck. I stuck to the point where I don't know what could be the reason. I have created a Sharepoint 2013 provider Hosted app on the development server. I have a list with data on the azure site (Production) and I am trying to access that data through the web service. Somehow I am able to connect to the service using URLs like "http: //mydomain/sites/sitename/_vti_bin/Lists. asmx" while adding the

Modifying Entity Framework Types T4 Template

左心房为你撑大大i 提交于 2019-12-24 15:41:45
问题 I would like to modify the T4 template that Entity Framework 6 (model-first) uses to generate types in order to inject a GeneratedCodeAttribute on all entity class definitions. I want this feature persisted any time I add a new ADO.NET Entity Data Model, in any project, in any solution - so I need to make the change in something other than the T4 template which gets generated with my entity diagram. Could an EF6 expert advise how I would go about doing this? This is what I've tried (without

Where does nuget log detailed error message

若如初见. 提交于 2019-12-24 15:30:13
问题 I created package and pushed it to local repository. Now when I'm trying to install package using Package Manager Console, I'm getting following error message Installing 'MyPackage 1.0.0'. Successfully installed 'MyPackage 1.0.0'. Adding 'MyPackage 1.0.0' to TestConsoleApp. Uninstalling 'MyPackage 1.0.0'. Successfully uninstalled 'MyPackage 1.0.0'. Install failed. Rolling back... Install-Package : Failed to add reference to 'MyDll'. At line:1 char:16 + Install-Package <<<< MyPackage +

Why am I sometimes downloading garbage data from BBC Weather RSS feeds?

邮差的信 提交于 2019-12-24 15:14:21
问题 I'm getting weird corrupted looking text / data on random occasions when downloading from the BBC's RSS weather feed. Strangely, this happens if I directly load from the web rather than download as well. Could it be a memory problem? It is so random, but 70% of the time, one of the locations will be downloaded wrong. Downloading Subs: Public Sub DownloadWeather() If IsConnectionAvailable() = True Then Module_XML_Download.DownloadXML("http://open.live.bbc.co.uk/weather/feeds/en/2657832

How to create an app for Windows XP using Visual Studio Express 2012 for Windows 8

假如想象 提交于 2019-12-24 14:56:20
问题 I have very little knowledge on apps for Desktop. I created a Simple app for Windows 8 using the free Visual Studio Express 2012 for Windows 8 (in C#, XAML). Now I am wanting that app to run on other Windows platforms like Windows XP, Windows 7 etc. I understand, that Metro apps can't run on Windows 7 or XP, but All I want is stripped down version of my app which runs on Windows 7 and XP as well. I am looking for options like Project->News->Target Windows XP... I also have another question,

Windows Forms application remains alive in task manager after hitting “stop debugging” button

丶灬走出姿态 提交于 2019-12-24 14:28:31
问题 I'm developing an application in C#, it uses WinForms and some unmanaged code too (PInvoke calls to native C++ DLL). After stopping debugging via stop button in VS 2012, the main executable (not vshost.exe) still remains in windows task manager, and is idle consuming about 110-120 kBytes of memory. Moreover after killing this process via task manager, I must also restart VS 2012 because some dialog windows tells mi that IDE is unable to start debugging. Additionally, maybe it will be useful

Multiple project output types: compiling as an EXE and a LIB

廉价感情. 提交于 2019-12-24 14:04:07
问题 I have a C++ project that builds as an EXE. However I also need to build the project as a static library (.LIB file). Right now in order to get a complete build, I need to build it in one format, then open the project properties and under General > Project Defaults > Configuration Type select the other format, accept, and recompile. It's a real hassle. Is there some way of specifying both types? I haven't seen anything on MSDN on this. I'm using Visual Studio 2012. 回答1: A common (and

open visual studio 2012 projects in visual studio 2008

耗尽温柔 提交于 2019-12-24 13:48:44
问题 Im writing an applcation with C# in visual studio 2012 but i want to open that project in another place in visualstudio 2008. How i can do this? in saving i have to do something? Or in oening in visualstudio 2008? 回答1: Since I am stuck with VS 2008 in my home computer, I regularly have to do this. You can modify your solution file (*.sln) manually. Most of the time you just have to change the first two lines that define the VS version of the solution. From this link: You can edit the sln and