Silverlight toolkit breaks silverlight 5 application - silverlight-5.0

I am upgrading a Silverlight 4 application to Silverlight 5. I ran the application after changing the Target Silverlight Version to Silverlight 5 (Visual Studio 2010) and received the following error before the application loaded:
Unhandled Error in Silverlight Application
Code: 2110
Category: InitializeError
Message: AG_E_UNKNOWN_ERROR
I was unable to track down the issue using the visual studio debugger so I thought it might be an issue with the references. I noticed most of the core libraries were now pointing to the Silverlight/v5.0 directories in the Microsoft/Framework directories but the Toolkit libraries were not upgraded. I downloaded the May 2012 release of the toolkit and manually upgraded all those libraries but still received the error. So I created a new Silverlight 5 project and began adding the libraries incrementally. That application then threw that error when I added references to the Silverlight Toolkit. How can I solve this problem?

In the middle of writing my question I decided to try nuget to install the toolkit and the error has now been resolved. I am leaving the question because I spent a few hours working on it and there is not much information regarding error code 2110 for Silverlight. I did notice that nuget installs version 4.0.5.0 of the toolkit libraries and the May 2012 toolkit shows version 5.0.5.0 so that may be the issue.

Related

I am not able to create a unreal engine 4 c++ project

whenever i create a unreal engine 4 c++ project it throw this error
Running E:/program_files/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Game Development/MyProject2/MyProject2.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing. Install a version of .NET Framework SDK at 4.6.0 or higher.
I have installed ue4 4.24 version and visual studio 2019 and game development with c++ is also selected during the installination of visual studio 2019 . i downloaded .NET framework from microsoft website but when i install it says Your installination will not occur see below for reason why .NET Framework 4.8 or a later update is already installed on this computer. So what can i do Please Help Me !
Thanks in Advance
I had the same problem, when I tried downloaded .NET framework from microsoft website it said Your installation is not possible because .NET Framework 4.8 or a later update is already installed.
This fix worked:
https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1697074-can-t-package-my-project-netfxsdk
"crioto: Hello! As mentioned in the output, you need to install/update .NET Framework. You can do this by running Microsoft Visual Studio Installer, then click on "Modify" next to installed version of Visual Studio, switch tab to Individual Components and check latest version of .NET SDK.*"
Modifying the VS Installer solved the Issue

NServiceBus.Host.exe is missing while installing NServiceBus.Host on aspnetcore 2 in visual studio 2017

I am trying to run NServiceBus with AspNetCore2 on visual studio 2017. While I install NServiceBus(Version 7.0.0-beta0001) and NServiceBus.Host(Version 8.0.0-beta0001) through nuget, it says package installed successfully.
However, when i try to check installed dll's and exe files of NServiceBus within bin/debug folder, it's not there.
Quick observations i made are, NServiceBus (version 7.0...) is installed correctly whereas NServiceBus.Host (version 8.0....) is showing a warning message under nuget folder in visual studio:
Package 'NServiceBus.Host 8.0.0-beta0001' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
Please help me to resolve this issue or point me to correct question if it's already been answered (which i could not find in SO)
NServiceBus.Host is being phased out for the reasons specified here. Long story short, in .NET Core it does not add much of a value and has more cons.
You can however, still run the NServiceBus process in a console app. Have a look at the self-hosting sample here.

"LNK1104 Cannot open file 'kernel32.lib' " when Windows SDK version is set to 15063.13

I'm doing C++ in Visual Studio 2017, and just recently updated Windows 10 from Anniversary Update to Creator's Update.
I found out by accident that when I'm compiling a DLL project, I would get the error message:
LNK1104 - cannot open file 'kernel32.lib'
After twiddling a bit in the Project Properties, I noticed if the Windows SDK version is set from 10.0.14393.0 to 10.0.15063.0, the error message appears. If I set it back to 10.0.14393.0, I can compile just fine.
I would like to know why when the Windows SDK version is set to the Creator's Update build version, it's throwing this error message, yet it doesn't if set back to the Anniversary Update's build version?
Thanks.
https://developercommunity.visualstudio.com/content/problem/41913/link-fatal-error-lnk1104-in-empty-c-project.html
The Windows 10 Creators Update SDK made some significant changes to
what is installed as part of the installation to minimize on-disk
footprint. This is a Known Issue that results from that refactoring
work where the "desktop" components of the Creators Update SDK do not
get installed by default. The previous new project logic always
selected the latest Windows 10 SDK, assuming the desktop portions were
installed as part of that installation scenario. We are working on a
fix for a future update.
The workarounds available are as follows:
Select a version of the Windows 10 SDK that's fully installed on the system (i.e. 10.0.14393.0 or earlier) in the Project Properties
Install the 'Windows 10 SDK (10.0.15063.0) for Desktop' component via the Visual Studio Installer. win10sdk-15063desktop.png
Daniel Griffing,
Visual C++ Libraries
I have the same problem, honestly, looks like a bug in VS 2017. Just switch to 10.0.10586.0.

Deploy a C program compiled in VS2010

I have a compiled an older C++ program that runs fine in debug mode in VS2010 converted to VC++ 6 but I have no idea how to package or deploy the application.
VS2010 may not have anything to do with deploying the program at all but I thought I should mention it.
The "release" folder not only contains the executable but some "obj", "tlog", "vc100.pdb", "exe.intermediate.manifest" and "lastbuildstate".
This application is being installed on Windows Mobile OS (hopefully). It isn't as simple as copying the executable to the device is it?
Do I need to create a cab file or msi and, if so, how?
I am absolutely new at this being spoiled in C# and MVC for far too long!
Visual Studio 2010 does not have any of the Smart Device compilers (managed or native) required to even build for Windows Mobile (not Windows Phone). You must use Visual Studio 2008 to build, deploy and/or debug.
EDIT
FWIW, Studio 2012 will have support for Smart Devices (Studio 2010 still won't get support) in Q1 of next year. Backward-compatibility has yet to be announced, but it's always possible that you'll be able to develop for WinMo devices using the ARM compiler. There's a video here detailng some of the features.
Have you done a search on google yet? While I don't know anything about deploying to a windows phone, a quick google search found a few hits.
I searched for 'deploy windows phone app' and found a few things. Among which are:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg588378(v=vs.92).aspx
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff928362(v=vs.92).aspx
Last of all, it looks like this has been asked before on this website. For instance:
Can you install you own apps on your windows 7 phone

Link Error With Visual Studio 2005 Using Windows SDK 7.1

I am in the process of evaluating an upgrade to Windows SDK 7.1
Part of my team's legacy codebase is a large number of ATL web services, which are still maintained using Visual Studio 2005 because (I am told) ATL web services are not supported in versions beyond 2005.
When I pointed the IDE to SDK 7.1, I began to receive the following link error:
uuid.lib(cguid_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module
I haven't been able to find much on the web related to this problem in VS2005 and SDK 7.1.
I found some forum posts from back in 2005 about the same error -- they seemed to indicate an SDK incompatibility.
Based on the download page, I was under the impression that Windows SDK 7.1 could be used with Visual Studio 2005 (although I do note the "Not all features work with all versions of Visual Studio" disclaimer).
Is this a known issue, or have I got something configured incorrectly?
I was hoping someone could share their experience or suggest how/if I might be able to resolve this.
EDIT:
I discovered that this problem is circumvented by disabling /DEBUG on the linker command line. While allowing the build to complete, this is suboptimal as it precludes debugging during future maintenance.
The hotfix listed here appears to address the link error. Not sure how I missed it before.
Including here in case anyone ever searches for it using similar language.