visual-studio-2012

SQLite with VS2012 and .NET 4.5 — ANY CPU Build

妖精的绣舞 提交于 2019-12-18 05:49:38
问题 I've tried looking through the answers for related questions, but haven't found anything that isn't a few years old (unsure if they are still the go-to answer) or that answers my question fully. Requirements: I'm developing a C# application that is to run on BOTH 32-bit and 64-bit computers. My client does NOT want to create two different releases based on x86 vs x64. We're using SQLite, VS2012, and .NET 4.5. Here are the available DLLs for SQLite: http://system.data.sqlite.org/index.html/doc

Using the command line from within Visual Studio

狂风中的少年 提交于 2019-12-18 05:37:16
问题 I'd like to have a tool window in Visual Studio that allows me to type command line things (e.g. git stash , npm install , etc.) in the current project's working directory. Something like this in Eclipse. I can't find any such option in any of the menus, but admittedly they're labyrinthine. I tried looking through the Visual Studio gallery, but no dice either. Any extension or hidden option that would give me this? PowerShell would probably also work, as from what I understand that's a

Add documentation to generated code in entity framework model first

这一生的挚爱 提交于 2019-12-18 05:17:17
问题 I have been using Entity Framework model first since VS 2010. When I build my project, EF generates a Model.Designer.cs file containing all entities. This designer file also contains the documentation added to the entities in the EDMX file. When I created a new EF model first project in VS 2012, a Model.tt file is added to my EDMX file. This T4 template generates a single file for every entity in my model. Unfortunately, the documentation from the EDMX file is not used in the generated code.

xUnit v1 tests appear in xUnit GUI (xunit.gui.clr4.exe) but not VS 2012 Test Explorer

微笑、不失礼 提交于 2019-12-18 05:05:11
问题 I have an F# Class Library with the "xUnit.net" and "xUnit.net Runners" packages installed using NuGet. I have the following code: module XUnitTest open Xunit [<Fact>] let Test () = do Assert.True (1 = 2) () When I run the xUnit GUI (xunit.gui.clr4.exe, which NuGet adds to (projectdirectory)\packages\xunit.runners.1.9.1\tools), and load the assembly built by this project, the Test () method appears, and fails when I run it, as expected. However, I cannot get the test to appear in VS 2012's

xUnit v1 tests appear in xUnit GUI (xunit.gui.clr4.exe) but not VS 2012 Test Explorer

女生的网名这么多〃 提交于 2019-12-18 05:05:06
问题 I have an F# Class Library with the "xUnit.net" and "xUnit.net Runners" packages installed using NuGet. I have the following code: module XUnitTest open Xunit [<Fact>] let Test () = do Assert.True (1 = 2) () When I run the xUnit GUI (xunit.gui.clr4.exe, which NuGet adds to (projectdirectory)\packages\xunit.runners.1.9.1\tools), and load the assembly built by this project, the Test () method appears, and fails when I run it, as expected. However, I cannot get the test to appear in VS 2012's

How can I make Visual Studio copy the required .dll files into the release folder?

守給你的承諾、 提交于 2019-12-18 04:48:15
问题 I'm using Visual Studio 2012 with C++, developing a Qt application. I'm able to compile it and debug it, but, somehow, no .dll file is in the Debug or Release folder. I've tried some of other posts solutions, but none worked. So, how can I make Visual Studio copy the required .dll files into the release folder? I think it should be an option somewhere. I'm just starting to think about copying it handmade. 回答1: Too much bad advice, a DLL cannot be a resource. Windows demands that code is

Can't determine if a certain UITestControl exists in my web app

拟墨画扇 提交于 2019-12-18 04:46:09
问题 I'm currently trying to help automate some coded UI tests using C# for a web application. A frequent problem I'm encountering is that it can be extremely difficult to determine if a UITestControl object exists on the page or not. Unfortunately, Microsoft's documentation on their MSDN website for anything regarding coded UI tests is practically non-existant (see here their page for UITestControl). Basically what I'm asking is: What is the best way to determine if a UITestControl exists on the

VS2012: Property Pages isn't opening: Object reference not set to an instance of an object

雨燕双飞 提交于 2019-12-18 04:30:16
问题 I'm on Visual Studio Premium 2012, Version 11.0.50727.1 RTMREL, Windows 7 Enterprise (SP1). When I right click on the Solution, and click Properties, I get a popup window showing the the null reference exception (Object reference not set to an instance of an object). When I try the same in 2010, it works fine, opening up the normal solution properties pages, allowing me to set the startup order etc. Also, in 2012, View -> Property Pages, gives the same result. Please advise how to solve this,

TFS Custom Check-In Policy is not in the Add box

你离开我真会死。 提交于 2019-12-18 04:24:24
问题 I have followed the steps on this website: http://msdn.microsoft.com/en-us/library/bb668980.aspx to create a TFS Custom Check-In Policy. I have updated the registry as it suggests except to Visual Studio 11.0 instead of 8.0 In Visual Studio 2012 -> Team Explorer -> Settings -> Source Control ->Check-In Policy Tab I click on Add. I see 4 policies, but mine is not listed. I have VS 2012 installed on my computer. I created the policy dll with VS2012 and referenced the 11.0 Microsoft

Are SSRS Reports supported in Visual Studio 2010 or 2012?

戏子无情 提交于 2019-12-18 04:24:15
问题 I haven't seen anything in the release notes, has anyone determined if there has been any improvement in this area? It's kind of surprising MS wouldn't support .resx files out of the box for SSRS reports. The only option I see is creating a separate class library and using it to retrieve resource strings as shown in this article, which doesn't mention which version of SQL Server or VS they are using. (relating to the original question, it changed into just getting reports working in vs 2012)