Visual Studio :: Where Are Control Declarations In 2008
Oct 25, 2010
I'm migrating from Visual Studio 2005 to 2008 and noticed a bit of a difference in how ASP creates the control code definitions. In Visual Studio 2005 the object declaration could be seen in the code behind but in 2008 I can not find these declarations (I assume its done at runtime?) Does anyone have any links to documentation on how the new architecture is creating these control declarations?
Is there any tool for Visual Studio 2008 which can reformat ASPX code to make it more presentable (eg insert line breaks, format the lines so they wrap when necessary, etc)?
Can Report Viewer 2010 control be used in Visual studio 2008 (ASP.NET apps) without problems? I saw this post about it and wanted to know if this is supported and is OK.
Before I download and install something from a third party that I regret, does Microsoft offer a video control? If not, what is a safe product I can use with Visual Studio 2008?
can Visual Studio 2008 be All-In-One tool to integrate source code continuously from team members, build, unit test?
Having used Visual Studio Team Edition 2005, unit testing each method within VS itself. I strongly believe that it is feasible to add-on tools. Example ankhsvn tool to use SVN from Visual studio [URL]
In my investigating i have come across number of tools(shown below) to use with Visual Studio 2008 professional
Development tool:- Visual Studio 2008 professional using Subversion as source control tool. Continuous Integration:- Hudson or Cruise control Build tool:- NAnt Testing:- NUnit, Selinium As Visual Studio 2008 can be used for unit testing I think NUnit is out of consideration.
In the same way i would like to have any other tools/add-ons to Visual studio to implement continuous integration, building and unit testing. This process should be automated such a way source code between team members is continuously integrated, built and unit testing is done as configured.
Objective is to use few number of tools as add-on to Visual Studio or achieve most from Visual studio itself (example unit testing). Visual Studio should be all in one tool.
I am aware that Team Foundation Server best suits my requirement, but it is out of scope due to its cost.
How do I programmaticly set data source for Asp.net report control?I have a VS 2008 report control and want to switch between a couple different reports.I can switch repots by setting the report source and refreshing the control but I can't see where to set the data source.Each report has it's own data source and if I set them to start when the control is built it is fine but I need to switch between them.
I have VS 2008 Professional Edition.....I want to test a function like this:
public int getIdByName(string name) { var item=from x in DATAB where x.name=name select x.id; . . return idValue; }
now I test end I have:
[TestMethod()] public getIdByNameTest() { string name="Bob" int expected = 1; int actual; actual = ClassGET.getIdByName(name); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
The error in "test run" is:
Failed ......[Class]....... Test method threw exception: System.ArgumentException: The specified named connection is either not found in the configuration that is not for use with the EntityClient provider or thought is invalid
How can I ensure that web application converted from 2003 visual studio to 2008 visual studio
to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.
i am downloading thr Visual Stuio 2008 Professional Version from microsoft website which is a 3.1GB software and a trial version which expired after 90 days, i want to know this trail version includes everything ?
i am confused by reading this on the VS2008 download page :
"Instructions
Visual Studio 2008 Professional Edition is a comprehensive set of tools that accelerates the process of turning the developer's vision into reality. Visual Studio 2008 Professional Edition was engineered to support development projects that target the Web (including ASP.NET AJAX), Windows Vista, Windows Server 2008, the 2007 Microsoft Office system, SQL Server 2008, and Windows Mobile devices.
This Trial Edition is fully functional but will expire after 90 days. This trial software is not supported by Customer Services and Support (CSS)"
If VS 2008 and VWD 2008 are both installed on the same machine, will they both use the same Projects folder to keep my projects in?If so, can I open the projects and run them interchangeably with VS2008 and VWD 2008? This is the folder that is located at " User>Documents>Visual Studio 2008>Projects
I have upgraded a Visual Studio 2005 Web Site in a 32 bit server to Visual Studio 2008 maintaining the same 2.0 framework in a 64 bit server with Windows 2008 R2 Server. The Web Site has several class libraries.
After porting to Visual Studio 2008 2.0 Framework using the Upgrade Wizard, I found that I was unable to hit a break point in the Project code behind files while I was able to in the class libraries. The bin folder has the dlls and the corresponding pdb files for the class libraries. I did start the Web site as an Administrator and made sure whole bunch of IIS7 properties are properly set.
I tried to rebuild the solution as a Web Application in Visual Studio 2008 and gave up that approach as I faced hundreds of error messages pointing to missing references and namespaces inspite of adding whole lot of references and namespaces to the Web.
I have installed visual studio 2008 in my system.But my website is in Framework 2.0 and have a reports in it. i have opened my website in visual studio 2008 with the Framework built in 2.0. but many times when i debug it will give a version conflict error for reports as mentioned below.
"The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebForms9.0.0.0__b03f5f7f11d50a3aMicrosoft.ReportViewer.WebForms.dll' and 'c:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebForms8.0.0.0__b03f5f7f11d50a3aMicrosoft.ReportViewer.WebForms.dll"