visual-studio-2012

IIS 7.5, 8.0, 8.5 HTTP Error 403.14 - Forbidden after clean windows install

江枫思渺然 提交于 2020-02-03 08:16:46
问题 I am running a Asp .Net website under IIS 7.5 - win 7, IIS 8.5 - win 8.1. I have 2 development machines witch run it normally. Steps to recreate the environment After a fresh install of Win 7 on another machine. Installed all updates Added IIS Feature with .Net extensebility Asp CGI ISAPI Extensions ISAPI Filters Registered .Net framework 4.0 with IIS(aspnet_regiis -i/aspnet_regiis -ir) Added correct application pool to website. Set the path to bin folder of the project. in web.config set:

System.Tuple defined in multiple assemblies

烂漫一生 提交于 2020-02-03 05:29:05
问题 I just installed VS 11 within Windows 8. When I got the latest of a solution built with VS 2010, then built it, I'm getting this error (in VS 11): The predefined type 'System.Tuple' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll' I haven't been able to find an answer via Google. And I don't know what the "global alias" is. Those words are too generic to find via a

Build a mex file under Visual Studio ultimate 2012

穿精又带淫゛_ 提交于 2020-02-02 11:42:52
问题 I had some code (c++) and I would like to generate the mex files. is there any tutorial which tech how to setup visual studio ultimate 2012 how to build mex files? thanks a lot 回答1: I can confirm that the same steps as described in this question work for Visual Studio 2012 (and for Visual Studio 2013 too). Starting with an empty project the following settings in the project's Property Pages are necessary and sufficient to build a working .mexw64 file: Configuration properties -> General: Set

Build a mex file under Visual Studio ultimate 2012

落爺英雄遲暮 提交于 2020-02-02 11:41:50
问题 I had some code (c++) and I would like to generate the mex files. is there any tutorial which tech how to setup visual studio ultimate 2012 how to build mex files? thanks a lot 回答1: I can confirm that the same steps as described in this question work for Visual Studio 2012 (and for Visual Studio 2013 too). Starting with an empty project the following settings in the project's Property Pages are necessary and sufficient to build a working .mexw64 file: Configuration properties -> General: Set

Use Webbrowser control to get and post data?

筅森魡賤 提交于 2020-01-31 05:27:44
问题 I have a windows form with a webbrowser control. Using this control, I need login to a website, and get and post data. The login part will remain manually because various headers and cookies and created and stored. However, is it possible to use the control to send post/get requests? 回答1: I do something like this and it works for me. string postData = "value1=" + 1 + "&value2=" + 2 + "&value3=" + 3; System.Text.Encoding encoding = System.Text.Encoding.UTF8; byte[] bytes = encoding.GetBytes

Use Webbrowser control to get and post data?

烂漫一生 提交于 2020-01-31 05:27:04
问题 I have a windows form with a webbrowser control. Using this control, I need login to a website, and get and post data. The login part will remain manually because various headers and cookies and created and stored. However, is it possible to use the control to send post/get requests? 回答1: I do something like this and it works for me. string postData = "value1=" + 1 + "&value2=" + 2 + "&value3=" + 3; System.Text.Encoding encoding = System.Text.Encoding.UTF8; byte[] bytes = encoding.GetBytes

Best .net framework version to work with Windows xp,7,8 without installing or updating it separately

核能气质少年 提交于 2020-01-30 08:10:04
问题 I am going deploy a Windows Form application developed in C# using Visual Studio 2012. I do not want the user to download or update .net framework version. So what is the best .net framework version that most of the windows versions come with pre-installed and enabled ? (Preferably Windows xp,7,8) 回答1: The most commonly installed .Net version is .Net 2, However WinXP does not have a default .Net framework installed From Wikipedia: http://en.wikipedia.org/wiki/.NET_Framework .NET Framework 1.1

Best .net framework version to work with Windows xp,7,8 without installing or updating it separately

老子叫甜甜 提交于 2020-01-30 08:09:14
问题 I am going deploy a Windows Form application developed in C# using Visual Studio 2012. I do not want the user to download or update .net framework version. So what is the best .net framework version that most of the windows versions come with pre-installed and enabled ? (Preferably Windows xp,7,8) 回答1: The most commonly installed .Net version is .Net 2, However WinXP does not have a default .Net framework installed From Wikipedia: http://en.wikipedia.org/wiki/.NET_Framework .NET Framework 1.1

Best .net framework version to work with Windows xp,7,8 without installing or updating it separately

霸气de小男生 提交于 2020-01-30 08:09:06
问题 I am going deploy a Windows Form application developed in C# using Visual Studio 2012. I do not want the user to download or update .net framework version. So what is the best .net framework version that most of the windows versions come with pre-installed and enabled ? (Preferably Windows xp,7,8) 回答1: The most commonly installed .Net version is .Net 2, However WinXP does not have a default .Net framework installed From Wikipedia: http://en.wikipedia.org/wiki/.NET_Framework .NET Framework 1.1

Conditionally changing target framework version

泪湿孤枕 提交于 2020-01-30 06:02:23
问题 I'm trying to compile an #ifdef'd codebase to two different target frameworks, namely 3.5 and 4.0. I attempted to modify the .proj files in the solution to no avail. It seems MSBuild / VS2012 isn't picking up the solution configuration change via UI. This is a fragment of one of the .proj files: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>..\Binaries\</OutputPath> <DefineConstants>TRACE