visual-studio-2013

Unable to step into or break in method called inside Linq query/expression

故事扮演 提交于 2020-01-13 19:20:49
问题 I have encountered a bizarre issue trying to step into a method called from within a Linq query (although I also experience the problem when using a Linq expression). The code compiles, AND it appears to work (I get the outcome I was expecting). IEnumerable<TagBuilder> theOutcome = from r in resultSet select GetTableDataRow(null); OR IEnumerable<TagBuilder> theOutcome = resultSet.Select(r => GetTableDataRow(null)); The method being called is defined as follows: private static TagBuilder

Visual Studio 2013: Unable to access IIS metabase

白昼怎懂夜的黑 提交于 2020-01-13 10:19:30
问题 I'm trying to open an asp.net MVC project in Visual Studio 2013 on a Windows 7 machine. I'm getting an error about being unable to access the IIS metabase. I've tried every suggestion I could find on the web, but am unable to get this to work. The major change at our company is that our local file server went down. This held all of My Documents. I'm guessing that there was something in there that I need, but I don't know what that file is or how to restore it. I'm unable to make any changes

How to get a Count of the Items in my TFS Local Workspace?

吃可爱长大的小学妹 提交于 2020-01-13 08:41:07
问题 When I open my Visual Studio and get a solution from our TFS I have following message in the Output Window: TF401190: The local workspace [MACHINE_NAME;USER_NAME] has 158412 items in it, which exceeds the recommended limit of 100000 items. To improve performance, either reduce the number of items in the workspace, or convert the workspace to a server workspace. This is not an error, but a warning and I can work OK, although I feel there is a real performance hit during my work. To resolve

How to get a Count of the Items in my TFS Local Workspace?

半世苍凉 提交于 2020-01-13 08:41:07
问题 When I open my Visual Studio and get a solution from our TFS I have following message in the Output Window: TF401190: The local workspace [MACHINE_NAME;USER_NAME] has 158412 items in it, which exceeds the recommended limit of 100000 items. To improve performance, either reduce the number of items in the workspace, or convert the workspace to a server workspace. This is not an error, but a warning and I can work OK, although I feel there is a real performance hit during my work. To resolve

Why doesn't my .tfignore file ignore my packages folder

醉酒当歌 提交于 2020-01-13 08:16:24
问题 I am using Visual Studio 2013 Pro and Team Foundation Server 2013. I have a .tfignore file with the following lines: \packages \<project name>\Bin !\<project name>\Bin\*.refresh Line 1 is not working but lines 2 and 3 are. The project name above is a website inside a solution. There is nothing else in this solution. There are nuget packages installed which automatically pull down when you publish or build the website. When that happens this package folder is created in the solution. It's not

Visual Studio F# project: Can't have two folders in a file tree with the same name?

江枫思渺然 提交于 2020-01-13 07:48:50
问题 In Visual Studio 2013, one of my projects includes: <ItemGroup> <Compile Include="Entity\Abstract\Entity.fs" /> <Compile Include="Entity\HumanEntity.fs" /> <Compile Include="State\Abstract\State.fs" /> <Compile Include="State\Abstract\HumanState.fs" /> <Compile Include="State\Human\HumanIdleState.fs" /> <Compile Include="State\Human\HumanAwakenState.fs" /> </ItemGroup> Visual Studio chokes on this, claiming that: The project 'Entity.fsproj' could not be opened because opening it would cause a

How do I add a reference to F# Portable Library from C# Portable Class Library (PCL)

﹥>﹥吖頭↗ 提交于 2020-01-13 07:36:27
问题 I have a project which contains two F# projects and a C# project in which I'd like to write some XUnit tests: FS_PL: F# 3.1 (3.3.1.0) Portable Library FS_PL_Legacy: F# 31. (2.3.5.1) Portable Library (Legacy) Tests: C# .NET 4.5/Win8 C# Portable Class Library (PCL) I am unable to add a reference from Tests to either of the F# libraries. When I try to add a reference to FS_PL, I am presented with a dialog that states "Unable to add a reference to project 'FS_PL'. The targets of Portable Library

VS2013 not picking up SQL2012 SSIS Custom Components

牧云@^-^@ 提交于 2020-01-13 06:55:30
问题 I am trying to create a custom SSIS component. While I use Visual Studio 2013 premium as my main IDE I seems to have fallen into the below problem. When I create a SSIS custom component (class library, .Net 4.0 using dlls from 110's x86 folder) I am successfully able to compile, build, register at GAC and copy them to 110's DTS component folder. Now here is the problem. When I create Integration Services Project in VS2013, I cannot see my newly created component in the SSIS toolbox. While if

qt how to know that a pushbutton is clicked?

大兔子大兔子 提交于 2020-01-13 05:36:07
问题 I'm trying to do a program which makes some operations with sounds. My question is that I have 3 Play pushbutton and 3 label. I want that whichever I click on the Play button, the sound whose name is in the label that is near the pushbutton should play. I have a play slot without any parameter. So, how can I connect to every play button with every label respectively? Actually, I can write 3 different play function, but since I have some other functions, it will be too long and confusing. Also

How can I setup my VS 2013 TypeScript project to compile my typescript files but exclude my node_modules?

蓝咒 提交于 2020-01-12 07:31:10
问题 I'm working on an angular2@beta project in VS 2013 after familiarizing myself with it in IntelliJ. IntelliJ can be set to find the tsconfig.json file and, as of TypeScript 1.6, it can therefore read the "exclude" property and not attempt to compile any of the node_modules. Now that I've moved to VS 2013 with TypeScript 1.7, I'm running into the issue where it's trying to compile the node_modules. I've included the tsconfig.json, but from what I've read, tsconfig.json is fully supported only