visual-studio-2010

VS2010 Database project deploy - “SqlDeployTask” task failed unexpectedly, NullReferenceException

≯℡__Kan透↙ 提交于 2020-01-03 00:51:45
问题 I have a solution in Visual Studio 2010 with a number of SQL Server 2008 database projects. I'm trying to do a 'Deploy Solution' and I'm getting the following error for one of the database pojects: ------ Deploy started: Project: MyDBProj, Configuration: Sandbox Any CPU ------ C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(120,5): Error MSB4018: The "SqlDeployTask" task failed unexpectedly. System.NullReferenceException: Object reference

MSVC - boost::python static linking to .dll (.pyd)

和自甴很熟 提交于 2020-01-02 22:04:14
问题 I got a VS10 project. I want to build some C++ code so I can use it in python. I followed the boost tutorial and got it working. However VS keeps to link boost-python-vc100-mt-gd-1_44.lib but it's just a wrapper which calls boost-python-vc100-mt-gd-1_44.dll. That's why I need to copy the .dll with my .dll(.pyd) file. So I want to link boost:python statically to that .dll(.pyd) file. But I just can't find any configuration option in VS or in the compiler and linker manual. The weirdest thing

Visual Studio 2010 keeps crashing?

故事扮演 提交于 2020-01-02 13:33:10
问题 I have a serious problem with our VS2010 with SP1. It is all the time crashing. I open it and 10 secs later I get crash and restart. When I check the event viewer. I see that error log below: I have tried everything deleting .suo and .user files clearing my tmp folders resetting user settings restructuring the project. I tried the open even a new project. We use also TFS and all users are affected. noone is able to use VS. thats why i believe it is not VS related that I should re-install, It

Visual Studio 2010 - web deploy times out - what to do?

纵然是瞬间 提交于 2020-01-02 10:22:14
问题 My MVC2 web project is deployed using the VS 2010 "web deploy" feature. It used to run fine but now it is timing out more often than not with this error message: Web deployment task failed.((10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote computer.) (10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote computer. The remote host closed the connection. The error code is 0x800704CD. Searching for the error code 0x800704CD

Displaying multidimensional data in WPF

橙三吉。 提交于 2020-01-02 10:19:02
问题 What is the best way to display multidimensional data in WPF? I won't know the size/shape of the data until runtime. Ideally I would like to use databinding but that is not a strict requirement. I was thinking some sort of grid but I don't know how to dynamically bind to the data and have it figure out the number of rows and columns. Suggestions and examples please? 回答1: Sounds as though you want an Excel-like interface for 2D arrays with editing capability. For the other dimensions, you will

Dll project doesn't build as Linker not able to find the same named .lib file

瘦欲@ 提交于 2020-01-02 10:10:08
问题 I am a newbie in the Visual Studio 2010 environment. I got a source base which was developed using Visual Studio 2008. I am trying to build it in VS 2010; but the build fails as the Linker says the error - LINK : fatal error LNK1181: cannot open input file X.lib'. Here X is the name of the lib file created from the same project and X.dll is the output dll. In fact the X.lib is not present in the project. Without succesfully building the project, it won't come at all for the Dll to build

Hide (abstract) classes from Intellisense

↘锁芯ラ 提交于 2020-01-02 09:55:08
问题 I have several abstract classes is class library which would like to hide from Intelisence, how to do that? 回答1: Use the attributes, before the class declaration: [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] edit: if the class code is in your solution, it won't ever hide: http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/c2d2bd5a-97a5-4886-846d-759173476631/ 来源: https://stackoverflow.com/questions/9274784/hide-abstract-classes-from-intellisense

Can you step into specific properties in VS 2010?

二次信任 提交于 2020-01-02 09:38:16
问题 I know that you can either step into every property or not step into every property, but I would really like to be able to step into a specific property, and not the rest. Is this possible? (I also know I can use keyboard commands, but I'm asking if there's a more permanent solution.) I have a lot of properties and my setters do important things, so it's silly to step over them, but most of my getters are pointless. I'm looking for something like: public string ImportantProperty { get {

Emulator won't show in Visual Studio 2010

折月煮酒 提交于 2020-01-02 09:11:29
问题 I have been experiencing this issue for a week and tried a lot of workarounds in the internet with no results. Here is my case: I am trying to install Windows Phone SDK 7.1 on a Windows 8 x64 host. The steps I have followed are: Installed Windows Games for Marketplace Client Installed Visual Studio 2010 and update it to Visual Studio 2010 SP1 Installed Windows Phone SDK 7.1 Updated SDK to Windows Phone SDK 7.1.1 I have tried opening by using Run as administrator None of the steps listed above

How to install Microsoft® Surface® 2.0 SDK without installing Visual Studio

无人久伴 提交于 2020-01-02 08:50:13
问题 I have a kiosk application build on Microsoft® Surface® 2.0 SDK and WPF. The device for deployment is a kiosk and Visual Studio is not installed. When running the application on the kiosk I miss some dlls Microsoft.Surface.Core , so I tried to install Microsoft® Surface® 2.0 SDK but it require VS. Error: You must install Microsoft Visual Studio 2010 or Microsoft Visual C# 2010 express before you install Microsoft Surface 2.0 sdk. I would like to know a work around in order to install SDK