How to Manually Start Visual Studio Conversion Wizard - visual-studio-2010

I want to convert my .NET Website that is currently in .NET Framework version 3.5 SP 1 to 4.0. Now you get a conversion wizard when you open a VS 2008 solution in VS 2010. The wizard will convert the solution to 2010 and at the same time can convert the projects to .NET 4.0. I already converted my solution to VS 2010 but did not at the time convert to .NET 4.0. Does anyone know how to start the VS Conversion Wizard manually? According to this article it should start when you open the solution, that is not the case for me.
Thanks for your help!

The wizard converts solutions and projects from previous VS versions to the current one. It will not open again, because you already converted it to VS2010.
To change to .NET 4.0:
Right-click on the project in your Solution Explorer, and click "Properties".
Switch to the "Compile" tab.
Click the "Advanced Compile Options..." button.
Change the Target Framework to ".NET Framework 4."

AFAIK, The wizard doesn't do anything that switching target type in the project won't do. You might not get the option to back up, but you're already doing versioning, right?

To amend the Framework target, i went to the property pages of the site > build tab > updated the target framework. It re-built the web site successfully for me.

Related

Unable to open designer for DevExpress version 8.2 in Visual Studio

I've inherited an old project which uses Devexpress 8.2.4 - so i went and installed an appropriate DXperience Subscription v8.2.4. Now, when I try to open the designer through Visual Studio 2019, I get a:
"This method explicitly uses CM policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40/LegacySecurtyPolicy configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570 for more information."
Then I tried to open the project in VS 2010, and upon attempt at opening the designer, same CAS policy error happens.
After editing the VS2010 DevEnv configuration file (and respective config file for VS 2019), as Thomas suggested in his answer here, my Visual Studio 2019 just started crashing during start, and my Visual Studio 2010 successfully started but it then crashed upon trying to select the designer object.
Yes, I'm trying to get this designer for Devexpress 8.2 to run in either IDE - I just need to get it to work so I can hopefully add a QR Code(is this even possible in v8.2.4???).
I just don't know how to access designer to actually graphically update the report. I did some Devexpress projects myself but using v19 and newer, but I'm having trouble now, opening this designer for old Devexpress 8.21.
Any help would be appreciated as this HAS to be done by tomorrow.
Also, if v8.2.4 doesn't support QR Code (an XRBarCode object), what would be an alternative for adding that QR Code functionality? Would I have to upgrade to newer versions - would that break something?
Thanks!

Convert Website Project to Web Application Project via Visual Studio 2013 [duplicate]

I am managing an old web application which still has legacy code from Framework 1 (would you believe it), currently on Framework 4.0.
As and when I need to fix or upgrade a web page, I convert it to a web application web page by clicking "Convert to Web Application".
VS 2013 doesn't appear to have the same menu item. Am I missing something?
It's been moved to the 'Project' menu towards the bottom after selecting the project or folder:
Sources: http://connect.microsoft.com/VisualStudio/feedback/details/806246/visual-studio-2013-web-forms-conver-to-web-applications
Open your .sln file i.e. solution file
change the below lines
1) From ,Microsoft Visual Studio Solution File, Format Version 12.00
to, Microsoft Visual Studio Solution File, Format Version 10.00
2) From, TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
To, TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
MSDN has a walkthrough on converting manually.

Visual Studio 2013 Missing Convert To Web Application

I am managing an old web application which still has legacy code from Framework 1 (would you believe it), currently on Framework 4.0.
As and when I need to fix or upgrade a web page, I convert it to a web application web page by clicking "Convert to Web Application".
VS 2013 doesn't appear to have the same menu item. Am I missing something?
It's been moved to the 'Project' menu towards the bottom after selecting the project or folder:
Sources: http://connect.microsoft.com/VisualStudio/feedback/details/806246/visual-studio-2013-web-forms-conver-to-web-applications
Open your .sln file i.e. solution file
change the below lines
1) From ,Microsoft Visual Studio Solution File, Format Version 12.00
to, Microsoft Visual Studio Solution File, Format Version 10.00
2) From, TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
To, TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
MSDN has a walkthrough on converting manually.

VS 2010 Error: ...csproj Cannot Be Opened

I'm trying to launch a project created by someone else in my local environment. I'm currently using the following products:
Visual Studio 2010 Ultimate version 10.0.40219.1 SP1 Rel
MVC 2
Windows 7 Ultimate
But when I double click on the .sln file I get the following error:
C:\Users...\Desktop\ContactManager\ContactManager\ContactManager.csproj : error : The project file 'C:\Users...\Desktop\ContactManager\ContactManager\ContactManager.csproj' cannot be opened.
The project type is not supported by this installation.
Please help me load my project. :)
Thank you,
Aaron
Turns out that I just needed to install MVC version 3. I guess the project that I was trying to open is using MVC3 and my machine only had 2 as you can see in my environment list above. I'm glad I was able to fix this BUT give me a better error message for crying out loud. Sheesh. ;)
Aaron
I've come across this before. In my case, I had installed Microsoft SQL Server and, more importantly, BIDS. Whenever I would open a project that was created in VS2008, the VS version selector would identify this as a 2008 project and BIDS would try to open it (and this error would occur). What I did as a work-around is I would right-click on the .sln file and use the "Open With" to select VS2010. If that also works for you, you can change your defaults for what opens .sln files.
Another way to test this is to open VS2010 and then use the "Open Solution" menu option to open your solution. If this method works, you know the issue is the default program that is opening your .sln files.
In my case project needs to have MVC3 so at first i checked i have MVC3 template in Visual Studio 2010 (service pack 1 installed). I downloaded MVC3 installer frowm following link:
https://www.microsoft.com/en-pk/download/details.aspx?id=4211
After installing my issue get resolved.

In visual studio 2008 all Items in toolbox are grayed out

All my controls are grayed out in the toolbox when I open a Winform Project.
I have already reinstalled VS2008 and tryed all the steps indicated here, but nothing:
http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/8db82810-bffd-4d07-8e50-029d2a26f7be/
If it can be related when reinstalling VS2008 I had problems with the installation of .net Framework 3.5, it was complaining about .NET 2.0SP1 missing.
I solved it installing .net Framework 3.5 SP1 and then VS2008.
At the moment I'm trying to install .NET Framework 2.0SP1 but it doesn't work: the set up stops and shows "set up error" that's it. I don't know if the issues are related.
Start from scratch and try again (starting with .NET 2.0)
.NET 2.0 (followed by SP1)
.NET 3.0 (don't remember if this is necessary before 3.5 or not)
.NET 3.5
Visual Studio 2008
I just had the same problem and resolved it by deleting *.tbd files in this folder:
C:\Users\<username>\AppData\Local\Microsoft\VCSExpress\<version>
open a package in the BID. Then the control flow items will show up. all other items(eg data flow tak) will be greyed out
Drag a control flow item. For eg, if you drag a data flow task, then edit it. Now the toolbox will show Data Flow destinations and transformations. This means, BID will show control flow items if the control flow tab is active. then you can drag a control flow items and edit it to add any task based on the control flow task you added

Resources