C# Web project can't use ISS express - c#

I want try to implementing this source, but it seems like my version of visual studio cant detect IIS express i installed from Microsoft.
I use visual studio 2013 and windows 7 32bit.
here is the picture.

You cannot use a 64-bit IIS Express on a 32-bit Windows 7 installation. Are you sure you have successfully installed 32-bit IIS Express?
Make sure you have downloaded iisexpress_x86_en-US.msi from the link you provided.

Related

Is it possible to install vstest.console.exe 2013 with vstudio 2019?

I'm trying to run build agents in my azure pipeline, but the code is written in VS 2013, so my tests are failing when I'm using VS 2019 installed on the server.
I'm trying to figure out if there's a way to just install the testing suite for VS 2013 without installing the whole IDE on the server.
Is there any way to do this?
The Microsoft-hosted agent pool provides 7 virtual machine images to choose from:
Visual Studio 2019 Preview on Windows Server 2019 (windows-2019)
Visual Studio 2017 on Windows Server 2016 (vs2017-win2016)
Visual Studio 2015 on Windows Server 2012R2 (vs2015-win2012r2)
Windows Server 1803 (win1803) - for running Windows containers
macOS X Mojave 10.14 (macOS-10.14)
macOS X High Sierra 10.13 (macOS-10.13)
Ubuntu 16.04 (ubuntu-16.04)
You can try it first and see if it works for your build or deployment. If not, you can use a self-hosted agent.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent
Follow the below document to create a self-hosted agent and install VS2013 on it.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops

I need to build an application for windows ce 4.1

I am using windows 7 with visual studio 2017. I have some code I want to run on windows CE 4.1. How do I build the code for this version of CE? I see there is mention of a CE build platform 4.0 but can't find a download for it?
It depends on what kind of application do you have. If has been developed with Visual Studio probably you should be able to build it in an old version. VS2008 or VS2005 should still support CE 4. For sure they support CE 5,6 and 7.
It may be that the application has been developed with Embedded Visual C++ 4.0, you may be able to still find a download in MSDN but I've no idea about how it could run on Windows 10, maybe a WinXP virtual machine would be better.
If the application was developed using platform builder and integrated in the OS image you can still find it in MSDN but, again, this is quite an old tool and will probably have issues running on a recent PC.

how to deploy IWshRuntimeLibrary?

I am using .Net 3.5 and C# 3.0, application is creating shortcuts using IWshRuntimeLibrary.
In my understanding IWshRuntimeLibrary.dll is an automatically generated wrapper for wshom.ocx
I am required to support the following Windows Script Host versions:
Windows Vista, Windows Server 2008, Windows XP SP3 - v5.7
Windows 7, Windows Server 2008 R2 - v5.8
Windows 8, Windows Server 2012 - v5.8
Windows Script Host comes with Windows by default.
This post is suggesting that I will have to deploy IWshRuntimeLibrary dll with my project.
What would be to correct way of deploying IWshRuntimeLibrary that would allow it work with both versions of Windows Script Host in all required environments?
When you add a .NET reference to your project for the wshom.ocx file, Visual Studio should generate an interop DLL that you can include in your installer. This DLL should be in your bin folder when you build the project.
If there's a Primary Interop Assembly available, then Visual Studio should detect that.
This is an older article, but still relevant on the topic: http://www32.brinkster.com/srisamp/netArticles/article_16.htm

Extending Visual Studio 2012 Express

Ok, here's my issue - rather simple, though I'm not sure how to go about it (and avoid downloading tens of unnecessary gigabytes).
I've downloaded and installed "Visual Studio 2012 Express for Windows Phone" (wpsdkv80_enu1).
I'm wondering what I should download/install in order to fully support development of Desktop apps, or plain Windows 8 applications. (apart from Windows phone, I mean).
Any ideas? (preferably with links?)
With Visual Studio Express products, there's one Visual Studio for each kind of application:
Windows Phone
Desktop
Windows 8 Store
Web
So you have to install multiple Visual Studio Express, using different versions.
For desktop: Express 2012 for Windows Desktop
See http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products#product-express-summary
You're going to have to download a new ISO (or two). Just make VERY sure you download the right ISO. There is one for Visual Studio 2012 Express for Windows 8, which allows you to develop Windows Store apps and you need a developer account and license for it. There's ALSO a Visual Studio 2012 Express for Windows Desktop, which allows you to develop applications like on Windows 7.

VS 2008 doesnot have Sql Server Express 2005 x64 in prerequisite dialog

I am trying to install a VS 2008 application on a 64 bit system. All works fine but Sql Server Express 2005 fails because in prerequisite dialog it only offer x86 version and no x64 version.
So what should I install instead of that ? Should I directly download sql server express 2005 x64 version from Microsoft website and redistribute it ?
Regards
Niraj
If there really isn't any reason why the application has to be 64-bit (memory usage or whatever), then just force a 32-bit build and be done with it. Most "normal" applications should not have any trouble running as 32-bit apps on a 64-bit OS.
In other words, set Platform Target in Project Properties/Build/ to x86 and make sure to set Configuration to All Configurations.
I realize that this doesn't really answer your question but it could solve your problem.

Categories

Resources