SilverLight project missing in solutiuon explorer - silverlight

I had project in VS2008 with Silverlight 3.0 but when i installed 4.0 and uninstalled 3.0 its not working "Its not loading the project in solution explorer " [I hav installed both SDK and Tool Kit]

I wouldn't recommend uninstall Silverlight 3.0 SDK. In fact installing VS2010 will install Silverlight 3 and its SDK.
My guess is you've upgraded the solution and project files but its still a a Silverlight 3 project, VS2010 is quite happy to support the development of Silverlight 3. With the Silverlight 3 SDK being missing it can't find any of the references it needs.
With the Silveright 4.0 tools installed, go to the Silverlight project's properties Silverlight page and set Target Silverlight Version to "Silverlight 4".

Related

How to bundle windows visual studio VSIX with other built application?

I found that the windows visual studio extension is targeted to .net framework and only .net framework (which seems not clearly described in the docs?), after switching our custom mono debugger extension to .net 7.0, with framework not compatible (between vsix project's .net framework 4.8 and debugger project's .net 7.0) error when building the vsix project.
If I switch the debugger project target back to .net framework 4.8 then I can build the extension along with the debugger and create a vsix bundle them togeter successfully.
I tried the previewing visual studio extensibility tools: the out-of-process solution, but the out-of-process way seems not have access to the dte object, thus no way to send the debug adapter launch command. If I use the in-process solution, then we head back to the .net framework target :(
The mono debugger extension is a "3rd party executable file" that launched by visual studio debug adapter. If I manually paste the .net 7.0 version mono debugger to the extension install location, the extension can still work with the debugger. I manage the debugger project and the vsix project within a solution is for easier project management only, in fact they are not referenced directly in code.
I switched our mono debugger project to .net 7.0 is for trying to upgrade our toolset to the newest unified framework (every other tool in our team are upgraded to .net 7.0).
TL;DR, how can we bundle a none .net framework targeted project along with a windows visual studio extension, which is targeted to .net framework only? Or how can we integrate/bundle/add built exe,dlls into the vsix container?
There are some solutions from other stackoverflow answers such as add dlls using vsixmanifest, but it can only add dll file, and the way it handle asset file seems not quite right, it just copy the dll to vsix project folder once, meaning it won't get updated when the dll's project rebuild.
Here I managed to bundle the files in a wonky way:
I create a publish folder under vsix project folder,
then copy the published debugger project file to it, add them as existing file to vsix project, and configure them as vsix content, copy to vsix,
then add a pre-build event for the vsix project, publishing our debugger project and output to this publish folder.
With process above, I can package the published file into vsix when trigger vsix project build.
For anyone have similar issue, you can have a try.

Quickstart sample code - NuGet dependencies are broken

I am new to IndentityServer and am trying to following the document to setup the Quickstart VS.Net solution on my Windows 10 desktop. After following instructions downloading and installing source code and opening up the solution in VS.Net 2017, I noticed that both NuGet dependencies - IdentityServer4 (4.0.0) and Serilog.AspNetCore (3.2.0) - are broken. Compiling the solution returns with an error: "NETSDK1045 The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1.". I also tried installing NuGet packages for those 2 components but it made no difference.
Could someone show me what I am missing here?
Thanks in advance!
IdentityServer4 v4.00 requires.NET Core 3.1, and because of that you need to use the latest Visual Studio 2019 and install the latest 3.1 SDKs.

.iso for installing latest version of SilverLight?

is there any .iso file available for installing silverlight [for developing silverlight Application not for running application]?
so i can install it when i am offline also.
i have just downloaded .iso file of VS2010Express but it doesn't comes with SilverLight?
Please help.
Are you looking for this installer? http://www.microsoft.com/download/en/details.aspx?id=18149
After the installation you will get new project types for silverlight

Silverlight 4 buggy at least on Internet Explorer 9?

I have downloaded this twitter source code
http://www.silverlightshow.net/items/Silvester-A-Silverlight-Twitter-Widget.aspx
After opening in VS 2010 and setting the web project as startup I run it in IE 9 but then IE 9 asks me to install silverlight I said OK at the end it says it cannot install because it's already installed so in the end I cannot run the app.
Is this clearly a bug ? Is it possible to fix this as this app was developer maybe in older version of silverlight ?
Try downloading the very latest (Feb 2011) developer runtime for Silverlight 4 which is found here.
http://ie.microsoft.com/testdrive/Browser/ActiveXFiltering/About.html

silverlight in vs2008

when i start application in vs2008 it was showing following error
Requested registry access not allowed
This was an issue in the beta version of VS2008. Are you running a beta version?

Resources