IIS Express probing privatePath - iis-express

The probing tag doesn't seem to work for IIS express. I tried using:
probing privatePath="subdir"
but no luck so far.

Related

Could not load file or assembly 'Microsoft.VisualStudio.VisualC.Utilities' creating/loading any C++ project in VS 2019

Trying to open/create C++ projects in VS 2019 (v16.9.6) gives me errors like this:
---------------------------
Microsoft Visual Studio
---------------------------
Could not load file or assembly 'Microsoft.VisualStudio.VisualC.Utilities, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.
---------------------------
OK
---------------------------
I still get it after updating to latest VS 2019, rebooting, cleaning up %APPDATA%\Local\Microsoft\VisualStudio, and disabling all the extensions.
Actually I don't even get that much detail trying to create a simple empty or console C++ app, I get a messagebox with "Exception has been thrown by the target of an invocation".
Google gives me 0 hits for that exact Microsoft.VisualStudio.VisualC.Utilities error, some similar ones suggest it might be a problem with Lightweight solution load mode, but I think that's only an option in 2017?
Any help much appreciated!
Solved it by using the "Repair" function in the Visual Studio Installer.

Visual Studio 2015 - WP8 Application could not be launched for debugging

I've been developing an app for Windows Phone 8 in Visual Studio 2013 without any problems. I installed Visual Studio 2015 Community and I now can't Debug the application.
The application is deployed to the phone but then I get the following error "The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
The device screen is unlocked and the application is successfully installed but then it is not started in order to begin debugging. I've looked everywhere but can't seem to find an solution. This problem never happened neither in VS2012 nor VS2013. I still have VS2013 installed and it successfully debugs the app.
CTRL-F5 (Start without debugging works fine but I can't debug.)
And I've already made sure that in Configuration Manager the project is set to deploy.
Also, I've tried cleaning, rebuilding the solution, restarting VS2015, rebooting the pc, rebooting the phone and nothing worked.
[Edited]
If I create a WP8.1 app, the same happens with the new solution/project. If I create a W10 App, the Windows Phone Emulator works but when I try to deploy/run to local machine, it gives an error of "The system cannot find the specified file".
On top of that, when I start VS2015, I get an error and this is what I found in the ActivityLog.xml:
<record>10408</record>
<time>2015/09/01 13:41:43.306</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.IntelliTrace.Package.Common.14.0.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.
File name: &apos;Microsoft.IntelliTrace.Package.Common.14.0.0, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;
at Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTagger..ctor(IServiceProvider serviceProvider, ITextBuffer buffer, IVsEditorAdaptersFactoryService adapterFactory)
at Microsoft.VisualStudio.IntelliTrace.SourceControl.HistoricalModeHint.HistoricalModeTaggerProvider.CreateTagger[T](ITextBuffer buffer)
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
I tried repairing the VS2015 installation but the problem persists after repair.

Visual Studio 11 Beta / IIS 7.5: Microsoft.ReportViewer.Common V11 not found

I work with Visual Studio 11 Beta (MVC3 + .Net 4.0). I deployed the project to the IIS 7.5 (MS 2008 Server), when I generate a report, I've got the following error:
System.IO.FileNotFoundException: Die Datei oder Assembly "Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" or one of its dependencies was not found. The system cannot find the file specified.
On my local developer machine I can't find the "Microsoft.ReportViewer.Common.dll" Version 11.0.0.0 only 10, but local it works fine! :(
I had the same problem and I followed these steps!
Hope this helps.
To summarize the link, go to the GAC from the command line and find your problem DLLs:
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\Pick_A_Framework_Version\Microsoft.ReportViewer.Common.dll
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\Pick_A_Framework_Version\Microsoft.ReportViewer.ProcessingObjectModel.dll
and possibly:
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\Pick_A_Framework_Version\Microsoft.ReportViewer.WebForms.dll
C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\Pick_A_Framework_Version\Microsoft.ReportViewer.WinForms.dll
Copy those dlls to your bin folder, and you should be all set.
curlackhacker's suggestion got me past the error, but then exceptions occured with internalRender. I suggest using my answer as a last resort because I can't explain exactly why it works, but this is the only thing that worked for me:
Install report builder on the server.
Note: this solved the same problem in .net 4.0 IIS 7 and the project was a webservice, so as I said, try curlackhackers solution first.. Good luck readers.

Integrating IronScheme into Visual Studio 2010

Is there a way (or can anyone find a way) to import IronScheme into VS2010? I've already taken a look at this question, and I've done everything I could - I even edited the binary files involved to change the version numbers. My question: Does anyone have a solution for getting IronScheme installed into VisualStudio 2010? at present, following the directions to install it into VS2008 does not work for VS2010. Thanks in advance :)
Update 1: I suppose I should post the error I get when I try to follow the directions for installing it via commandline:
C:\Program Files\IronScheme>RegPkg.exe /codebase "C:\Program Files\IronScheme\IronScheme.VisualStudio.dll"
After I run that, I get a Windows 7 popup error:
RegPkg.exe Has Stopped Working - Windows is checking for a solution to
the problem...
When I click out of that, it gives me this error on the console:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'
at Microsoft.VisualStudio.Tools.RegPkg.Main(String[] arguments)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
I wrote the VS2008 plugin.
When VS2010, the whole API changed again, and if you have ever been in the VS SDK API, you will know it is a maze. I just did not feel like the effort again.
I have a bunch of great ideas but for the life of me I cannot even figure the simple stuff out.
If someone want to actually port my code from VS2008, I would appreciate it. It should not be too hard if you are a bit more familiar with the API than I am.
The source code for the VS2008 plugin is not currently available for the public. Please let me know if anyone is serious about so I can create a github (or similar) repo for it.
Update:
Created a github repo. The code is not the same as the existing DLL I distribute; it contains various half working ideas I was trying.
Update 2:
Here you go :) Very basic, but works on VS2010 and VS11 (should work on Express versions too). Source is in the vs11 branch of above mentioned github repo. It is just a subset of what the VS2008 plugin does as some features seem to be broken or have broken due to bit rot.
Update 3:
Seems the VS2010 plugin fails if only VS2010 is installed. Will have to investigate. Works fine if both VS2010 and VS11 is installed. FIXED :)
I have started rewriting a new plugin.
You can see the github repo for more details:
https://github.com/leppie/IronScheme.VisualStudio2
There is also a download available to try out :)

designer crash visual studio 2010 for windows phone 7

I'm having all kinds of problems getting Visual Studio 2010 to work with the Windows Phone 7 templates. All I have is a default portrait view added to the project, and the designer gives me the following error:
System.IO.FileNotFoundException
Could not load file or assembly 'Microsoft.Phone, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24eec0d8c86cda1e' or one of its dependencies. The system cannot find the file specified.
followed by a bunch of crap that doesn't seem too helpful. If I rebuild the project and refresh the designer, it momentarily appears correctly (less than a second), and then Visual Studio crashes and tries to restart.
Anyone have any idea why this might be happening?
Well, sounds like the install didn't go well. Verify that this reference assembly is located where it is supposed to be, the default install location is c:\program files\reference assemblies\microsoft\framework\silverlight\v4.0\profile\windowsphone. Randomly retrying to reinstall might pay off but do check your machine health first, this doesn't go wrong very often. Ask questions about that at superuser.com

Resources