visual-studio-2008

asp.net mvc 1.0 “project type is not supported” on Visual Studio 2008

穿精又带淫゛_ 提交于 2019-12-31 00:47:07
问题 I've installed (in this order): 64bit Windows7, 64bit Visual Studio 2008, Microsoft Free Web Platform Installer (WEB PI) - installed iis7 - bunch of samples - ... asp.net mvc 1.0 Visual Studio 2008 sp1 When opening an existing solution with mvc web application in it, i get this error: "The project type is not supported by this installation" on Visual Studio 2008 I've noticed that almost all project templates are stored under "Program Files (x86)" not under "Program Files"... I've also

C++: If an exception is thrown, are objects that go out of scope destroyed?

空扰寡人 提交于 2019-12-30 21:21:53
问题 Normally it would be destructed upon the scope ending.. I could see issues occurring if exceptions were thrown though. 回答1: Yes. C++ Standard n3337 15 Exception handling § 15.2 Constructors and destructors 1) As control passes from a throw-expression to a handler, destructors are invoked for all automatic objects constructed since the try block was entered . The automatic objects are destroyed in the reverse order of the completion of their construction. 2) An object of any storage duration

Cannot convert from 'const wchar_t *' to '_TCHAR *'

感情迁移 提交于 2019-12-30 18:44:06
问题 _TCHAR* strGroupName = NULL; const _TCHAR* strTempName = NULL; //Assign some value to strTempName strGroupName = _tcschr(strTempName, 92) //C2440 I get an error at the above line while compiling this code in VS2008. In VC6 it compiles fine. Error C2440: '=' : cannot convert from 'const wchar_t *' to '_TCHAR *' What seems to be the problem and how do I fix it? 回答1: Try casting it as strGroupName = (_TCHAR*)_tcschr(strTempName, 92); Seems to me that VS2008 got a little more strict on type casts

VS 2008 Intellisense missing: the key combination is bound to command which is not currently available

烈酒焚心 提交于 2019-12-30 18:26:09
问题 Intellisense has stopped working for my aspx files, and I've looked at the other questions that address the issue with no solution. When I try to format the aspx document (Ctrl-K, Ctrl-D) the status bar says "The key combination is bound to command (Format Document) which is not currently available." The outlining is no longer showing up. I have tried the /ResetSettings flag. I'm not using resharper. I've verified the settings (Tools -> Options, Text Editor) for both C#, Basic, and HTML as

.vbproj the project is not supported by this installation

倾然丶 夕夏残阳落幕 提交于 2019-12-30 14:44:59
问题 I have visual studio 2008 installed in my pc when I try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display The following message: .vbproj the project is not supported by this installation I try to open the web project separately from the solution and I not have problem. How I can open the web project from the solution. Any ideas? 回答1: First, create a backup of the project and solutions. Then, you could try putting

How do I build a user control into a self-contained assembly in VS2008?

走远了吗. 提交于 2019-12-30 11:00:36
问题 More specifically, what do I need to know about doing this in Visual Studio 2008 that's different from VS2005? I have found a decent number of references for doing this kind of thing in VS2005, such as http://webproject.scottgu.com/CSharp/usercontrols/usercontrols.aspx Techniques For Distributing ASP.NET User Controls Across Projects http://weblogs.asp.net/scottgu/archive/2005/08/28/423888.aspx http://support.microsoft.com/kb/324785 but even the Microsoft reference doesn't seem to say much

Why does Microsoft Visual C# 2008 Express Edition debugger randomly exit?

别说谁变了你拦得住时间么 提交于 2019-12-30 10:34:19
问题 I am writing a multi-threaded Windows application in Microsoft Visual C# 2008 Express Edition. Recently, the debugger has been acting strangely. While I am Stepping Over lines of code using the F10, sometimes it will interpret my Step Over (F10) command just like a Continue command (F5) and then the program will resume running and the debugging session will be done. Does anyone know why this happening? In what circumstances can the Step Over command result in the debugger stopping? It's not a

Developing for Sharepoint 2003 using Visual Studio 2008?

自古美人都是妖i 提交于 2019-12-30 09:51:09
问题 Does anyone have experience with developing for Sharepoint 2003 using Visual Studio 2008? I need to upgrade to VS2008 because of Vista issues but need to support Sharepoint 2003 webparts. The webparts are all pretty simple. Will I be able to support those webparts using VS2008? 回答1: AFAIK VS2008 only allows you to build .NET 2.0/3.0 out of the box, but... I have VS2005 projects spitting out .NET 1.1 assemblies for WSSv2/SPS2003 and .NET 2.0 for WSSv3/MOSS2007 using MSBEE and I would think

Why won't my Setup Project Perform my Custom Registration Process

半城伤御伤魂 提交于 2019-12-30 08:42:10
问题 I am trying to write an Setup Project/Installer for a class library driver that I wrote in C# using Visual Studio 2008. The driver project has a section of code that looks like this... [ComRegisterFunction] public static void RegisterASCOM(Type t) { Trace.WriteLine("Registration Started."); DoRegistration(true); } In the driver project Properties -> "Assembly Information" I have set checked the box that says Make COM-Visible = true. I added a Setup Project to the solution in VS, added the

Why won't my Setup Project Perform my Custom Registration Process

◇◆丶佛笑我妖孽 提交于 2019-12-30 08:41:30
问题 I am trying to write an Setup Project/Installer for a class library driver that I wrote in C# using Visual Studio 2008. The driver project has a section of code that looks like this... [ComRegisterFunction] public static void RegisterASCOM(Type t) { Trace.WriteLine("Registration Started."); DoRegistration(true); } In the driver project Properties -> "Assembly Information" I have set checked the box that says Make COM-Visible = true. I added a Setup Project to the solution in VS, added the