DotNetNuke - Upgraded 7 to 8 - Can't compile modules now - VS 2010 - module

I just upgraded my DotNetNuke site from 7.4.2.216 to 8.0.1.236. The install seemed to go fine but now when I try to compile any of my modules VS 2010 throws an error saying "The type or namespace name 'DotNetNuke' could not be found". I removed the reference from the project and re-added it (from the '\BIN' folder), tried to Rebuild but get same error.
Immediately prior to the upgrade my modules compiled fine, there have been no changes made to them other than me trying to re-reference the DotNetNuke.dll file.
I found another thread having a similar issue but in VS 2013 and with no resolution.
Dotnetnuke 8 module development error in visual studio 2013
I've searched and searched and haven't found anyone else experiencing this and no info on something similar that might help.
Any ideas?

You will need to upgrade your projects to .NET 4.5.1, at minimum, they likely are set at .net 4.0

Related

Web Setup Project on Visual Studio 2022 - Unable to open project error

Good evening,
I have created a Web Form using Visual Studio 2022, and I have created a Web Setup project to help our customers to install the site on their server. I used the official extension that allows to create Setup projects in VS2022 (Microsoft Visual Studio Installer Projects); everything worked fine until some days ago, when VS2022 started to show the following error when trying to load the installer project:
"Unable to open project .../Setup.vdproj".
This is the error I am getting when I try to open/create a Web Setup project
I tried to open it also with VS2019, which I still had installed on my computer, but I got the same error.
At the beginning I thought it was an issue related to the project (maybe for some reasons some files had been corrrupted), so I tried to create a new Web Setup project, both on VS2022 and VS2019. Again, the same error appeared, on both versions of VS. At this point I tried to load the already existing project on another computer, and on the other computer everything worked perfectly, the project was loaded immediatly and no issues have been detected.
I tried to unistall and re-install the Microsoft Visual Studio Installer Projects extension, it didn't solve the problem; I tried to repair VS2022, it didn't solve the problem; I tried to completely uninstall VS2022 and VS2019 and re-install only VS2022, and guess what? It didn't solve the problem.
Does anyone know how to fix this problem, and what is the reason why I am unable to neither load nor create Web Setup projects?
Thank you,
Giacomo

Can't open project in Visual Studio 2013 Express - Framework issue

So I have a program I've been making in VB for my company through Visual Studio 2013 Express for Desktop and have not worked on it in a couple of months. When I try to open it, I get the following error:
"The VB project "WindowsApplication1" is targeting ".NETFramework,Version=4.5" which is not installed on this machine."
http://imageshack.com/a/img661/6001/DGAfuk.png
I have all of the .NET frameworks installed including all developer and service packs (even language packs). I uninstalled all .NET frameworks and re-installed each of them without any resolution.
I tried to re-install Visual Studio and even tried changing the Framework (one of the options I have) but I cannot view any code or open designer view if I do so. (http://imageshack.com/a/img633/2109/OJaXbr.png)
The strange thing is this computer is the same one I have been developing this application on for months, so I'm not sure what happened over the last 60 days since I launched it.
Does anyone have any clues as to how I can resolve this issue?
Thanks in advance,
Matt
The path to your project must be Les then 256 Character.
That can be the reason of it.
Make sure the path is short "Copy the project to your c drive "C:\ProjectFolder" and try again".

msbuild this application couldn't be started

i've got computer with Windows 8 and fresh installation of Visual Studio 13 Express.
I'm working on project which runs on .NET 4.0 Client profile.
Problem is when i try to complile, this error message is shown:
Solutions:
social.msdn : This one says:
try to restart your VS and rebuild - not working
check MSbuild from promt - not working (Message is shown twice)
I also checked project configuration vsproj and tried to make sample project
Reinstall framework:
i tried ot reinstall almost everything, framework, sdk.
when i've installed .NET Framerork v4.5.2 my VS was unnable to start and anoter .NET apps complied before had missing library
I haven't tried to reinstall VS, yet. (But i dont think if it helps)
Edit: Temporary solution shoud be Visual Studio Express 2012, but it not solves problem.
Reinstalaion of VS didn't help.

Visual studio 2013, can't open or create projects

I tried getting Visual Studio 2013 to work today but i couldn't get it to work. This is the error I keep getting when making a c++ window application.
The error message I keep getting:
I tried opening the vcxproj file in the message box, but I couldn't open that either. In fact I am unable to open any vcxproject's. This problem happens with pretty much all languages.
I uninstalled vs 2012 and 2010, and then installed vs2013.
I have tried :
reinstalling the nuget extension.
Reinstalling vs2013 a bunch of time and trying to repair the
installation
Uninstalling all traces of vs2010 and vs2012
one thing that might be important is that I used the november CTP c++ preview compiler for vs2012. I can't seem to uninstall it though
but nothing helped so far. Anybody able to help me?
I decided to bite the bullet and re-install windows 7. Everything works again. In the future I will probably avoid downloading CTP's though or be very careful about uninstalling them.
This happened to me when I installed .NET framework 3.5 manually to install "SQL Server Management Studio" as I recall, Then I found that v. 3.5 is incompatible with VS 2013 as this page mentioned:
VS 2013 Comparability
after I turned the related feature off, The problem with creating c++ projects disappeared ..

Silverlight version mismatch

I just found out that LightSwitch 2011 is out. I tried to install it and found out that Visual Studio 2010 Ultimate Service Pack 1 is a pre-requisite. I installed the Service Pack and then it allowed me to install LightSwitch 2011. All well and good.
Now when I start a new LightSwitch project, it gives me an error that "Unable to find a version of silverlight development runtime installed. Please install the silverlight development runtime." and then there's the link. I click on the link, install whatever is required and the installation fails.
After trying a couple of options I got the response from MSDN Forums that I should uninstall everything and re-install. Tried that. Same error again.
Another response on msdn forums says that my silverlight runtime and developer package must match. I check and find out that they are different versions
Developer Package: 4.0.60129.0
Microsoft Silverlight: 4.0.51204.0
That's what's causing the problem. How can I upgrade both to the latest version and make them match?
I know this is an old post but I had exactly the same problems (12 months later!). What fixed it for me was quite simple.
Instead of following the error prompt to download the latest version of Lightswitch go directly to http://www.silverlight.net/downloads and install Silverlight 5 Developer Runtime for Windows (either 64 or 32 bit).
Hope this helps!
I deleted all entries of "silverlight" from the registry manually. It was a long and painful process. It still didn't work.
I had to reinstall Windows.
It finally works now. I was able to install the latest version of silverlight and work on LightSwitch 2011 finally.