Why don't Windows SDK for Windows 7 and .NET Framework v4 get installed? - fxcop

I have a Windows 7 64-bit computer with Visual Studio 2008 and Visual Studio 2010 Professional installed (C# only).
Now I want FxCop. I read first we should install Microsoft Windows SDK for Windows 7 and .NET Framework 4, so I wanted to do so, but it gives me error and says installation failed, go find more details in some HTML page in a folder path that it does not even exist:
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
So two questions:
I do not care about the rest of the stuff. I just want FxCop! Do I really need to install this SDK too?
What do you think is the problem when its installation fails?

I had a very similar problem. You don't need to install the SDK to do it. However, you still need to download it which is unfortunate as it is a pretty large download after all. Why it isn't a separate download is beyond me...
Anyway, I extracted the install files I needed by following the information in XXX.
In brief, you need to do this (edited from the link above):
Download the ISO version instead, extract it with 7Zip and locate
Setup\WinSDKNetFxTools\cab1.cab. Open it with Windows and copy out the
file
"WinSDK_FxCopSetup.exe_all_enu_1B2F0812_3E8B_426F_95DE_4655AE4DA6C6".
Rename this to "WinSDK_FxCopSetup.exe" and it should now install.
You can also browse the ISO image with suitable tools rather than unextracting the whole thing.
Given the date of this post, you might have already found the solution, but it may help others who come acros this issue.
From the page above there is a comment linking to another explanation that is better detailed: Liberate FxCop 10.0.

Related

Visual Studio online build failure for an empty universal app

I just created a new empty universal app (windows 10) and checked it in on my visual studio online project.
The configured build is constantly failing on following error...
The imported project "C:\Program Files
(x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.CSharp.targets"
was not found. Confirm that the path in the declaration is
correct, and that the file exists on disk.
I set build configurations to use VS2015 but without any luck.
I keep thinking there's a simple configuration I'm missing here... but can it also be that it's not yet supported?
The project itself is just the standard template from Visual Studio.
I'm having a similar issue running with MSBuild 8.2 target missing under VS2013 Update 5 under Windows 10 TH1. Except my target is Microsoft.Windows.UI.Xaml.Cpp.targets. So not necessarily an issue with Visual Studio but rather the substitution for $(TargetPlatformVersion) in the targets definition:
<Import Project="$(TargetPlatformVersion)\Microsoft.Windows.UI.Xaml.Cpp.targets" />
I'm building a project from Microsoft (https://github.com/Microsoft/winsdkfb), so I don't think this is your problem (meaning you've not done anything incorrect).
I know this isn't an answer, but I suspect we're caught in a gap in the Windows 10 SDK & Tools. Those aren't scheduled to be complete and available until 29 July even though VS2015 has RTM'd. I tried to track down something in the VS2015 release notes without luck.
Just inform the solution I found on this thread.
At the time of writing, it appeared that VSTO serves were not yet updated with
the Windows 10 SDK.
The only way back then to make it run was by creating your own Build VM (through Windows Azure) and link it to your VSTO builds.
I posted the thread and got the answer on the MSDN TFS forum.
I have not tried it right now, but since Windows 10 is officially released now, I guess it may work out of the box.
We now support building Universal Windows Platform (UWP) projects on the hosted build service.

SignTool.exe Missing Visual Basic 2008

When I try to publish a project, the error shows:
Error 2. SignTool.exe Missing.
I searched on my computer for SignTool.exe, the file doesn't exist.
I installed the Windows SDK, that didnt work, the file still doesn't exist. Then I installed the .Net framework, Silverlight, then reinstalled the whole Microsoft Visual Basic.
The file still doesn't exist.
Where can i download SignTool.exe?
signtool.exe is part of the .NET SDK. You'll need to download that, which will install it into the proper location.
You should be able to find the .NET SDK with a search on MSDN. There's no point in posting a link here, because they change over time or as new versions are released. (You can also find it by searching Google for "dot net sdk", which returns many different links to the Microsoft pages.)
I had the same issue but installing the Windows SDK did not work for me (signtool.exe was still missing from my machine).
I stumbled across this solution: http://www.benedykt.net/2015/08/12/missing-signtool-exe-w-visual-studio-2015/
Basically:
Open Programs and Features
Select 'Microsoft Visual Studio [version]' and click Change
And select 'ClickOnce Publishing Tools' for installation

Where can I download the REAL MonoDevelop Windows binaries?

The monodevelop.com website just takes me to this "Xamarin Studio" thing that has severe restrictions on the usage of the free version, and pricing that's almost as bad as Visual Studio on the paid versions! Is MonoDevelop for Windows dead? All I want to do is develop a GTK# application without installing Linux!
There's used to be a version up on Sourceforge, but 9 years after I wrote this answer it seems to have disappeared. Sounds reasonable enough...
If you really need version 4 you'll have to build it yourself. If you still have/find the sources that is.
You do not have to pay to use Xamarin Studio to develop GTK# applications. There are no limitations whatsoever (except your imagination!) on what you can create with Xamarin Studio for the desktop.
You only have to pay if you want to develop applications for Android (and even for Android apps there is a free Starter edition).
Honestly, it is a real pain in the butt to build MonoDevelop from the source or even to install on some platforms.
I did a lot of research and worked out for hours but still could not manage to build MonoDevelop and at the end of the day Decided to use SharpDevelop 4.3 (http://www.icsharpcode.net/OpenSource/SD/) instead and I gotta tell everybody that SharpDevelop is easy peasy to install. There are other alternatives too like Webbo, QuickSharp and Xamarin Studio but I haven't tried all of them.
If it is that easy to build MonoDevelop they would have build by them self and put an exe or a msi file or even a zip file with all the binaries and dependencies to download.
They have a similar problem which is quite annoying when it comes to installing the latest version of MonoDevelop on Ububtu or PC BSD.
First thing, I reckon its Git's problem but every time I downloaded the MonoDevelop source from its Git repo, the zip file is smaller than the real size and always corrupted.
Anyway I tried a few times and managed to download the source.
Then I downloaded and installed all the prerequisites.
I could not even open the Solution file in Microsoft Visual C# 2010 x86 (express).
Then I decided to build using MonoDevelop 3.0.6 as it is suggested in http://monodevelop.com/Developers/Building_MonoDevelop
When I tried to install MonoDevelop 3.0.6 it keeps on saying that I need to install GTK# 2.12.9 or newer even if I have already installed GTK# 2.12.22 (the latest one).
At the end I was really frustrated and decided to use SharpDevelop 4.3 as an alternative to M$ Visual Studio and MoNo-Develop.

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.

Where to download Microsoft Visual c++ 2003 redistributable

I have an old dll that uses the Microsoft Visual C++ 2003 (7.1) run time package. Unfortunately I don't have that DLL around anymore. Short of reinstalling VS2003, is there another way to get the run time redistributable dll?
Storm's answer is not correct. No hard feelings Storm, and apologies to the OP as I'm a bit late to the party here (wish I could have helped sooner, but I didn't run into the problem until today, or this stack overflow answer until I was figuring out a solution.)
The Visual C++ 2003 runtime was not available as a seperate download because it was included with the .NET 1.1 runtime.
If you install the .NET 1.1 runtime you will get msvcr71.dll installed, and in addition added to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322.
The .NET 1.1 runtime is available here: http://www.microsoft.com/downloads/en/details.aspx?familyid=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en (23.1 MB)
If you are looking for a file that ends with a "P" such as msvcp71.dll, this indicates that your file was compiled against a C++ runtime (as opposed to a C runtime), in some situations I noticed these files were only installed when I installed the full SDK. If you need one of these files, you may need to install the full .NET 1.1 SDK as well, which is available here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b3a2ca6-3647-4070-9f41-a333c6b9181d (106.2 MB)
After installing the SDK I now have both msvcr71.dll and msvcp71.dll in my System32 folder, and the application I'm trying to run (boomerang c++ decompiler) works fine without any missing DLL errors.
Also on a side note: be VERY aware of the difference between a Hotfix Update and a Regular Update. As noted in the linked KB932298 download (linked below by Storm): "Please be aware this Hotfix has not gone through full Microsoft product regression testing nor has it been tested in combination with other Hotfixes."
Hotfixes are NOT meant for general users, but rather users who are facing a very specific problem. As described in the article only install that Hotfix if you are have having specific daylight savings time issues with the rules that changed in 2007. -- Likely this was a pre-release for customers who "just couldn't wait" for the official update (probably for some business critical application) -- for regular users Windows Update should be all you need.
Thanks, and I hope this helps others who run into this issue!
After a bit of googling, it seems that there never was a separate redistributable for Visual C++ 2003 (7.1). At least that is what a post on the microsoft forum says.
You may however be able to extract the runtime DLLs from the VC 7.1 DST timezone update.
the answer https://stackoverflow.com/a/6132093/1498669 is right.
There is also an update to both 2002 and 2003 runtimes
just do an search on microsoft download
https://www.microsoft.com/en-us/search?q=mfc70
https://www.microsoft.com/en-us/search?q=mfc71
and you find the offical updates to the products
however, the latest patches seem to be:
https://www.microsoft.com/en-us/download/details.aspx?id=3644
https://www.microsoft.com/en-us/download/details.aspx?id=22539
https://www.microsoft.com/en-us/download/details.aspx?id=6818
Another way:
using Unofficial (Full Size: 26.1 MB) VC++ All in one that contained your needed files:
http://www.wincert.net/forum/topic/9790-aio-microsoft-visual-bcfj-redistributable-x86x64/
OR (Smallest 5.10 MB) Microsoft Visual Basic/C++ Runtimes 1.1.1 RePacked Here:
http://www.wincert.net/forum/topic/9794-bonus-microsoft-visual-basicc-runtimes-111/
I think this is what you're looking for: Microsoft Visual C++ 2008 Redistributable Package (x86)