Switch compilation between compact and full .net framework?
Does anyone know how to switch a compilation of a library project on visual studio, so I can compile for compact framework and full .Net framework? ...
Does anyone know how to switch a compilation of a library project on visual studio, so I can compile for compact framework and full .Net framework? ...
I'm trying to add a reference to the GAC version of System.Xml in a Visual Studio 2008 web site project. I right-click the project icon in the Solution Explorer, and click Property Pages. Under the References tree option, I click the 'Add' button on the right. I navigate to System.Xml in the .NET tab, and double click it (the Path it ...
My code is stored in a main.cpp file which contains the void main() function, and a class MyClass which I now want to split to another file. IDE is Microsoft Visual Studio 2008 Professional. myclass.h #include <tchar.h> class MyClass { public: static bool MyFunction (TCHAR* someStringArgument); }; myclass.cpp #include <tchar.h> ...
Hi, Regarding starting to use SQLite within C# Visual Studio 2008 for a winforms application, it seems from the sqlite site you have to download a sqlite ado.net provider, and there are numerous listed (in .net section of sqlite wrappers) QUESTION - Which is the most popular/robust sqlite wrapper that people are using? Some from the ...
For no apparent reason, my instance of Visual Studio 2008 now listens on port 10000. This happens even if no project is open. Unfortunately, I need port 10000 for Azure development. Any ideas about why VS is now listening on 10000? EDIT: Could it be related to VSTS Profiling? I was tinkering with that a few days ago and might not ha...
Is there a way to publish a web site from Visual Studio 2008 using SCP or SFTP? I know it is possible to publish to my local filesystem and then perform the transfer with SCP, but I'd like something more seamless (e.g. part of Visual Studio). Does this feature exist? An addin perhaps? ...
I have 3 projects website ( website ) BusinessLogic ( Class Lib) UserControls (web application) // needs to be external 1) In order to debug the UserControls from website. Is it true all i need to is add a project reference from website to UserControls. This was working, but stop not sure why. Or shall i use a build event and c...
I've installed PowerDesigner 15.1 on my machine, and plan to use its AddIn for VS.NET. But it causes the solution file (SLN) to be modified everytime I build, run, debug, or close the solution. And the VS doesn't change ANYTHING in the SLN file. (A compare to the history results in the message saying that the files are identical) This e...
How do I get the last id created in the policy table and store it into a variable so that I can use it for another table called backupspec table. System.Data.SqlClient.SqlConnection dataConnection = new SqlConnection(); dataConnection.ConnectionString = @"Data Source=JAGMIT-PC\SQLEXPRESS;Initial Catalog=Sumoo...
I have a project with about 1000 classes in it (no, there is no way to conveniently break this project into multiples). Just loading the project takes about 20 minutes as intellisense slowly chugs through all the classes, and eats almost 1gb of memory. Is there a way to turn off Intellisense for a single project, but keep it for all ot...
I must have uninstalled something recently because the Data Connections no longer work. When I try to expand the Tables node, I get this: Microsoft Visual Studio Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The...
Hi all! I have created an installer for my wince application by following the instructions on this site http://msdn.microsoft.com/en-us/library/aa446504.aspx. And it worked fine on windows xp. But when I tried to install this using windows vista sp2, there is an error that says "Error 1001. An exception occured in the OnBeforeInstall eve...
The basic problem is that upon trying to uninstall the default SQL 2005 express and install SQL 2008, it is no longer connectable through either Visual studio or the Management Studio. I think at this point (as I have been meaning to for sometime) a reinstall of Windows will be quicker than a repair. When I have Windows reinstalled, wha...
This is an odd freeze. When I switch from source view to design view for an HTML or ASPX file, the client area freezes, but I can still click on other tabs and menus. What am I missing here? Really don't feel like reinstalling VS2008. ...
I have a project created with VS2010. I am running the project from VS2008. Plz note that, I am not running the solution. I am only running the project. Fortunately the solution has only one project. And in the following line I am having an exception. List<Order> OrderList = new List<Order> { new Order {OrderID = 10248, CustomerID = ...
Hi All, In Vs2008 I would like to select x64 as my target but in configuration manager I only have "Any CPU" listed? I have messed around with "new" etc but not sure what to do really. I am on a 64-bit windows home premium. Thanks Matt ...
I recently moved to a new client where the source control system is TFS 2008. I have been using Subversion for almost 4 years so this is quite a change for me. One of the first things I noticed is that every time I try to modify a file Visual Studio (2008) tells me that the file is read-only. I spoke to the guy in charge of TFS and he...
Hello! I have an abstract base class derived from UserControl (called BaseControl) and several other classes inheriting from this BaseControl class. BaseControl class gets typed to f.ex. TextBox or DropDownList and then in its constructor i create a new instance of this type. Everything is working just fine otherwise, but for some reas...
I have a project that I am in the process of migrating to using Linq To SQL. On the whole it's fine, but I'm stuck on an issue where if I try to put a timestamp from an DTO into a hidden field I get this error at runtime: BC30652: Reference required to assembly 'System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5...
There have been a number of problems related to IE8 breaking Visual Studio 2005/2008. Examples: http://stackoverflow.com/questions/926522/ie8-visual-studio-error https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=426428 http://dpotter.net/Technical/2009/05/upgrading-to-ie8-breaks-debugging-with-visual-stud...