visual-studio-2010

How to compile Qt for 64-bit Windows from a 32-bit environment with Visual C++ 2010 Express?

北慕城南 提交于 2020-01-22 19:20:08
问题 I am trying to compile the Qt library (I don't need the demos or examples) for 64-bit Windows. There are instructions here but I run into the error described in the comment below it. There doesn't seem to be a reference anywhere for how one might go about doing this process. I am targetting Microsoft Visual C++ 2010 Express. It looks like I need Perl and the Windows SDK as well - how do I go about this process? 回答1: This process is quite tedious and time-consuming - but I will explain each

How to compile Qt for 64-bit Windows from a 32-bit environment with Visual C++ 2010 Express?

。_饼干妹妹 提交于 2020-01-22 19:20:06
问题 I am trying to compile the Qt library (I don't need the demos or examples) for 64-bit Windows. There are instructions here but I run into the error described in the comment below it. There doesn't seem to be a reference anywhere for how one might go about doing this process. I am targetting Microsoft Visual C++ 2010 Express. It looks like I need Perl and the Windows SDK as well - how do I go about this process? 回答1: This process is quite tedious and time-consuming - but I will explain each

Why is the build failing in Visual Studio because it cannot resolve namespaces from referenced assemblies?

点点圈 提交于 2020-01-22 17:15:49
问题 I have 3 class library projects. Lets call them A, B & C. I have added project reference of A & B into the project C. A & B are building without any error or warning. Code(Class file) from the project C uses public classes from A & B. When I add project reference in C and look at the class file (before building project C) in the C project, I can clearly see that all the classes and namespaces from A & B are resolved. When I hover my mouse on the class name (class from either A or B), it shows

How do I make a WiX 3.5 installer with a completely self-contained .NET 4.0 installer?

一曲冷凌霜 提交于 2020-01-22 14:36:04
问题 Continuing a previous question I asked here, I now need to move to vs2010. I've gotten the most recent weekly build of WiX 3.5, the June 5th 2010 version. Here's the relevant lines from my installer: <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.4.0"> <ProductName>.NET Framework 4.0</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.4.5"> <ProductName>Windows Installer 4.5</ProductName> </BootstrapperFile> </ItemGroup> and

How to see .net library source code with ReSharper 5 and visual studio 2010?

倾然丶 夕夏残阳落幕 提交于 2020-01-22 14:02:41
问题 I used to see any .net source code (like System.String) with ReSharper and Visual Studio 2008. since I migrated to Visual studio 2010, this option doesn't give the full source code but just the definitions of the class. How can I fix this, to use the microsoft's symbols server again? Edit : Maybe the problem is only with .net-4.0 assemblies. is microsoft released symbols to to .net-4.0 assemblies also? 回答1: Microsoft released sources for .NET 4 release, so R# have to work just fine. Some

In Visual Studio 2012 what is the Navigate backward shortcut on a french keyboard?

蹲街弑〆低调 提交于 2020-01-22 13:54:31
问题 It's been a while since I wonder how to navigate backward and forward in Visual Studio using a French (fr-FR) keyboard. Hovering over the buttons it looks like this : Navigate backward: Ctrl + . Navigate forward: Ctrl + Shift + . But I can't find the shortcuts! I guess . means dot but I'm not sure about it I am pretty sure it is not, see edit below. Does anyone know how to do this ? Edit : Notice that this is not a common . , see image below, the shortcut is mapped to some kind of middle

In Visual Studio 2012 what is the Navigate backward shortcut on a french keyboard?

怎甘沉沦 提交于 2020-01-22 13:54:07
问题 It's been a while since I wonder how to navigate backward and forward in Visual Studio using a French (fr-FR) keyboard. Hovering over the buttons it looks like this : Navigate backward: Ctrl + . Navigate forward: Ctrl + Shift + . But I can't find the shortcuts! I guess . means dot but I'm not sure about it I am pretty sure it is not, see edit below. Does anyone know how to do this ? Edit : Notice that this is not a common . , see image below, the shortcut is mapped to some kind of middle

Cannot find System.Web.Script.Service namespace error after upgrading to Visual studio 2010

戏子无情 提交于 2020-01-22 12:33:07
问题 I've just upgraded a VS 2008 project to VS 2010, converting the project but keeping the target as .NET 3.5 (SP1 is installed). My project worked without issue under VS 2008 on another machine. I've added references to System.Web.Extensions.dll but I'm still getting the following errors from code in the App_Code folder: 1) Cannot find System.Web.Script.Service namespace. 2) Type 'System.Web.Script.Services.ScriptService' is not defined. 3) Type 'System.Runtime.Serialization.Json

Am I implementing this simple contract incorrectly?

假装没事ソ 提交于 2020-01-22 10:40:21
问题 This is my code: public class RegularPolygon { public int VertexCount; public double SideLength; public RegularPolygon(int vertexCount, double sideLength) { Contract.Requires(vertexCount >= 3); VertexCount = vertexCount; SideLength = sideLength; } [ContractInvariantMethod] private void RegularPolygonInvariants() { Contract.Invariant(VertexCount>=3); } } I have tried with both the Contract.Requires and Contract.Invariant methods to prevent the vertexCount variable from becoming less than or

Configuring the formatting of <% %> blocks in Visual Studio editor

£可爱£侵袭症+ 提交于 2020-01-22 09:25:48
问题 In Visual Studio 2010, under Tools -> Options -> Text Editor -> HTML -> Formatting -> Tag Specific Options, there are options for configuring how the editor auto formats different HTML and ASP.NET tags. This includes things like if it should automatically put a newline before and after the tag, etc. Is there a place to configure the formatting rules for <% %> <%= %> and <%: %> blocks in a similar fashion? In particular, I would like to not force a newline before <%= and <%: blocks. For